jigkit
The shared foundations of small self-hosted web apps built on FastAPI, async SQLAlchemy and Svelte: settings, database, migrations, logging, health checks and test fixtures, each hardened once instead of copied between applications.
pip install "jigkit[db]"
| Module | Extra | What it gives an application |
|---|---|---|
jigkit.settings |
— | AppSettings: blank environment values mean unset, X or X_FILE for secrets (never both), a validated TZ, a data directory |
jigkit.db |
db |
an async engine with SQLite's pragmas (foreign keys, WAL, busy timeout), a session factory, a commit-or-roll-back session_scope |
jigkit.models |
db |
a declarative Base with deterministic constraint names, UtcDateTime, TimestampMixin |
jigkit.migrations |
db |
the whole of an Alembic env.py, with foreign keys off during SQLite table rebuilds and checked afterwards |
jigkit.logging |
— | stream and rotating file handlers, a level that changes at runtime, credential-carrying HTTP client loggers kept quiet |
jigkit.healthcheck |
— | python -m jigkit.healthcheck URL --expect database=connected, a container health probe |
jigkit.secrets |
— | load_or_create_secret, a generated secret kept owner-only in the data directory |
jigkit.sinks |
— | Point (timestamp with an explicit precision), Outcome, the Sink protocol, the neutral spooled form |
jigkit.spool, jigkit.delivery |
— | a bounded on-disk queue per destination, and write-now-or-spool-and-replay |
jigkit.influx |
influx |
InfluxDB 3 and 2.x sinks: line protocol in each batch's precision, and SQL reads from InfluxDB 3 |
jigkit.heartbeat |
heartbeat |
a push-monitor heartbeat after delivered writes, at most once per interval |
jigkit.web |
web |
FastAPI building blocks: a fail-closed access policy, write guard, security headers, SPA serving, health router, PWA manifest, serve() |
jigkit.scheduler |
— | TickLoop: in-process work on a fixed tick |
jigkit.notify |
notify |
Apprise delivery off the event loop, and URL redaction for logs |
jigkit.ratelimit |
— | RateLimiter: a token bucket per client with bounded memory |
jigkit.auth |
auth |
Argon2id passwords, a bounded failed-login throttle, the session cookie |
jigkit.auth.sessions |
auth, db |
logins in the database as hashed, revocable tokens with a sliding expiry |
jigkit.auth.passkeys |
passkeys, db |
WebAuthn ceremonies to add a passkey and log in with one, a bounded in-memory challenge store, PasskeyMixin |
jigkit.testing |
testing |
a pytest plugin (data_dir, no_network), migration checks run through the application's own env.py, a recording stand-in HTTP server, and a software passkey authenticator (with passkeys) |
PostgreSQL is supported through the postgres extra. Python 3.14 or newer.
See the repository for the changelog and documentation.
Metadata
Release files for jigkit 0.8.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| jigkit-0.8.2.tar.gz | 85.0 kB | With provenance | Details for jigkit-0.8.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| jigkit-0.8.2-py3-none-any.whl | Python 3 | none | any | Details for jigkit-0.8.2-py3-none-any.whl |
Total release size: 149.6 kB
Release files / jigkit-0.8.2.tar.gz
| Download URL | jigkit-0.8.2.tar.gz |
|---|---|
| Size | 85.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
021e17bcf19a966e74399d925fe04234280f0b6309eed444a3a0d7f98a408de1
|
|
BLAKE2b-256 checksum How to use checksums |
eb1d64288f8df81f23595a9981b2168cea203f05c44ac0967fa7f20bd4cf47ee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 2, 2026.
Transparency logRelease files / jigkit-0.8.2-py3-none-any.whl
| Download URL | jigkit-0.8.2-py3-none-any.whl |
|---|---|
| Size | 64.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a50cbdda09c742eb4688f8d8942d96bce4fa70de022973018349dec59492347a
|
|
BLAKE2b-256 checksum How to use checksums |
9760a933e49a19a511dbbd7f27929266801f6c31e2961d35119babc27c208947
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 2, 2026.
Transparency logSecurity for jigkit 0.8.2
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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for jigkit-0.8.2.tar.gz
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 Nov 2, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.