diffport
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.
Usage
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
config:
groupby:
- <groupby-column-one>
- <groupby-column-two>
table: <table-name>
- name: tables-in-schema
config:
- <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.
Metadata
Release files for diffport 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| diffport-0.4.0.tar.gz | 24.4 kB | Without provenance | Details for diffport-0.4.0.tar.gz |
Release files / diffport-0.4.0.tar.gz
| Download URL | diffport-0.4.0.tar.gz |
|---|---|
| Size | 24.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
54f8cdbbc73b915aaaed17277a351ec403ab9e24a7e6ac4726587586e302239d
|
|
BLAKE2b-256 checksum How to use checksums |
e58ee9dd111deb072b04afcbcb89187fbab60fdff87b681965a4c9bd3d50caba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for diffport 0.4.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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.