• Stars
    star
    11,116
  • Rank 3,024 (Top 0.06 %)
  • Language
    Python
  • License
    Apache License 2.0
  • Created over 6 years ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

An orchestration platform for the development, production, and observation of data assets.
dagster logo

Remember to star the Dagster GitHub repo for future reference.

Dagster is a cloud-native data pipeline orchestrator for the whole development lifecycle, with integrated lineage and observability, a declarative programming model, and best-in-class testability.

It is designed for developing and maintaining data assets, such as tables, data sets, machine learning models, and reports.

With Dagster, you declareโ€”as Python functionsโ€”the data assets that you want to build. Dagster then helps you run your functions at the right time and keep your assets up-to-date.

Here is an example of a graph of three assets defined in Python:

from dagster import asset
from pandas import DataFrame, read_html, get_dummies
from sklearn.linear_model import LinearRegression

@asset
def country_populations() -> DataFrame:
    df = read_html("https://tinyurl.com/mry64ebh")[0]
    df.columns = ["country", "continent", "rg", "pop2018", "pop2019", "change"]
    df["change"] = df["change"].str.rstrip("%").str.replace("โˆ’", "-").astype("float")
    return df

@asset
def continent_change_model(country_populations: DataFrame) -> LinearRegression:
    data = country_populations.dropna(subset=["change"])
    return LinearRegression().fit(get_dummies(data[["continent"]]), data["change"])

@asset
def continent_stats(country_populations: DataFrame, continent_change_model: LinearRegression) -> DataFrame:
    result = country_populations.groupby("continent").sum()
    result["pop_change_factor"] = continent_change_model.coef_
    return result

The graph loaded into Dagster's web UI:

An example asset graph as rendered in the Dagster UI

Dagster is built to be used at every stage of the data development lifecycle - local development, unit tests, integration tests, staging environments, all the way up to production.

Quick Start:

If you're new to Dagster, we recommend reading about its core concepts or learning with the hands-on tutorial.

Dagster is available on PyPI and officially supports Python 3.8+.

pip install dagster dagster-webserver

This installs two packages:

  • dagster: The core programming model.
  • dagster-webserver: The server that hosts Dagster's web UI for developing and operating Dagster jobs and assets.

Running on Using a Mac with an M1 or M2 chip? Check the install details here.

Documentation

You can find the full Dagster documentation here, including the 'getting started' guide.


Key Features:

image

Dagster as a productivity platform

Identify the key assets you need to create using a declarative approach, or you can focus on running basic tasks. Embrace CI/CD best practices from the get-go: build reusable components, spot data quality issues, and flag bugs early.

Dagster as a robust orchestration engine

Put your pipelines into production with a robust multi-tenant, multi-tool engine that scales technically and organizationally.

Dagster as a unified control plane

Maintain control over your data as the complexity scales. Centralize your metadata in one tool with built-in observability, diagnostics, cataloging, and lineage. Spot any issues and identify performance improvement opportunities.


Master the Modern Data Stack with integrations

Dagster provides a growing library of integrations for todayโ€™s most popular data tools. Integrate with the tools you already use, and deploy to your infrastructure.


image

Community

Connect with thousands of other data practitioners building with Dagster. Share knowledge, get help, and contribute to the open-source project. To see featured material and upcoming events, check out our Dagster Community page.

Join our community here:

Contributing

For details on contributing or running the project for development, check out our contributing guide.

License

Dagster is Apache 2.0 licensed.

More Repositories

1

dagster-open-platform

Dagster Labs' open-source data platform, built with Dagster.
Python
228
star
2

fake-star-detector

Python
217
star
3

mdsfest-opensource-mds

Demo Project for Open Source MDS
Python
160
star
4

hooli-data-eng-pipelines

Example Dagster Cloud code for the Hooli Data Engineering organization.
Python
75
star
5

awesome-dagster

All things awesome related to Dagster!
61
star
6

talks

Jupyter Notebook
40
star
7

project-dagster-university

an ephemeral project repo for the DU Dagster project
Python
37
star
8

supercharged-dbt-docs

HTML
25
star
9

dagster-cloud

Unify all your data tools into a productive, enterprise-grade platform.
Python
21
star
10

dagster_llm_finetune

Python
12
star
11

quickstart-etl

Python
11
star
12

dagster-cloud-action

Python
10
star
13

quickstart-gcp

Python
9
star
14

dagster-cloud-cicd-action

GitHub Action to update Dagster Cloud repo locations
JavaScript
7
star
15

data-mesh-demo

Python
7
star
16

quickstart-aws

Python
6
star
17

dagster-website

The data orchestration platform built for productivity.
TypeScript
6
star
18

quickstart-dbt

Python
5
star
19

dagster-cloud-hybrid-quickstart

Template for getting started with Hybrid Dagster Cloud
Python
5
star
20

dagster-cloud-serverless-quickstart

Python
4
star
21

dagster-quickstart

Get started with Dagster ASAP
Python
3
star
22

quickstart-snowflake

Python
2
star
23

docsearch-scraper

This repository holds the code of the DocSearch scraper used to power the hosted version of DocSearch.
Python
2
star
24

dagster-cloud-cicd-action-quickstart

Template to get started with the Dagster Cloud CI GitHub Action
Python
2
star
25

insights-quickstart-dbt-snowflake

Python
2
star
26

dagster-sandbox-example

Python
1
star
27

quickstart-mds

Python
1
star
28

dagster-ml-example

Example Dagster Cloud code for an ML use case.
Python
1
star
29

airflow-migration-example

Python
1
star
30

biweekly-demo

Python
1
star
31

social-listening

Python
1
star
32

helm-user-cloud

Dagster Cloud Helm chart for distribution of User Cloud Agent & other user cloud resources via Helm.
1
star
33

hooli-ml-pipelines

Example Dagster Cloud code for the Hooli ML organization.
Python
1
star
34

dagster-airflow-migration-example

Python
1
star
35

cloud-examples

Curated list of examples and sample code for dagster-cloud projects
Python
1
star
36

build-grpcio

Build wheels for grpcio for m1 macs
1
star