apache-airflow-client
Apache Airflow API (Stable)
What it is and what it does
Apache Airflow Client is a Python wrapper around the Apache Airflow REST API, providing typed access to Airflow's CRUD operations on resources like DAGs, connections, and task runs through standard HTTP methods (POST, GET, PATCH, DELETE). It handles JSON serialization, authentication headers, and response parsing, allowing developers to manage Airflow workflows programmatically without constructing raw HTTP requests.
The client depends on pydantic for data validation, python-dateutil for timestamp handling, and urllib3 for HTTP transport. It supports Python 3.10 through 3.14 and is maintained as part of the Apache Airflow project with active development. It is designed for integration into automation tools, monitoring systems, and CI/CD pipelines that need to control Airflow remotely.
Use it for:
- Pause or unpause DAGs and manage their state from external applications or scripts.
- Programmatically create, read, and update Airflow connections and variables from deployment automation.
- Monitor DAG runs and task execution status in real-time from monitoring or alerting systems.
- Build CI/CD pipelines that trigger DAG runs or manage Airflow configuration without direct database access.
- Integrate Airflow orchestration into multi-tool workflows that need to coordinate with other systems.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
A Python client library for the Apache Airflow REST API that enables programmatic management of Airflow objects through standard HTTP operations.
Yes. The package is actively maintained, has no known vulnerabilities, installs with low friction, and is licensed permissively under Apache-2.0. It is the official Python client for Airflow's REST API and is suitable for any workflow that needs to manage or monitor Airflow remotely. Install it if you need programmatic control of Airflow from Python.
Install
apache-airflow-client on PyPI
pip
pip install apache-airflow-clientuv
uv add apache-airflow-clientpoetry
poetry add apache-airflow-clientInstalling apache-airflow-client
Before you install
Low friction installation with a pure-Python wheel and minimal dependencies. Active maintenance with a recent release 31 days ago and ongoing repository activity.
License in practice
Licensed under Apache-2.0 (permissive), allowing commercial and private use with minimal restrictions beyond attribution and liability disclaimers.
Quickstart
pip install apache-airflow-client
from apache_airflow_client.client.api import dags_api
# Create a client and use it to interact with Airflow REST endpoints
api = dags_api.DAGsApi()
Requires Python 3.10 or later (3.15 excluded); requires a running Airflow instance with REST API enabled and appropriate authentication credentials.
Verify before relying
- Whether the client auto-generates from OpenAPI specifications and how frequently it tracks Airflow API changes.
- Specific version compatibility between client releases and Airflow server versions.
- Whether all Airflow REST API endpoints are fully covered by the client library.
- How to properly instantiate and configure the API client with authentication.
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 — pydantic, python-dateutil, urllib3 |
| Maintenance | actively maintained — 31 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 653,150/month — #5,537 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: apache_airflow_client-3.3.0-py3-none-any.whl
Keywords: Apache Airflow API (Stable), OpenAPI, OpenAPI-Generator
Tags
More Monitoring packages
Wraps any iterable to display a real-time…
copyleft · top 100 on PyPI
opentelemetry-semantic-conventionsProvides generated Python code for…
permissive · top 100 on PyPI
opentelemetry-sdkProvides the reference implementation of the…
permissive · top 100 on PyPI
opentelemetry-apiProvides the abstract API and interfaces for…
permissive · top 100 on PyPI
opentelemetry-exporter-otlp-proto-httpExports OpenTelemetry observability data to an…
permissive · top 1,000 on PyPI
opentelemetry-instrumentationProvides automatic instrumentation commands and…
permissive · top 1,000 on PyPI
apache-airflow-task-sdkProvides Python interfaces and task execution…
permissive · top 5,000 on PyPI
apache-airflow-providers-openaiIntegrates OpenAI APIs into Apache Airflow…
permissive · top 15,000 on PyPI
apache-airflowApache Airflow is a platform for…
permissive · top 1,000 on PyPI
apache-airflow-providers-gitIntegrates Git version control operations into…
permissive · top 15,000 on PyPI
apache-airflow-providers-asanaIntegrates Apache Airflow with Asana, enabling…
permissive · top 15,000 on PyPI
apache-airflow-providers-keycloakIntegrates Keycloak identity and access…
permissive · top 15,000 on PyPI
apache-airflow-providers-discordIntegrates Discord messaging into Apache…
permissive · top 15,000 on PyPI
apache-airflow-providers-common-ioProvides common I/O utilities and operators for…
permissive · top 5,000 on PyPI
apache-airflow-providers-imapIntegrates IMAP email protocol support into…
permissive · top 5,000 on PyPI
launchdarkly-apiA Python client library for LaunchDarkly's REST…
permissive · top 15,000 on PyPI