Skip to main content

An opinionated framework for ETL built on top of Airflow

Project description

gusty

Gusty is an opinionated framework for data ETL built on top of Airflow, where every task is represented by one YAML file, and each task creates a view in a database.

Structure

The .yml approach to generating jobs within Airflow DAGs is not a new idea, but it is useful and there are a few built in benefits to it here.

  • Dependencies - Dependencies can quickly be set in .yml files through one of three means:

    1. Using the dependencies specification, you can set dependencies between jobs in the same DAG.
    2. Using the external_dependencies specification, you can set dependencies between jobs in different DAGs.
    3. For the MaterializedPostgresOperator, dependencies in the same DAG that are a part of the views schema are automatically registered.
  • Operator configuration - After you build an operator, you can pass parameters to it in each .yml job definition file. This means that, for example, if you have to call different API endpoints, you may only need to build one operator to ingest data from this API, and then can specify the endpoint to call in the .yml job definition file.

  • Support for popular notebook formats - There are currently two notebook operators, RmdOperator and JupyterOperator, which enable you to simply write RMarkdown or Jupyter Notebook files and deploy them as jobs in your data pipeline. More importantly, RmdOperator and JupyterOperator are actually executed on separate dedicated docker containers, and interact with the Airflow container via SSH, which is useful if you want to deploy these services separately in the cloud!

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

gusty-0.0.3.tar.gz (8.7 kB view details)

Uploaded Source

File details

Details for the file gusty-0.0.3.tar.gz.

File metadata

  • Download URL: gusty-0.0.3.tar.gz
  • Upload date:
  • Size: 8.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.22.0 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.42.0 CPython/3.6.5

File hashes

Hashes for gusty-0.0.3.tar.gz
Algorithm Hash digest
SHA256 6c4f88bb335bc9be596d9a235be762b7b5179c9e6b4bccae928c952ec9b2f2ac
MD5 ecc1762948a25a5758a23b629b2184a8
BLAKE2b-256 5aec49ff25886e432dd2c5a9e4406cbb0eab8a014cda88b5b41bb8ea24bc103c

See more details on using hashes here.

Supported by

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