kernia-cli
Command-line tools for Kernia: scaffold a project, generate and apply database migrations, and manage secrets.
Part of Kernia, a framework-agnostic authentication library for Python.
Installation
pip install kernia-cli
Usage
kernia init --adapter sqlite --framework fastapi # writes auth.py + .env.example
kernia secret # generate a KERNIA_SECRET
kernia generate # emit a database migration
kernia migrate # apply it
kernia info # print resolved config
Run kernia --help for the full command tree.
Documentation
Full documentation at kernia.dev/docs. Source at github.com/advantch/kernia.
License
MIT
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
kernia_cli-0.1.0.tar.gz
(10.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file kernia_cli-0.1.0.tar.gz.
File metadata
- Download URL: kernia_cli-0.1.0.tar.gz
- Upload date:
- Size: 10.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fdda53be7aa8908e714198692e20736857ec746e3076466d24aaabd5ba3779aa
|
|
| MD5 |
858a8ca1f6aa13d3aab895371419feb4
|
|
| BLAKE2b-256 |
f66061cd6b2ee44df097e6c8adb20a7b7fff0ce509c864b044abba0af51dff43
|
File details
Details for the file kernia_cli-0.1.0-py3-none-any.whl.
File metadata
- Download URL: kernia_cli-0.1.0-py3-none-any.whl
- Upload date:
- Size: 12.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
abf093fe19aa9d7ea205330faecb9ad5ed2d2c754990a95c11cb6ec67559fa9b
|
|
| MD5 |
ffcf692253310044afded6d5bf96fa1b
|
|
| BLAKE2b-256 |
48f54cd775d81aa20972551298fe205026b702d9e8ecc9523d525d493ad8c1c4
|