Skip to main content

airflowctl

A command-line tool for interacting with Apache Airflow instances through the Airflow REST API. It offers a convenient interface for performing common operations remotely without direct access to the Airflow scheduler or webserver.

Features

  • Communicates with Airflow instances through the REST API
  • Supports authentication using Airflow API tokens
  • Executes commands against remote Airflow deployments
  • Provides intuitive command organization with group-based structure
  • Includes detailed help documentation for all commands

Requirements

  • Python 3.10 or later (compatible with 3.10 <= Python <= 3.14)
  • Network access to an Apache Airflow instance with REST API enabled
  • [Recommended] Keyring backend installed in operating system for secure token storage.
    • In case there's no keyring available (common in headless environments) you can provide the token to each command. See the Security page for more information.

Usage

Access the tool from your terminal:

Command Line

airflowctl --help

Contributing

Want to help improve Apache Airflow? Check out our contributing documentation.

Additional Contribution Guidelines

  • Please ensure API is running while doing development testing.
  • There are two ways to have a CLI command,
    • Auto Generated Commands
    • Implemented Commands

Auto Generated Commands

Auto generation of commands directly from operations methods under airflow-ctl/src/airflowctl/api/operations.py. Whenever operation is mapped with proper datamodel and response model, it will be automatically added to the command.

You can check each command with airflowctl <command> --help to see the available options.

Implemented Commands

Implemented commands are the ones which are not auto generated and need to be implemented manually. You can check the implemented commands under airflow-ctl/src/airflowctl/clt/commands/.

Release files for apache-airflow-ctl 0.1.5

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

Source distribution (sdist)

Source distribution for apache-airflow-ctl 0.1.5
File Size Uploaded
apache_airflow_ctl-0.1.5.tar.gz 177.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for apache-airflow-ctl 0.1.5
File Interpreter ABI Platform
apache_airflow_ctl-0.1.5-py3-none-any.whl Python 3 none any Details

Total release size: 249.8 kB

Release files / apache_airflow_ctl-0.1.5.tar.gz

Download URL apache_airflow_ctl-0.1.5.tar.gz
Size 177.4 kB
Tags Source
SHA-256 checksum
How to use checksums
4216fb919b6281de42ffe5f189c63411417cf95f69d80d6aa28d7159001334c9
BLAKE2b-256 checksum
How to use checksums
efcf756e2d56ff03b71fcf40a5589204cc461c27726c88ea11fa295bbef9f388
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.9

Release files / apache_airflow_ctl-0.1.5-py3-none-any.whl

Download URL apache_airflow_ctl-0.1.5-py3-none-any.whl
Size 72.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
12215a587f34e0fceddd75a129367f5a423373332179aca10ccec2370be8767c
BLAKE2b-256 checksum
How to use checksums
b2933f258d8ad11278f750d46c5e7689f90cba007a63f3158ef698770d5fcf6d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.9

Release history Release notifications | RSS feed

This release

0.1.5 This release

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

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