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.4rc2.tar.gz (172.1 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.4rc2-py3-none-any.whl (70.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for apache_airflow_ctl-0.1.4rc2.tar.gz
Algorithm Hash digest
SHA256 8997f9f66f0659a4831353afc3f64c15b0a8245b23602cec5d5a9e7e3fa384e5
MD5 e85a66246bac89316caf6325e725fde9
BLAKE2b-256 3307bf921a2a637786839bf34a1333052c7de9bc22934446d1f16f1a91ea13d5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for apache_airflow_ctl-0.1.4rc2-py3-none-any.whl
Algorithm Hash digest
SHA256 aeb74997f4db9d4f62d5c22a9eaff526e84036d130315f32bc6f8f442efa2aa8
MD5 22f2413af95518a7def44882080ccde8
BLAKE2b-256 627c8a28082b3cca458e102b45cd928b4c1e083eaa2d4b01b4c9af1d2d61f88c

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