Skip to main content

9Gear Sentinel

CI PyPI Python License

Data quality checks for your warehouse, declared in YAML and run anywhere you can run a command.

Sentinel catches stale tables, sudden row-count drops, null spikes, duplicate keys and silent schema changes before your stakeholders do. Every check runs as SQL inside your own database, so your data never leaves it.

Sentinel running against a demo database

Why Sentinel

  • Ten minutes to the first alert. pip install, one YAML file, done. No server, no UI to host.
  • Alerts that don't nag. Slack or email once when a check breaks and once when it recovers, not every hour while it stays broken.
  • It remembers. Every run is stored, so checks can catch a 40% overnight drop in rows, and you can see each check's recent trend.
  • Fits your pipeline. Clear exit codes for CI and Airflow, a built-in scheduler, and a shareable HTML report.
  • Plain SQL you can read. --dry-run shows exactly what will be sent to your database.

Quickstart

pip install "9gear-sentinel[postgres]"
sentinel init                 # writes sentinel.yml and .env.example
cp .env.example .env          # set WAREHOUSE_URL
sentinel test-connection
sentinel run
tables:
  - source: warehouse
    table: analytics.orders
    checks:
      - freshness: { column: updated_at, max_age: 6h }
      - row_count_change: { max_drop_pct: 30 }
      - unique: { columns: [order_id] }
      - null_rate: { column: customer_id, max_pct: 1, severity: warn }
      - accepted_values:
          column: status
          values: [pending, paid, shipped, refunded]
      - schema_drift: {}

Want to see it first? The repo includes a demo database with deliberate problems:

git clone https://github.com/Mirrz64/9Gear-Sentinel.git && cd 9Gear-Sentinel
pip install -e ".[postgres]"
docker compose up -d
sentinel run -c examples/sentinel.yml

Checks

Check Fails when
freshness The newest timestamp is older than max_age
row_count The row count is outside min / max
row_count_change The count moved more than allowed since the last run
not_null Any null appears in the column
null_rate The share of nulls is above max_pct
unique Any key value appears more than once
accepted_values A value outside the list appears
schema_drift A column is added, removed or retyped since the baseline
custom_sql Your query returns any rows

Reports

sentinel report turns the latest run into one self-contained HTML page, with failures first and each check's recent history.

HTML report

Documentation

Full docs: mirrz64.github.io/9Gear-Sentinel, covering configuration, every check, alerts, scheduling, CI recipes and the CLI.

Supported databases

Postgres and SQLite are supported and tested. Snowflake and BigQuery are planned for v0.2.

Contributing

Issues and pull requests are welcome. See CONTRIBUTING.md for setup.

Licence

Apache-2.0. Built by Miracle Osabuogbe at 9Gear Tech.

Metadata

Release files for 9gear-sentinel 0.1.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 9gear-sentinel 0.1.0
File Size Uploaded Provenance Actions
9gear_sentinel-0.1.0.tar.gz 53.2 kB With provenance Details for 9gear_sentinel-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for 9gear-sentinel 0.1.0
File Interpreter ABI Platform Actions
9gear_sentinel-0.1.0-py3-none-any.whl Python 3 none any Details for 9gear_sentinel-0.1.0-py3-none-any.whl

Total release size: 97.9 kB

Release files / 9gear_sentinel-0.1.0.tar.gz

Download URL 9gear_sentinel-0.1.0.tar.gz
Size 53.2 kB
Tags Source
SHA-256 checksum
How to use checksums
6d578e5fdea0a06643d3078810ffbd0feb59954c3a346b6bdd17bc8cc5aa3c93
BLAKE2b-256 checksum
How to use checksums
a8e45c9360748a69d38a4fb3364e42b966a82eeec69da6456362f38f009cfecb
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 Oct 30, 2026.

Transparency log

Release files / 9gear_sentinel-0.1.0-py3-none-any.whl

Download URL 9gear_sentinel-0.1.0-py3-none-any.whl
Size 44.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
96b75515372453010e3653ff648fe003eefc8698aef69b0d6e485d8e3729c29b
BLAKE2b-256 checksum
How to use checksums
3baaa40827a805597ebcc75884ea4a3e1760be758103e873d798e2158675dc58
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 Oct 30, 2026.

Transparency log

Security for 9gear-sentinel 0.1.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

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for 9gear_sentinel-0.1.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 Oct 30, 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