Reference

Resources

Useful packages, examples, and test utilities in the Kernia repository.

Use this page as a map to the local Kernia docs. It intentionally points to Kernia packages and examples rather than external tutorials.

Core packages

PackagePurpose
kerniaFramework-agnostic auth core.
kernia-clikernia command line interface.
kernia-fastapiFastAPI route mounting and session dependencies.
kernia-starletteStarlette/ASGI route mounting.
kernia-djangoDjango integration.

Adapters and storage

PackagePurpose
kernia-sqlalchemyRelational databases through SQLAlchemy.
kernia-mongoMongoDB adapter.
kernia-memory-adapterIn-memory tests and examples.
kernia-redis-storageSecondary storage for sessions, rate limits, and ephemeral data.

Plugin packages

PackageDocs
kernia-api-keyAPI key
kernia-passkeyPasskey
kernia-ssoSSO
kernia-scimSCIM
kernia-stripeStripe
kernia-oauth-providerOAuth provider
kernia-test-utilsTest utils

Examples

Start with the FastAPI SaaS demo, then use the frontend page that matches your app:

Operational references

  • GitHub repository: https://github.com/advantch/kernia
  • Issue reports should include package version, adapter, framework, plugin list, route, expected behavior, actual behavior, and a minimal reproduction.