Metadata-Version: 2.4
Name: airflow-common
Version: 0.7.9
Summary: Common operators and tasks for airflow
Project-URL: Repository, https://github.com/airflow-laminar/airflow-common
Project-URL: Homepage, https://github.com/airflow-laminar/airflow-common
Author-email: the airflow-common authors <t.paine154@gmail.com>
License: Apache-2.0
License-File: LICENSE
Classifier: Development Status :: 3 - Alpha
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Requires-Python: >=3.11
Requires-Dist: airflow-pydantic<1.7,>=1.6
Requires-Dist: pydantic>=2
Provides-Extra: airflow
Requires-Dist: apache-airflow-providers-ssh; extra == 'airflow'
Requires-Dist: apache-airflow-providers-standard; extra == 'airflow'
Requires-Dist: apache-airflow<3,>=2.8; extra == 'airflow'
Provides-Extra: airflow3
Requires-Dist: apache-airflow-providers-ssh; extra == 'airflow3'
Requires-Dist: apache-airflow-providers-standard; extra == 'airflow3'
Requires-Dist: apache-airflow<3.2,>=3; extra == 'airflow3'
Provides-Extra: develop
Requires-Dist: airflow-config>=1; extra == 'develop'
Requires-Dist: build; extra == 'develop'
Requires-Dist: bump-my-version; extra == 'develop'
Requires-Dist: check-dist; extra == 'develop'
Requires-Dist: codespell; extra == 'develop'
Requires-Dist: hatchling; extra == 'develop'
Requires-Dist: mdformat; extra == 'develop'
Requires-Dist: mdformat-tables>=1; extra == 'develop'
Requires-Dist: pytest; extra == 'develop'
Requires-Dist: pytest-cov; extra == 'develop'
Requires-Dist: ruff; extra == 'develop'
Requires-Dist: twine; extra == 'develop'
Requires-Dist: ty; extra == 'develop'
Requires-Dist: uv; extra == 'develop'
Requires-Dist: wheel; extra == 'develop'
Description-Content-Type: text/markdown

# airflow-common

Common operators and tasks for Airflow

[![Build Status](https://github.com/airflow-laminar/airflow-common/actions/workflows/build.yaml/badge.svg?branch=main&event=push)](https://github.com/airflow-laminar/airflow-common/actions/workflows/build.yaml)
[![codecov](https://codecov.io/gh/airflow-laminar/airflow-common/branch/main/graph/badge.svg)](https://codecov.io/gh/airflow-laminar/airflow-common)
[![License](https://img.shields.io/github/license/airflow-laminar/airflow-common)](https://github.com/airflow-laminar/airflow-common)
[![PyPI](https://img.shields.io/pypi/v/airflow-common.svg)](https://pypi.python.org/pypi/airflow-common)

## Overview

`airflow-common` provides common operators, topology helpers, and library management tasks for Apache Airflow workflows.

Key features:

- **Common Operators**: Convenience operators like `Skip`, `Fail`, and `Pass` for workflow control
- **Topology Helpers**: Functions like `all_success_any_failure` and `if_booted_do` for building complex DAG topologies
- **Library Management**: Pydantic models for `PipLibrary`, `CondaLibrary`, and `GitRepo` with corresponding operators for package installation
- **Infrastructure Tasks**: Operators for system maintenance like `JournalctlClean`

> [!NOTE]
> This library is built on [airflow-pydantic](https://github.com/airflow-laminar/airflow-pydantic) for Pydantic-based Airflow constructs, and integrates seamlessly with [airflow-config](https://github.com/airflow-laminar/airflow-config) for YAML-driven DAG definitions using Hydra.

## Installation

You can install from pip:

```bash
pip install airflow-common
```

Or via conda:

```bash
conda install airflow-common -c conda-forge
```

## License

This software is licensed under the Apache 2.0 license. See the [LICENSE](LICENSE) file for details.

> [!NOTE]
> This library was generated using [copier](https://copier.readthedocs.io/en/stable/) from the [Base Python Project Template repository](https://github.com/python-project-templates/base).
