Skip to main content

A configuration-driven framework for building Dagster pipelines

Project description

dagster-odp (open data platform)

dagster-odp simplifies data pipeline development by enabling teams to build Dagster pipelines through configuration rather than code. It reduces the learning curve for Dagster while promoting standardization and faster development of data workflows.

Key Features

  • Configuration-Driven Development: Build data pipelines using YAML/JSON instead of Python code

  • Pre-built Tasks:

    • Google Cloud Operations: Transfer and export data between GCS and BigQuery, with support for GCS file downloads.
    • DuckDB Operations: Load files into DuckDB, execute SQL queries, and export table contents to files.
    • Utility Operations: Execute shell commands with configurable environments and working directories.
  • Extensible Framework: Create custom tasks, sensors, and resources that can be used directly in configuration files

  • Enhanced Modern Data Stack Integration:

    • DLT+: Extended integration with automatic asset creation and granular object handling
    • DBT+: Simplified variable management and external source configuration
    • Soda: Configuration-driven data quality checks
  • Enhanced Asset Management:

    • Standardized materialization metadata
    • Simplified dependency management
    • External source handling
  • Flexible Automation: Configuration-based jobs, schedules, sensors, and partitioning

Quick Example

Here's a simple pipeline that downloads data and loads it into DuckDB:

# odp_config/workflows/pipeline.yaml
assets:
  - asset_key: raw_data
    task_type: url_file_download
    params:
      source_url: https://example.com/data.parquet
      destination_file_path: ./data/raw.parquet

  - asset_key: analyzed_data
    task_type: file_to_duckdb
    depends_on: [raw_data]
    params:
      source_file_uri: "{{raw_data.destination_file_path}}"
      destination_table_id: analyzed_table

Installation

pip install dagster-odp

Getting Started

  1. Create a new project using the Dagster CLI:
dagster project scaffold --name my-odp-project
cd my-odp-project
  1. Create the ODP configuration directories:
mkdir -p odp_config/workflows
  1. Update your definitions.py:
from dagster_odp import build_definitions
defs = build_definitions("odp_config")
  1. Start building pipelines in your workflows directory using YAML/JSON configuration.

Check out our Quickstart Guide for a complete walkthrough.

Who Should Use dagster-odp?

  • Data Teams seeking to standardize pipeline creation
  • Data Analysts/Scientists who want to create pipelines without extensive coding
  • Data Engineers looking to reduce boilerplate code and maintenance overhead
  • Organizations adopting Dagster who want to accelerate development

Documentation

Comprehensive documentation is available, including:

Contributing

Contributions are welcome! Please read our Contributing Guidelines for details on how to submit pull requests, report issues, and contribute to the project.

License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.

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

dagster_odp-0.1.2.tar.gz (43.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dagster_odp-0.1.2-py3-none-any.whl (53.2 kB view details)

Uploaded Python 3

File details

Details for the file dagster_odp-0.1.2.tar.gz.

File metadata

  • Download URL: dagster_odp-0.1.2.tar.gz
  • Upload date:
  • Size: 43.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for dagster_odp-0.1.2.tar.gz
Algorithm Hash digest
SHA256 027b88c39dfd9443c8e69d8a71b4feabd0582b4431a3451f3d6745902bc1bb18
MD5 83d4a87ce301c433465d37f264491914
BLAKE2b-256 931c65c7318a12fc28a28332d4f01c070aa6dd03780e7f9db79df517e1fb6bb0

See more details on using hashes here.

Provenance

The following attestation bundles were made for dagster_odp-0.1.2.tar.gz:

Publisher: release.yml on runodp/dagster-odp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dagster_odp-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: dagster_odp-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 53.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for dagster_odp-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 864095da8e508266b599497a708e7c564fd1a95ef7ce489c23d6a7108ee69ef7
MD5 7ab1016564f6a5f26ec7f67c4eac050c
BLAKE2b-256 abbda27a618a765a109c1c6f3c77c38a1a4a1e3f3e2e1e360e820fdd65c5e4b2

See more details on using hashes here.

Provenance

The following attestation bundles were made for dagster_odp-0.1.2-py3-none-any.whl:

Publisher: release.yml on runodp/dagster-odp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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