Skip to main content

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.testing testing a pytest plugin (data_dir, no_network), migration checks run through the application's own env.py, and a recording stand-in HTTP server

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.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jigkit 0.2.0
File Size Uploaded Provenance Actions
jigkit-0.2.0.tar.gz 54.4 kB With provenance Details for jigkit-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for jigkit 0.2.0
File Interpreter ABI Platform Actions
jigkit-0.2.0-py3-none-any.whl Python 3 none any Details for jigkit-0.2.0-py3-none-any.whl

Total release size: 93.5 kB

Release files / jigkit-0.2.0.tar.gz

Download URL jigkit-0.2.0.tar.gz
Size 54.4 kB
Tags Source
SHA-256 checksum
How to use checksums
1aa60a94b56a283bdbc4a1fa64b73007dc79f9c7aaed475ca71a2f25a7db04f4
BLAKE2b-256 checksum
How to use checksums
1fe8b8eb948cb82356e50d69994bfe6fc558119215e06348b77f1205e365fc7f
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 1, 2026.

Transparency log

Release files / jigkit-0.2.0-py3-none-any.whl

Download URL jigkit-0.2.0-py3-none-any.whl
Size 39.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ae7c5faeeee87a5f7c0b2a6bae72d1f0da4b73cdd08bc1ea7b1f93ae2956dc71
BLAKE2b-256 checksum
How to use checksums
a14c65d181cd4326a5e8b8a54d5bb56000566c9cd8db85358f66c70d11f41efb
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 1, 2026.

Transparency log

Security for jigkit 0.2.0

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.

Select from 2 files

Attestation for jigkit-0.2.0.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 1, 2026.

Transparency log

A 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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page