dagster-pyspark
Package for PySpark Dagster framework components.
What it is and what it does
Dagster-pyspark is a Dagster integration package that brings PySpark into Dagster's asset-oriented orchestration model. It provides components to define data assets that run on Spark, allowing you to declare transformations as Python functions while leveraging Spark's distributed computing. The package sits between Dagster (the orchestrator) and PySpark (the execution engine), handling resource configuration and job submission.
You use it when you have Spark workloads you want to orchestrate alongside other data assets in Dagster. It depends on dagster and pyspark as runtime dependencies, so you need both installed. The package is part of the broader Dagster ecosystem and is actively maintained alongside the main framework.
Use it for:
- Orchestrate Spark jobs as part of a larger Dagster asset graph with lineage tracking and observability.
- Define reusable Spark transformations as Dagster assets that can be tested and versioned in code.
- Integrate Spark-based ETL workloads with non-Spark data tasks in a single declarative pipeline.
- Deploy Spark jobs to production with Dagster's multi-tenant orchestration engine and monitoring.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Integrates PySpark with Dagster's data pipeline orchestration, enabling you to define and run Spark-based data assets within Dagster's declarative asset model.
Yes, if you are already using Dagster and need to run PySpark workloads. It is actively maintained, has no known vulnerabilities, installs with low friction, and carries a permissive license. Install it only if you have Spark jobs to orchestrate; it adds no value as a standalone package.
Install
dagster-pyspark on PyPI
pip
pip install dagster-pysparkuv
uv add dagster-pysparkpoetry
poetry add dagster-pysparkInstalling dagster-pyspark
Before you install
Low friction install with a pure-Python wheel. Dagster itself is actively maintained with recent releases and strong community engagement. Requires Python 3.10 or later.
License in practice
Apache-2.0 permissive license allows commercial use, modification, and distribution with minimal restrictions—suitable for most production and proprietary contexts.
Quickstart
pip install dagster-pyspark
import dagster as dg
from dagster_pyspark import pyspark_resource
@dg.asset
def my_spark_asset() -> None:
pass
Requires Python 3.10 or later and a working PySpark installation (pyspark is a runtime dependency).
Verify before relying
- Whether this package provides Spark-specific resource types or ops beyond what base Dagster offers
- Whether it includes built-in support for Spark SQL, DataFrame operations, or just job submission
- Performance characteristics and scalability limits when orchestrating large Spark clusters
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (<3.15,>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 3 — dagster-spark, dagster, pyspark |
| Maintenance | actively maintained — 0 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 632,109/month — #5,655 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: dagster_pyspark-0.29.18-py3-none-any.whl
Tags
More Distributed Computing packages
gRPC Python is an HTTP/2-based RPC framework…
permissive · top 100 on PyPI
execnetexecnet lets you spawn and communicate with…
permissive · top 1,000 on PyPI
cloudpickleCloudpickle extends Python's standard pickle…
permissive · top 1,000 on PyPI
smart-openProvides a unified, open()-compatible Python…
permissive · top 1,000 on PyPI
portalockerPortalocker provides cross-platform file…
permissive · top 1,000 on PyPI
rayRay is a distributed computing framework that…
permissive · top 1,000 on PyPI
dagster-sparkDagster-spark integrates Apache Spark with…
permissive · top 15,000 on PyPI
dagster-panderaIntegrates Pandera data validation with…
permissive · top 15,000 on PyPI
dagsterDagster is a data pipeline orchestrator that…
permissive · top 5,000 on PyPI
dagster-fivetranIntegrates Fivetran data connectors with…
permissive · top 15,000 on PyPI
dagster-dg-coredagster-dg-core provides the core orchestration…
permissive · top 5,000 on PyPI
dagster-databricksIntegrates Databricks with Dagster's data…
permissive · top 15,000 on PyPI
dagster-dbtIntegrates dbt data transformation workflows…
permissive · top 5,000 on PyPI
dagster-cloud-cliCLI tool for managing and deploying Dagster…
permissive · top 5,000 on PyPI
dagster-webserverProvides a web UI for Dagster, a data pipeline…
permissive · top 5,000 on PyPI
dagster-snowflake-pandasIntegrates Snowflake and Pandas with Dagster's…
permissive · top 15,000 on PyPI