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
| Package | Purpose |
|---|---|
kernia | Framework-agnostic auth core. |
kernia-cli | kernia command line interface. |
kernia-fastapi | FastAPI route mounting and session dependencies. |
kernia-starlette | Starlette/ASGI route mounting. |
kernia-django | Django integration. |
Adapters and storage
| Package | Purpose |
|---|---|
kernia-sqlalchemy | Relational databases through SQLAlchemy. |
kernia-mongo | MongoDB adapter. |
kernia-memory-adapter | In-memory tests and examples. |
kernia-redis-storage | Secondary storage for sessions, rate limits, and ephemeral data. |
Plugin packages
| Package | Docs |
|---|---|
kernia-api-key | API key |
kernia-passkey | Passkey |
kernia-sso | SSO |
kernia-scim | SCIM |
kernia-stripe | Stripe |
kernia-oauth-provider | OAuth provider |
kernia-test-utils | Test utils |
Examples
Start with the FastAPI SaaS demo, then use the frontend page that matches your app:
Operational references
Repository links
- 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.