Python data pipeline libraries

Updated Nov 2026

Python data pipeline libraries define, schedule, and run the steps that move and transform data. An orchestrator records each task's dependencies as a graph and starts a task only after its upstream tasks finish. These libraries let data teams run scheduled jobs that recover from failed steps.

Popularity

Celery has the most monthly downloads in this comparison, at 54.1M, a count that covers every background job it runs.

LibraryMonthly downloadsStarsLast releaseLicense
Celery
54.1M
29.2KNov 2026BSD-3-Clause
Temporal
47.9M
1.3KNov 2026MIT
dbt-core
25.1M
14.2KNov 2026Apache-2.0
RQ
13.2M
10.7KOct 2026BSD-2-Clause
Dagster
11.0M
16.4KNov 2026Apache-2.0
Prefect
8.8M
24.2KNov 2026Apache-2.0
Apache Airflow
6.5M
47.5KNov 2026Apache-2.0
DVC
1.8M
16.0KMar 2026Apache-2.0
Downloads: PyPI, last thirty days. Stars and releases: GitHub. Amber: no release in over a year.

Libraries and code examples

Runs a distributed task queue.

Downloads / mo
54.1M
Stars
29.2K
Last release
5.7.0
License
BSD-3-Clause

Quickstart

From tasks.py
$ pip install celery
from celery import Celery

app = Celery('tasks', broker='amqp://guest@localhost//')

@app.task
def add(x, y):
    return x + y

print(add.delay(2, 2).id)

Celery examples

From open-source projects on GitHub

Provides the Python SDK for Temporal.

Downloads / mo
47.9M
Stars
1.3K
Last release
1.36.1
License
MIT
$ pip install temporalio
import asyncio
from temporalio.client import Client

async def main():
    client = await Client.connect('localhost:7233')
    print(await client.count_workflows())

asyncio.run(main())

Builds analytics the way engineers build applications.

Downloads / mo
25.1M
Stars
14.2K
Last release
1.12.7
License
Apache-2.0
$ pip install dbt-core
from dbt.cli.main import dbtRunner

runner = dbtRunner()
result = runner.invoke(["run"])
print(result.success)

dbt-core examples

From open-source projects on GitHub

Creates background jobs and processes them.

Downloads / mo
13.2M
Stars
10.7K
Last release
3.0.0
License
BSD-2-Clause

Quickstart

From README.md
$ pip install rq
from redis import Redis
from rq import Queue

job = Queue(connection=Redis()).enqueue(sum, [1, 2, 3])
print(job.id)

RQ examples

From open-source projects on GitHub

Defines data assets and their dependencies, with partitioned materialization and orchestration.

Downloads / mo
11.0M
Stars
16.4K
Last release
1.13.30
License
Apache-2.0

Strengths

  • Tracks assets and upstream dependencies. Asset definitions describe computed data and its upstream dependencies.
  • Backfills selected data partitions. Launch a backfill for all partitions or a selected subset.

Limitations

  • Schedules need a running daemon. Run dagster-daemon alongside the deployment for schedules and sensors.
  • Backfills default to separate runs. By default, each selected partition gets a separate run.

Quickstart

From asset_dependency.py
$ pip install dagster
from dagster import asset, materialize

@asset
def greeting():
    return 'Hello'

result = materialize([greeting])

Dagster examples

From open-source projects on GitHub

Orchestrates Python flows and tasks with retries, schedules and declared assets.

Downloads / mo
8.8M
Stars
24.2K
Last release
3.9.3
License
Apache-2.0

Strengths

  • Retries individual tasks. Configure task retries to limit how much work repeats.
  • Tracks produced data assets. Declare asset materializations and dependencies alongside task orchestration.

Limitations

  • serve pauses schedules on exit. Set pause_on_shutdown=False to keep schedules active after serve exits.
  • Asset events record declared intent. Materialization success follows the underlying task's execution state.

Quickstart

From README.md
$ pip install prefect
from prefect import task

@task
def add_integers(a: int, b: int) -> int:
    return a + b

result = add_integers(1, 2)

Prefect examples

From open-source projects on GitHub

Schedules and executes dependency graphs of tasks, with historical-run controls.

Downloads / mo
6.5M
Stars
47.5K
Last release
3.4.0
License
Apache-2.0

Strengths

  • Creates historical DAG runs. Create runs across past dates through the CLI or REST API.
  • Accepts cron schedules. Set a cron expression for recurring DAG runs.

Limitations

  • Retries can repeat database writes. Use upserts instead of inserts to avoid duplicate rows during reruns.
  • Heavy DAG parsing slows scheduling. Move database calls and heavy computations into tasks.
$ pip install apache-airflow
from datetime import datetime
from airflow.sdk import DAG
from airflow.providers.standard.operators.empty import EmptyOperator

with DAG('first_pipeline', start_date=datetime(2024, 1, 1), schedule=None) as dag:
    EmptyOperator(task_id='first_task')

if __name__ == '__main__':
    dag.test()

Apache Airflow examples

From open-source projects on GitHub

Manages code and data together, like Git for data scientists.

Downloads / mo
1.8M
Stars
16.0K
Last release
3.67.1
License
Apache-2.0

Quickstart

From README.md
$ pip install dvc
import subprocess

subprocess.run(['dvc', 'init', '--no-scm'], check=True)
subprocess.run(['dvc', 'stage', 'add', '-n', 'hello', '-o', 'hello.txt', 'echo hello > hello.txt'], check=True)
subprocess.run(['dvc', 'repro'], check=True)

DVC examples

From open-source projects on GitHub
def train_model():
    try:
        subprocess.run(["dvc", "repro"], check=True)
        st.write("Training successfully completed")
    except subprocess.CalledProcessError as e:
        st.error(f"Error running DVC repro: {e}")

FAQ

Airflow suits scheduled DAGs of tasks with controls for historical runs. Dagster suits pipelines organized around data assets. Prefect suits Python flows that need retries and tracked state.

dbt Core lets analysts build SQL models the way engineers build applications. Its commands run the models and resources as a dependency graph.

Celery is a distributed task queue that sends tasks through a broker to workers. It composes tasks into groups, chains, and chords.

Dagster models a pipeline as data assets with dependencies, materializations, and typed metadata. Airflow models it as a DAG of tasks that it schedules as task instances.

Prefect runs Python flows and tasks with retries, schedules, and tracked runtime state. Airflow schedules DAGs of tasks with controls for historical runs.

Temporal is a Python SDK for durable workflows that keep their history and call external activities.

For coding agents

Found your data pipeline library? Help your agent use it.

Connect Exa so your coding agent can find the library’s documentation, check its API, and look up implementations while you build.

Run in your terminal

claude plugin install exa@claude-plugins-official