apache-airflow-providers-pixi
An Apache Airflow 3 provider that runs tasks inside Pixi-managed environments, on the worker or in a Kubernetes pod, so a task can use conda-forge and PyPI packages that are not installed on the worker.
Documentation: https://danplischke.github.io/apache-airflow-providers-pixi/ (for LLMs and coding agents: llms.txt)
Installation
pip install apache-airflow-providers-pixi
pip install "apache-airflow-providers-pixi[cncf.kubernetes]" # adds PixiKubernetesPodOperator
Requires Apache Airflow 3.1.2 or newer and Python 3.10 to 3.14 (3.14 needs Airflow 3.2). The
workers need pixi 0.81.0 or newer on PATH; the provider
never installs it. See Requirements
and the deployment guide.
Quick start
from airflow.sdk import dag, task
@dag
def my_dag():
@task.pixi(dependencies={"python": "3.12.*"}, pypi_dependencies=["pandas>=2"])
def summarize(n: int) -> float:
import pandas as pd # imports go inside the function: it runs in the Pixi environment
return float(pd.Series(range(n)).mean())
summarize(3)
my_dag()
Pass pixi_project_path or pixi_toml_path instead to use an existing Pixi project. The
Pixi Operator guide
covers the ways to choose an environment, arguments and return values, the Airflow context,
environment variables, errors, timeouts and caches.
Operators, decorators and sensor
| Class / decorator | What it does |
|---|---|
PixiOperator / @task.pixi |
runs a Python callable in a Pixi environment on the worker |
PixiBashOperator / @task.pixi_bash |
runs a Bash command in a Pixi environment |
PixiTaskOperator |
runs a task from the manifest's [tasks] |
PixiKubernetesPodOperator / @task.pixi_kubernetes |
runs a Python callable in a Pixi environment in a Kubernetes pod |
PixiBranchOperator / @task.pixi_branch |
chooses the downstream tasks to follow |
PixiShortCircuitOperator / @task.pixi_short_circuit |
skips downstream tasks when the callable returns a falsy value |
PixiSensor / @task.pixi_sensor |
waits until the callable returns a truthy value |
Credentials for private conda channels and PyPI indexes go in a
pixi connection.
Other providers can build on these operators; see
Building on the Pixi Operator.
Development
With uv, just and pixi installed:
just devinstalls the package with the dev and docs groups and the pre-commit hooks.just testruns the unit tests, with a fake pixi.just checkruns what CI runs: lint, unit tests, docs build, package build and smoke test.just standalonestarts a local Airflow at http://localhost:8080 with the DAGs indev/dags.
just lists the other recipes. Integration, system and compatibility tests are described in
System Tests and
Installing from sources.
License
MIT
Metadata
Release files for apache-airflow-providers-pixi 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| apache_airflow_providers_pixi-0.0.1.tar.gz | 86.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| apache_airflow_providers_pixi-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 135.4 kB
Release files / apache_airflow_providers_pixi-0.0.1.tar.gz
| Download URL | apache_airflow_providers_pixi-0.0.1.tar.gz |
|---|---|
| Size | 86.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e8deb0ea87947b5ddd110b20c28b08dfbf8cd79d45a8b97bd552a52ad59a1b18
|
|
BLAKE2b-256 checksum How to use checksums |
9f5dbf28ea6ca5c33ed3b3a5fed5caeb8411f80fb419de194b4a43fccbe0d56a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 9, 2026.
Transparency logRelease files / apache_airflow_providers_pixi-0.0.1-py3-none-any.whl
| Download URL | apache_airflow_providers_pixi-0.0.1-py3-none-any.whl |
|---|---|
| Size | 49.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e7339dea6363783670e513e1715d62967055ad3f34d01ad6a04635e6275d5cc2
|
|
BLAKE2b-256 checksum How to use checksums |
37e1ba3eec8d8a4149a3a0ef4bc198eac09d3a301cb8931b6e480e2895fa3ea6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 9, 2026.
Transparency log