SQLCompyre
SQLCompyre is a simple Python package that allows you to find and explore the differences between SQL tables, schemas, and entire databases. It provides both a Python interface and a CLI, allowing it to be used for both ad-hoc comparisons as well as in-depth analyses.
SQLCompyre is designed to be dialect-agnostic and should, thus, work with most database systems out-of-the-box. At the moment, is has been explicitly tested on the following systems:
Contents
API Reference
Compare two tables in the database. |
|
Compare all tables from two schemas in the database. |
|
Inspect a table in the database. |
Analyses
Inspect the results of a SQL query. |
|
Compare the content of two SQL database tables. |
|
Compare the table metadata from two different SQL database schemas. |
Results
Investigate the counts of database objects. |
|
Investigate the names of database objects. |
|
Investigate (un-)matched rows between database tables. |
|
Investigate column value changes between database tables. |
Report
Summary of the comparison of two SQL database objects. |
|
Formatters for rendering reports. |
|
Writers for outputting sets of reports to a destination. |