Skip to main content

9Gear Sentinel: detect, alert, protect

CI PyPI Python License Docs

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 and --format json 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
column_range A numeric value is below min or above max
foreign_key A value has no match in another table's column
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, MySQL 8, DuckDB and SQLite are supported and tested:

pip install "9gear-sentinel[postgres]"   # or [mysql], [duckdb], or [all]

Snowflake and BigQuery are planned for a later release.

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.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 9gear-sentinel 0.2.0
File Size Uploaded Provenance Actions
9gear_sentinel-0.2.0.tar.gz 119.1 kB With provenance Details for 9gear_sentinel-0.2.0.tar.gz

Built distribution (wheel)

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

Total release size: 170.5 kB

Release files / 9gear_sentinel-0.2.0.tar.gz

Download URL 9gear_sentinel-0.2.0.tar.gz
Size 119.1 kB
Tags Source
SHA-256 checksum
How to use checksums
833242bafb93a84a551c9d2978ac7f536f0c150303661ee881ce43cd2b945e73
BLAKE2b-256 checksum
How to use checksums
52de4aabdc6e464e63479ca551f79e4636aa12f4bb06770a76db9bb24239b10e
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 18, 2026.

Transparency log

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

Download URL 9gear_sentinel-0.2.0-py3-none-any.whl
Size 51.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c533649fcd6994b20fa3f4f9e99911e8793813bd8ca0a40a06207d831d2d6d78
BLAKE2b-256 checksum
How to use checksums
87d48c43706ad61fcf6e8514df03e3f0fc40ba99a52d18febe144adce420356f
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 18, 2026.

Transparency log

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

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

Select from 2 files

Attestation for 9gear_sentinel-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 18, 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