Skip to main content

Apache Airflow command line tool for communicating with an Apache Airflow, using the API.

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

apache_airflow_ctl-0.1.4.tar.gz (172.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

apache_airflow_ctl-0.1.4-py3-none-any.whl (70.0 kB view details)

Uploaded Python 3

File details

Details for the file apache_airflow_ctl-0.1.4.tar.gz.

File metadata

  • Download URL: apache_airflow_ctl-0.1.4.tar.gz
  • Upload date:
  • Size: 172.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for apache_airflow_ctl-0.1.4.tar.gz
Algorithm Hash digest
SHA256 8adf8d2e803e674235bac148480887497a229b7899cfca25e3709d7804e745f6
MD5 86837a1f6775a0d5ff34389120be9420
BLAKE2b-256 985ecf409504e18993d30f5f64ca6760c1cdc32e081cf06590bf8ef4d5ccf6cd

See more details on using hashes here.

File details

Details for the file apache_airflow_ctl-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for apache_airflow_ctl-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 e289e6ba948f18f07a75977b5e4c7963ff7af329bebf4b514b9af2f7c87dcb72
MD5 6d5fe30daec69c5a129d817ef74d2b1f
BLAKE2b-256 9cedc8ad11a301fe185547eb5860e5664e677acc2bb995803fb0cfed456b8024

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page