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.1.tar.gz (626.1 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.1-cp313-cp313-win_amd64.whl (10.4 MB view details)

Uploaded CPython 3.13Windows x86-64

jin_monitor-0.1.1-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.1-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.1.tar.gz.

File metadata

  • Download URL: jin_monitor-0.1.1.tar.gz
  • Upload date:
  • Size: 626.1 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.1.tar.gz
Algorithm Hash digest
SHA256 f78b67645d88d94a097cddb1267b08c885f81b666fb389a743f2ef47f53cb010
MD5 702ffa469fee7e9a95e483daa417abbf
BLAKE2b-256 665bd863982a95ea3d1c5b4e578ea3accb90a0c4a8c0616be6d29fdb8a624ff5

See more details on using hashes here.

Provenance

The following attestation bundles were made for jin_monitor-0.1.1.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.1-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for jin_monitor-0.1.1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 e5a499ca434b5d38a16d21087c76ef02cf816c61a852a95ff789d403aea42611
MD5 e5c8210420c8a222a43e0fe809a25da0
BLAKE2b-256 b72bcc8c049c077c638a5353622b1cdcf16081c6c3b88a5e5710a7e76c513846

See more details on using hashes here.

Provenance

The following attestation bundles were made for jin_monitor-0.1.1-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.1-cp313-cp313-manylinux_2_38_x86_64.whl.

File metadata

File hashes

Hashes for jin_monitor-0.1.1-cp313-cp313-manylinux_2_38_x86_64.whl
Algorithm Hash digest
SHA256 12d3d76360b91d1199b7d28683cd784a68120b1d134eeda49e4e09ab8c8e946f
MD5 382248671b7455fe788569f94b19f34c
BLAKE2b-256 7040c6ed6e4eed344d0f976a2ca8b81db95747ce429aa7c2959188d7d2725704

See more details on using hashes here.

Provenance

The following attestation bundles were made for jin_monitor-0.1.1-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.1-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for jin_monitor-0.1.1-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9f98f1215ca8a14daa3f472e226e1356c8e2d9273bce0b78978c52a082464766
MD5 addd8f7ac71f5a1c92956ed44b574029
BLAKE2b-256 1554a9bbcaa7f20f89d54ced97e009307f9d50e88670116a78e09aab8b48b302

See more details on using hashes here.

Provenance

The following attestation bundles were made for jin_monitor-0.1.1-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