Metadata-Version: 2.1
Name: data-diff
Version: 0.7.5
Summary: Command-line tool and Python library to efficiently diff rows across two different databases.
Home-page: https://github.com/datafold/data-diff
License: MIT
Author: Datafold
Author-email: data-diff@datafold.com
Requires-Python: >=3.7,<4.0
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Information Technology
Classifier: Intended Audience :: System Administrators
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Topic :: Database :: Database Engines/Servers
Classifier: Typing :: Typed
Provides-Extra: clickhouse
Provides-Extra: dbt
Provides-Extra: duckdb
Provides-Extra: mysql
Provides-Extra: oracle
Provides-Extra: postgresql
Provides-Extra: preql
Provides-Extra: presto
Provides-Extra: snowflake
Provides-Extra: trino
Provides-Extra: vertica
Requires-Dist: click (>=8.1,<9.0)
Requires-Dist: clickhouse-driver ; extra == "clickhouse"
Requires-Dist: cryptography ; extra == "snowflake"
Requires-Dist: cx_Oracle ; extra == "oracle"
Requires-Dist: dbt-artifacts-parser (>=0.3.0,<0.4.0) ; extra == "dbt"
Requires-Dist: dbt-core (>=1.0.0,<2.0.0) ; extra == "dbt"
Requires-Dist: dsnparse (<0.2.0) ; python_version < "3.8.0"
Requires-Dist: dsnparse ; python_version >= "3.8.0"
Requires-Dist: duckdb (>=0.7.0,<0.8.0) ; extra == "duckdb"
Requires-Dist: keyring
Requires-Dist: mysql-connector-python (==8.0.29) ; extra == "mysql"
Requires-Dist: preql (>=0.2.19,<0.3.0) ; extra == "preql"
Requires-Dist: presto-python-client ; extra == "presto"
Requires-Dist: psycopg2 ; extra == "postgresql"
Requires-Dist: rich
Requires-Dist: runtype (>=0.2.6,<0.3.0)
Requires-Dist: snowflake-connector-python (>=2.7.2,<3.0.0) ; extra == "snowflake"
Requires-Dist: tabulate (>=0.9.0,<0.10.0)
Requires-Dist: toml (>=0.10.2,<0.11.0)
Requires-Dist: trino (>=0.314.0,<0.315.0) ; extra == "trino"
Requires-Dist: vertica-python ; extra == "vertica"
Project-URL: Repository, https://github.com/datafold/data-diff
Description-Content-Type: text/markdown

<p align="center">
    <img alt="Datafold" src="https://user-images.githubusercontent.com/1799931/196497110-d3de1113-a97f-4322-b531-026d859b867a.png" width="50%" />
</p>

<h1 align="center">
data-diff
</h1>

<h2 align="center">
Develop dbt models faster by testing as you code.
</h2>
<h4 align="center">
See how every change to dbt code affects the data produced in the modified model and downstream.
</h4>
<br>

## What is `data-diff`?

data-diff is an open source package that you can use to see the impact of your dbt code changes on your dbt models as you code.

<div align="center">

![development_testing_gif](https://user-images.githubusercontent.com/1799931/236354286-d1d044cf-2168-4128-8a21-8c8ca7fd494c.gif)

</div>

<br>

## Getting Started

**Install `data-diff`**
```
pip install data-diff
```

**Update a few lines in your `dbt_project.yml`**
```
#dbt_project.yml
vars:
  data_diff:
    prod_database: my_database
    prod_schema: my_default_schema
```

**Run your first data diff!**

```
dbt run && data-diff --dbt
```

We recommend you get started by walking through [our simple setup instructions](https://docs.datafold.com/development_testing/open_source) which contain examples and details.

Please reach out on the dbt Slack in [#tools-datafold](https://getdbt.slack.com/archives/C03D25A92UU) if you have any trouble whatsoever getting started!

<br><br>

### Diffing between databases

Check out our [documentation](https://github.com/datafold/data-diff/blob/master/docs/supported-databases.md) if you're looking to compare data across databases (for example, between Postgres and Snowflake).

<br>

## Contributors

We thank everyone who contributed so far!

<a href="https://github.com/datafold/data-diff/graphs/contributors">
  <img src="https://contributors-img.web.app/image?repo=datafold/data-diff" />
</a>

<br>

## Analytics

* [Usage Analytics & Data Privacy](https://github.com/datafold/data-diff/blob/master/docs/usage_analytics.md)

<br>

## License

This project is licensed under the terms of the [MIT License](https://github.com/datafold/data-diff/blob/master/LICENSE).

