Skip to main content

PyPI version PyPI Build Status codecov Requirements Status Documentation Get on Slack

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.

Word of caution: SqlTask is currently under heavy development, and the API is expected to change frequently.

Supported databases

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

  • Google BigQuery
  • 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 documentation on Read The Docs for further information.

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.6.4.3.tar.gz (23.0 kB view details)

Uploaded Source

File details

Details for the file sqltask-0.6.4.3.tar.gz.

File metadata

  • Download URL: sqltask-0.6.4.3.tar.gz
  • Upload date:
  • Size: 23.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for sqltask-0.6.4.3.tar.gz
Algorithm Hash digest
SHA256 79936d2955f21b0901df68282bc1699a87aaf5b6785d0627cb40375e002cb36b
MD5 5e226a0ac923a99a207095678a6e3d3b
BLAKE2b-256 0c4fe6583d3fa8f5ea528a4fdf5e6a839432f66e2f6395c76152238fb7261c18

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.6.4.3 This release

1 file

0.6.4.2

1 file

0.6.3

1 file

0.6.2

1 file

0.6.1

1 file

0.6.0

1 file

0.5.2

2 files

0.5.1

1 file

0.5.0

1 file

0.4.5

1 file

0.4.4

1 file

0.4.3

1 file

0.4.2

1 file

0.4.1

1 file

0.4.0

1 file

0.3.2

1 file

0.3.1

1 file

0.3.0

1 file

0.2.2

1 file

0.2.1

1 file

0.2.0

1 file

0.1.4

1 file

0.1.3

1 file

0.1.2

1 file

0.1.1

1 file

0.1.0

1 file

0.0.5

1 file

0.0.4

1 file

0.0.3

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page