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 Python >= 3.10 and < 3.13)
  • Network access to an Apache Airflow instance with REST API enabled
  • Keyring backend installed in operating system for secure token storage

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/.

Metadata

Release files for apache-airflow-ctl 0.1.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 apache-airflow-ctl 0.1.0
File Size Uploaded
apache_airflow_ctl-0.1.0.tar.gz 145.2 kB Details

Built distribution (wheel)

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

Total release size: 202.3 kB

Release files / apache_airflow_ctl-0.1.0.tar.gz

Download URL apache_airflow_ctl-0.1.0.tar.gz
Size 145.2 kB
Tags Source
SHA-256 checksum
How to use checksums
66058230e1aa240d71b0809cf843541544eb938325f8d1400db7d11884aa01b0
BLAKE2b-256 checksum
How to use checksums
45a7ff16f3d67392579e06bc11ead1f4307870488dab7e0baa166b33c18adfc3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.7

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

Download URL apache_airflow_ctl-0.1.0-py3-none-any.whl
Size 57.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4ed94678dcb738e10f1deebaf48ac09e771b9829092483a282e7153a4b6c25aa
BLAKE2b-256 checksum
How to use checksums
4c0cf5f0e39b63d9dcc6fdcaa9811897cee02b2e054572753c7dade7d98c74a9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.7

Release history Release notifications | RSS feed

0.1.5

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

This release

0.1.0 This release

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