Skip to main content

Rust-first data quality monitoring middleware for FastAPI

Project description

Jin

Jin is open-source Rust-first monitoring for FastAPI APIs. It watches response data at the business grain, stores observations in DuckDB, and shows the dashboard at /jin.

Why Jin

We built Jin so FastAPI teams can catch business KPI drift inside the app they already run, using the response model and local data they already have. For the longer product direction, see Why Jin.

Start Here

  1. Install:
uv add jin-monitor
  1. Add the middleware:
from fastapi import FastAPI
from jin import JinMiddleware

app = FastAPI()
app.add_middleware(JinMiddleware, db_path="./jin.duckdb", global_threshold=10.0)
  1. Open the dashboard:
/jin

Useful Commands

jin setup app.main
jin doctor --app package.module:app
jin verify --app package.module:app
jin endpoints list --app package.module:app
jin issues list
jin references import --endpoint "/api/revenue/{retailer}/{period}" --file refs.csv
make release VERSION=0.1.1

Docs

Read the short docs in this order:

  1. Why Jin
  2. Getting Started
  3. Configuration Guide
  4. Data Shape Guide
  5. Incident Workflow
  6. CLI Guide
  7. Operations Guide

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jin_monitor-0.1.2.tar.gz (626.6 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

jin_monitor-0.1.2-cp313-cp313-win_amd64.whl (10.4 MB view details)

Uploaded CPython 3.13Windows x86-64

jin_monitor-0.1.2-cp313-cp313-manylinux_2_38_x86_64.whl (16.2 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.38+ x86-64

jin_monitor-0.1.2-cp313-cp313-macosx_11_0_arm64.whl (12.2 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

File details

Details for the file jin_monitor-0.1.2.tar.gz.

File metadata

  • Download URL: jin_monitor-0.1.2.tar.gz
  • Upload date:
  • Size: 626.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for jin_monitor-0.1.2.tar.gz
Algorithm Hash digest
SHA256 fd679f69351a151cb18feb8b15fcacf2966db9c101715efae732f9a0476992eb
MD5 be168384c0691919c39cd253d303cfa8
BLAKE2b-256 eab83d9227b07efacc3e4d6528156568288673eee6fddec9511241aaec7c34fa

See more details on using hashes here.

Provenance

The following attestation bundles were made for jin_monitor-0.1.2.tar.gz:

Publisher: publish.yml on amit-devb/jin

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file jin_monitor-0.1.2-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for jin_monitor-0.1.2-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 5c3f90411830ef8175038b9c90786a6e1f49beefbffbe7a11abc8460db2d232f
MD5 29a9041dfef15a04ae430229e799f64f
BLAKE2b-256 1577872deb2b16c746aec5131e705f11623ba0739a20b10511177fd63d598910

See more details on using hashes here.

Provenance

The following attestation bundles were made for jin_monitor-0.1.2-cp313-cp313-win_amd64.whl:

Publisher: publish.yml on amit-devb/jin

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file jin_monitor-0.1.2-cp313-cp313-manylinux_2_38_x86_64.whl.

File metadata

File hashes

Hashes for jin_monitor-0.1.2-cp313-cp313-manylinux_2_38_x86_64.whl
Algorithm Hash digest
SHA256 54269af2be2799b31d8963154f31e8fd6aa9e787ad9a1e5b65c42ca04112c0ca
MD5 b8b9c42c4ea729a125c9be682396e411
BLAKE2b-256 d27deb353ce8a6f3c47659ead8cf991d2f58c6207d6aebeae4be00d461f36f1e

See more details on using hashes here.

Provenance

The following attestation bundles were made for jin_monitor-0.1.2-cp313-cp313-manylinux_2_38_x86_64.whl:

Publisher: publish.yml on amit-devb/jin

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file jin_monitor-0.1.2-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for jin_monitor-0.1.2-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1dbdb65fbc611bb305667590eb78857db196d487668bb7ddb945c77f6cc3d064
MD5 ee9af4a81a1908caf042bfa310c39841
BLAKE2b-256 a4c5b16aec216f23cfdec3dc5d5e815b04311fad644c228da723a23123d329b5

See more details on using hashes here.

Provenance

The following attestation bundles were made for jin_monitor-0.1.2-cp313-cp313-macosx_11_0_arm64.whl:

Publisher: publish.yml on amit-devb/jin

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page