Skip to main content

ETL tool based on SqlAlchemy for building robust ETL pipelies with high emphasis on high data quality

Project description

PyPI version PyPI Build Status codecov Requirements Status Documentation PyPI license

Sqltask

Sqltask is an extensible ETL library based on SqlAlchemy to help build robust ETL pipelines with high emphasis on data quality.

Main features of Sqltask:

  • Create well documented data models that support iterative development of both schema and data transformation logic.
  • Tightly coupled data quality checking with transformation logic with automatic creation of visualization-friendly and actionable data quality tables.
  • Make use of SQL where practical, especially expensive data filtering and aggregation during data extraction.
  • Row-by-row data transformation using Python where SQL falls short, e.g. calling third party libraries or storing state from previous rows.
  • Encourage use of modern version control tools and processes, especially GIT.
  • Performant data uploading/insertion where supported.
  • Easy integration with modern ETL orchestration tools, especially Apache Airflow.

Supported databases

Sqltask supports all databases with a SqlAlchemy dialect, with dedicated support for the following engines:

  • Google BigQuery (experimental)
  • MS SQL Server (experimental)
  • Postgres
  • Sqlite
  • Snowflake

Engines not listed above will fall back to using regular inserts.

Installation instructions

To install Sqltask without any dependencies, simply run

pip install sqltask

To automatically pull in dependencies needed by Snowflake, type

pip install sqltask[snowflake]

Please refer to the example case to see how Sqltask can be used in practice.

Project details


Download files

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

Source Distribution

sqltask-0.3.1.tar.gz (14.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page