kilo (0.1.1)
Published 2026-09-03 18:17:48 +00:00 by kaisa
Installation
pip install --index-url kiloAbout this package
The house Django framework: envelope API idiom, settings defaults, auth (local + 2FA + passkeys + OIDC SSO), and SPA serving.
kilo (Django)
The house Django framework package. Provides:
kilo.core— the{success, data}/{success, message, errors}envelope (ok()/err()),TimestampedModel, and theauthenticated_required/operator_requireddecorators.kilo.conf—install()writes the shared settings blocks into a project'ssettings.py;env_bool/env_int/env_listhelpers.kilo.accounts— email-keyedUser(AppConfig labelaccounts), the two-step login protocol, TOTP/e-mail second factors, passkeys, step-up re-auth, generic OIDC SSO with pre-linked or auto-provision policy, all behindKILO_AUTHfeature flags.kilo.front— SPA serving:spa_index, flat/api/me/, auth-checked media, the catch-all URL helper, and the packaged HTML shells (index.html,login.html,login_sso.html,forgot_password.html; projects override by shadowing the template name).
See the kilo repo's CONVENTIONS.md and docs/ for the full contract.
Tests
pytest --ds=tests.settings_local
pytest --ds=tests.settings_sso
Requirements
Requires Python: >=3.12
Details
2026-09-03 18:17:48 +00:00
Assets (2)
Versions (15)
View all
PyPI
20
87 KiB
kilo-0.1.1-py3-none-any.whl
45 KiB
kilo-0.1.1.tar.gz
42 KiB