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.4rc3.tar.gz (172.4 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.4rc3-py3-none-any.whl (70.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for apache_airflow_ctl-0.1.4rc3.tar.gz
Algorithm Hash digest
SHA256 7ded570f43b407300f9c1857b28b0a15dadf056394a87b4ee27189e2b50dc473
MD5 04a00ee27213a35232bb46fbb0d96ab1
BLAKE2b-256 8546a53b9cd371fc8a7852706efc562346f996bcf368b4cf3373f70642f4b891

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for apache_airflow_ctl-0.1.4rc3-py3-none-any.whl
Algorithm Hash digest
SHA256 ceac3ba71d7fa5af6197eaf3e7e175f88f4ece6d1e8bd8cdc040ecb2ae1f71a1
MD5 7c5a1ab9441dde9be4fd95b497a4acc2
BLAKE2b-256 fa5e166e9698e62c2a4f3ccddae217cf3b4ac3fa96802d0724fe46260f431861

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