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 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.1

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.1
File Size Uploaded Provenance Actions
9gear_sentinel-0.1.1.tar.gz 112.2 kB With provenance Details for 9gear_sentinel-0.1.1.tar.gz

Built distribution (wheel)

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

Total release size: 159.7 kB

Release files / 9gear_sentinel-0.1.1.tar.gz

Download URL 9gear_sentinel-0.1.1.tar.gz
Size 112.2 kB
Tags Source
SHA-256 checksum
How to use checksums
aad617bd9c63551476ac50748e73aa611f657413962f814bab28cfaf840167b4
BLAKE2b-256 checksum
How to use checksums
1be7f0cbcb7c45fa35c257cae11103c98e8d4b8b4a1ae04f446a1029e03dd3b0
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 31, 2026.

Transparency log

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

Download URL 9gear_sentinel-0.1.1-py3-none-any.whl
Size 47.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0e09599143a691343409e4f23a7a1f457b326d24501c4db30180e61fdbafe700
BLAKE2b-256 checksum
How to use checksums
26e09d35b6224195d437e3498ed24c69b34ac778b868e62e61937bbcf423f0cc
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 31, 2026.

Transparency log

Security for 9gear-sentinel 0.1.1

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.1.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 31, 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