keepup
Project page · Package · Install · Changes
An admin framework over FastAPI. You give it settings; it gives you an application with a panel, a plugin runtime, users, a database layer, an audit, metrics and coordination between replicas already wired.
from keepup import KeepupSettings, create_app
app = create_app(KeepupSettings(title="Your product", project_name="yours"))
That is a running application with a working panel at /selfcare once the
capabilities are installed: the shell, the themes and eight administrative
sections ship with them, so there is nothing to copy into your tree to see them.
Installed as keepup-admin; imported as keepup. The name keepup on PyPI
belongs to an unrelated project from 2015 that installs a script and no module,
so the import name is free.
Install
Python 3.11 or newer. PostgreSQL in production; SQLite works and is meant for development.
pip install "keepup-admin[panel,postgres]"
That is the base plus the capabilities the panel profile enables and the PostgreSQL driver. The base alone is the constructor:
pip install keepup-admin
— the kernel, the catalogue, the service registry, the lifecycle and the
transport seam, carrying no capability of its own. Each capability is an extra:
db, auth, users, ui, audit, metrics, tasks, modules, cluster,
log_shipping, http, integration_log, and one driver, postgres or
sqlite — one, because two drivers of one required service stop the start on
purpose.
INSTALL.md has the long form: every extra and what it brings, installing from
the repository, the build and the release.
What it gives you
| Application assembly | create_app(settings) — FastAPI, middleware, lifespan, static mounts |
| Plugin runtime | features as plugins; routes are data, not decorators |
| Panel | the shell, visual themes, and the catalogue of sections with role grants |
| Users | local accounts, roles, panel sessions, sign-in through an external provider |
| Database | a SQLAlchemy layer with a pool, table declarations for two dialects |
| Replicas | distributed locks, a message bus, a cluster registry, performance settings in one place |
| Observability | audit of incoming requests, an event log, metrics, log shipping |
What it does not decide for you
The framework carries no product. Anything it cannot know arrives through
KeepupSettings: your name and version, where your logs are shipped, which
fields of a request are secret, what a password must look like, which tables
belong to you, which origins may read your answers.
Where a default would have to guess, it closes rather than opens. Metrics are not served without credentials, no origin is allowed cross-origin, the audit keeps field names and not values, and there is no collector address, no signing key and no password anywhere in the source. An application says what it needs open; the package does not decide that on its behalf.
What is public
A module that an application may import from declares __all__. Everything
else is internal and may change without notice — including any name starting
with an underscore, whatever module it sits in.
keepup/tests/public_interface_tests.py holds this to the applications in the
repository: a name taken out of the framework and not declared public fails the
run, and the failure says what to do about it.
Build
A release is one distribution per capability, and build.yml checks on every
change that they are publishable rather than discovering it at a tag:
python -m pip install --upgrade build twine
python -m build # the base, keepup-admin
for package in packages/*; do # each capability
python -m build --outdir dist "$package"
done
python -m twine check --strict dist/*
The same job then installs the built wheels into an empty virtual environment
and imports the framework there: a version on PyPI cannot be replaced, and a
wheel that installs and does not import is the one failure a metadata check
cannot see. The tag is the release's number and the job refuses one the metadata
disagrees with; see .github/workflows/release.yml and INSTALL.md.
Tests
pip install -e ".[test]" -e packages/keepup-*
python -m pytest tests/ -q --cov --cov-config=pyproject.toml
Install first, then test. Pointing pytest at the checkout does not work on
its own: import keepup has to resolve, and the directory a clone lands in is
called keepup-admin, so nothing is named keepup until the package is
installed. The capabilities are distributions of their own in packages/ —
each carries the libraries it needs, and the suite imports them — so a clone
installs them from the tree; the extras name the same ones for an installation
from the index.
The suite runs against SQLite with no network, needs no application beside the
package, and holds a coverage floor declared in pyproject.toml. Checks that
genuinely need a consumer of the framework find one by trait and skip with a
reason when there is none, so a skip here always says what is missing. A test is
named *_tests.py and run by path — python -m pytest tests/runtime_tests.py -v.
Every one of these runs on push and on a pull request, on Python 3.11, 3.12 and
3.13; see .github/workflows/. security.yml also runs weekly, because that
check goes red without anybody touching the repository — an advisory gets
published against a version that was fine yesterday. INSTALL.md carries the
heavier checks: the wheel installed into a throwaway environment, and the
security audit.
Licence
Apache 2.0. See LICENSE, and NOTICE for the attribution that clause 4(d)
asks to travel with a derivative.
The panel's front end also ships five third-party bundles -- Tailwind, Feather,
AOS, Chart.js and its date adapter. All five are MIT and stay under their own
terms; minification stripped their headers, so their notices live in
THIRD-PARTY.md.
Metadata
Release files for keepup-admin 0.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| keepup_admin-0.5.0.tar.gz | 92.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| keepup_admin-0.5.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 199.7 kB
Release files / keepup_admin-0.5.0.tar.gz
| Download URL | keepup_admin-0.5.0.tar.gz |
|---|---|
| Size | 92.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
230a87585c3bc82018297d4863a3daf15a9227886ae67fe3799308567e009439
|
|
BLAKE2b-256 checksum How to use checksums |
c9af1bd2422c86e68370d54f69264400db00838c9ca5033aafa4a9d9355dc02d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 15, 2026.
Transparency logRelease files / keepup_admin-0.5.0-py3-none-any.whl
| Download URL | keepup_admin-0.5.0-py3-none-any.whl |
|---|---|
| Size | 107.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
231e4574b9bcd8b00b1d73ebff9b1b9cf34053dececcc3c2572f43f38ef57318
|
|
BLAKE2b-256 checksum How to use checksums |
3e7c2fd2044da0d135a9499d82b839efe69763f102d4b0aca1c4290b1148666d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 15, 2026.
Transparency log