kilo (0.1.4)

Published 2026-09-08 03:05:44 +00:00 by kaisa

Installation

pip install --index-url  kilo

About 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 the authenticated_required / operator_required decorators.
  • kilo.conf — install() writes the shared settings blocks into a project's settings.py; env_bool/env_int/env_list helpers.
  • kilo.accounts — email-keyed User (AppConfig label accounts), 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 behind KILO_AUTH feature 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
PyPI
2026-09-08 03:05:44 +00:00
49
87 KiB
Assets (2)
Versions (15) View all
0.2.3 2026-10-29
0.2.2 2026-10-29
0.2.1 2026-10-26
0.2.0 2026-10-20
0.1.11 2026-10-15