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
- Install:
uv add jin-monitor
- 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)
- 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:
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
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f78b67645d88d94a097cddb1267b08c885f81b666fb389a743f2ef47f53cb010
|
|
| MD5 |
702ffa469fee7e9a95e483daa417abbf
|
|
| BLAKE2b-256 |
665bd863982a95ea3d1c5b4e578ea3accb90a0c4a8c0616be6d29fdb8a624ff5
|
Provenance
The following attestation bundles were made for jin_monitor-0.1.1.tar.gz:
Publisher:
publish.yml on amit-devb/jin
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
jin_monitor-0.1.1.tar.gz -
Subject digest:
f78b67645d88d94a097cddb1267b08c885f81b666fb389a743f2ef47f53cb010 - Sigstore transparency entry: 1242169964
- Sigstore integration time:
-
Permalink:
amit-devb/jin@4c4deb6fc29db4ada367eed7bf4128f9dddc142b -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/amit-devb
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@4c4deb6fc29db4ada367eed7bf4128f9dddc142b -
Trigger Event:
push
-
Statement type:
File details
Details for the file jin_monitor-0.1.1-cp313-cp313-win_amd64.whl.
File metadata
- Download URL: jin_monitor-0.1.1-cp313-cp313-win_amd64.whl
- Upload date:
- Size: 10.4 MB
- Tags: CPython 3.13, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e5a499ca434b5d38a16d21087c76ef02cf816c61a852a95ff789d403aea42611
|
|
| MD5 |
e5c8210420c8a222a43e0fe809a25da0
|
|
| BLAKE2b-256 |
b72bcc8c049c077c638a5353622b1cdcf16081c6c3b88a5e5710a7e76c513846
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
jin_monitor-0.1.1-cp313-cp313-win_amd64.whl -
Subject digest:
e5a499ca434b5d38a16d21087c76ef02cf816c61a852a95ff789d403aea42611 - Sigstore transparency entry: 1242170085
- Sigstore integration time:
-
Permalink:
amit-devb/jin@4c4deb6fc29db4ada367eed7bf4128f9dddc142b -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/amit-devb
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@4c4deb6fc29db4ada367eed7bf4128f9dddc142b -
Trigger Event:
push
-
Statement type:
File details
Details for the file jin_monitor-0.1.1-cp313-cp313-manylinux_2_38_x86_64.whl.
File metadata
- Download URL: jin_monitor-0.1.1-cp313-cp313-manylinux_2_38_x86_64.whl
- Upload date:
- Size: 16.2 MB
- Tags: CPython 3.13, manylinux: glibc 2.38+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
12d3d76360b91d1199b7d28683cd784a68120b1d134eeda49e4e09ab8c8e946f
|
|
| MD5 |
382248671b7455fe788569f94b19f34c
|
|
| BLAKE2b-256 |
7040c6ed6e4eed344d0f976a2ca8b81db95747ce429aa7c2959188d7d2725704
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
jin_monitor-0.1.1-cp313-cp313-manylinux_2_38_x86_64.whl -
Subject digest:
12d3d76360b91d1199b7d28683cd784a68120b1d134eeda49e4e09ab8c8e946f - Sigstore transparency entry: 1242170024
- Sigstore integration time:
-
Permalink:
amit-devb/jin@4c4deb6fc29db4ada367eed7bf4128f9dddc142b -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/amit-devb
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@4c4deb6fc29db4ada367eed7bf4128f9dddc142b -
Trigger Event:
push
-
Statement type:
File details
Details for the file jin_monitor-0.1.1-cp313-cp313-macosx_11_0_arm64.whl.
File metadata
- Download URL: jin_monitor-0.1.1-cp313-cp313-macosx_11_0_arm64.whl
- Upload date:
- Size: 12.2 MB
- Tags: CPython 3.13, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9f98f1215ca8a14daa3f472e226e1356c8e2d9273bce0b78978c52a082464766
|
|
| MD5 |
addd8f7ac71f5a1c92956ed44b574029
|
|
| BLAKE2b-256 |
1554a9bbcaa7f20f89d54ced97e009307f9d50e88670116a78e09aab8b48b302
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
jin_monitor-0.1.1-cp313-cp313-macosx_11_0_arm64.whl -
Subject digest:
9f98f1215ca8a14daa3f472e226e1356c8e2d9273bce0b78978c52a082464766 - Sigstore transparency entry: 1242170165
- Sigstore integration time:
-
Permalink:
amit-devb/jin@4c4deb6fc29db4ada367eed7bf4128f9dddc142b -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/amit-devb
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@4c4deb6fc29db4ada367eed7bf4128f9dddc142b -
Trigger Event:
push
-
Statement type: