Skip to main content
https://raw.githubusercontent.com/astronomer/astronomer-cosmos/main/docs/_static/cosmos-logo.svg

License PyPI version Python versions PyPI downloads

Contributors Commit activity Slack #airflow-dbt LFX Health Score

pre-commit.ci status Build main

Run your dbt Core projects as Apache Airflow® DAGs and Task Groups with a few lines of code. Benefits include:

  • Run dbt projects against Airflow connections instead of dbt profiles

  • Native support for installing and running dbt in a virtual environment to avoid dependency conflicts with Airflow

  • Run tests immediately after a model is done to catch issues early

  • Utilize Airflow’s data-aware scheduling to run models immediately after upstream ingestion

  • Turn each dbt model into a task/task group complete with retries, alerting, etc.

Quickstart

Check out the Getting Started guide on our docs. See more examples at /dev/dags and at the cosmos-demo repo.

Example Usage

You can render a Cosmos Airflow DAG using the DbtDag class. Here’s an example with the jaffle_shop project:

https://github.com/astronomer/astronomer-cosmos/blob/24aa38e528e299ef51ca6baf32f5a6185887d432/dev/dags/basic_cosmos_dag.py#L1-L42

This will generate an Airflow DAG that looks like this:

https://github.com/astronomer/astronomer-cosmos/blob/main/docs/_static/jaffle_shop_dag.png

Community

  • Join us on the Airflow Slack at #airflow-dbt

Changelog

We follow Semantic Versioning for releases. Check CHANGELOG.rst for the latest changes.

Contributing Guide

All contributions, bug reports, bug fixes, documentation improvements, enhancements are welcome.

A detailed overview an how to contribute can be found in the Contributing Guide.

As contributors and maintainers to this project, you are expected to abide by the Contributor Code of Conduct.

License

Apache License 2.0

Privacy Notice

The application and this website collect telemetry to support the project’s development. These can be disabled by the end-users.

Read the Privacy Notice to learn more about it.

https://static.scarf.sh/a.png?x-pxid=ae43a92a-5a21-4c77-af8b-99c2242adf93

Metadata

Release files for astronomer-cosmos 1.16.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for astronomer-cosmos 1.16.0
File Size Uploaded Provenance Actions
astronomer_cosmos-1.16.0.tar.gz 240.2 kB With provenance Details for astronomer_cosmos-1.16.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for astronomer-cosmos 1.16.0
File Interpreter ABI Platform Actions
astronomer_cosmos-1.16.0-py3-none-any.whl Python 3 none any Details for astronomer_cosmos-1.16.0-py3-none-any.whl

Total release size: 549.8 kB

Release files / astronomer_cosmos-1.16.0.tar.gz

Download URL astronomer_cosmos-1.16.0.tar.gz
Size 240.2 kB
Tags Source
SHA-256 checksum
How to use checksums
ff1f563c429b83b7a51735fb0d15e8db07c4d5a9278ac9c8c200a9abf880c8a3
BLAKE2b-256 checksum
How to use checksums
ba3675b715d7d06585557122bf581c482c8d2eb4577fc33016e335842bcae09a
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 Nov 3, 2026.

Transparency log

Release files / astronomer_cosmos-1.16.0-py3-none-any.whl

Download URL astronomer_cosmos-1.16.0-py3-none-any.whl
Size 309.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1b955c90d80dcdfef276d23fc13a396707f06ce3b58eec98cb1478c1513e44ff
BLAKE2b-256 checksum
How to use checksums
6d0f312bacdbd7803cecd34dbb0295cb0abca2bc22c6b1ed181c4e36f17243a3
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 Nov 3, 2026.

Transparency log

Security for astronomer-cosmos 1.16.0

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for astronomer_cosmos-1.16.0.tar.gz

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 Nov 3, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.16.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page