Skip to main content

Database summary diff reporting tool

Project description

Diffport is a database summary diff reporting tool. It helps in maintaining, diffing and reporting summaries from a database based on a set of watchers. It currently works (and is tested) under postgres.


Diffport works by using a set of watchers to take snapshots of database at different times and then producing a difference report when asked for it. It uses a config file specifying these watchers and their own specific configuration needs. An example follows:

# diffport.yaml
- name: number-of-rows
      - <groupby-column-one>
      - <groupby-column-two>
    table: <table-name>

- name: tables-in-schema
    - <schema-one>
    - <schema-two>

The first watcher (number-of-rows) keeps the count of rows in table <table-name, grouped by columns <groupby-column-one> and <groupby-column-two>. The second watcher tables-in-schema keeps the list of tables in each of the schema provided in its config.

For more details and usage instructions, head over to the project’s documentation here.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for diffport, version 0.4.0
Filename, size File type Python version Upload date Hashes
Filename, size diffport-0.4.0.tar.gz (24.4 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page