Skip to main content

Airflow Installer

PyPI GitHub

A command-line tool to simplify the installation of Apache Airflow in a virtual environment.

Features

  • Install Apache Airflow with optional dependencies in a virtual environment.
  • Automatically detect the latest version of Apache Airflow from PyPI.
  • Manage version constraints using constraints files.
  • Easy-to-use command-line interface (CLI) for seamless installation.

Installation

You can install airflow-installer using pip:

pip install airflow-installer

Options

 Usage: airflow_installer [OPTIONS]

╭─ Options ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ --version                                     TEXT  Apache Airflow version to install. Defaults to latest. [default: 2.6.3]                                                                                        │
│ --constraints-url                             TEXT  URL of the constraints file. Defaults to latest version constraints.                                                                                           │
│ --extras                                      TEXT  Extras or additional requirements to install with Apache Airflow.                                                                                              │
│ --requirements                                TEXT  Path to a requirements.txt file to be used during installation.                                                                                                │
│ --venv-path                                   TEXT  Path where the virtual environment will be created [default: .venv/airflow]                                                                                    │
│ --recreate-venv         --no-recreate-venv          Recreate virtual environment if it already exists. [default: no-recreate-venv]                                                                                 │
│ --verbose               --no-verbose                Enable verbose debugging output. [default: no-verbose]                                                                                                         │
│ --install-completion                                Install completion for the current shell.                                                                                                                      │
│ --show-completion                                   Show completion for the current shell, to copy it or customize the installation.                                                                               │
│ --help                                              Show this message and exit.                                                                                                                                    │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

Usage

# Install the latest version of Apache Airflow in the default virtual environment
airflow-installer

# Install a specific version of Apache Airflow in a custom virtual environment
airflow-installer --version 2.6.3 --venv-path .venv/my-airflow

# Install Apache Airflow with specific extras and constraints
airflow-installer --version 2.5.2 --extras "[celery,crypto]" --constraints-url "https://raw.githubusercontent.com/apache/airflow/constraints-2.5.2/constraints-3.7.txt"

# Install Apache Airflow using a requirements.txt file
airflow-installer --version 2.6.0 --requirements requirements.txt

# Recreate the virtual environment if it already exists
airflow-installer --recreate-venv

# Enable verbose output for debugging
airflow-installer --verbose

Metadata

Release files for airflow-installer 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 airflow-installer 0.1.0
File Size Uploaded Provenance Actions
airflow_installer-0.1.0.tar.gz 7.9 kB Without provenance Details for airflow_installer-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for airflow-installer 0.1.0
File Interpreter ABI Platform Actions
airflow_installer-0.1.0-py3-none-any.whl Python 3 none any Details for airflow_installer-0.1.0-py3-none-any.whl

Total release size: 16.6 kB

Release files / airflow_installer-0.1.0.tar.gz

Download URL airflow_installer-0.1.0.tar.gz
Size 7.9 kB
Tags Source
SHA-256 checksum
How to use checksums
16eb4ce41f182345125e237262a06c21d8a068ea6d34afc33d79ceb9433c8cc5
BLAKE2b-256 checksum
How to use checksums
9a29f57b868b31a78b8f4ca73d2a27b402fd4477928758d6bd02c98719f885b2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.4

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

Download URL airflow_installer-0.1.0-py3-none-any.whl
Size 8.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
aadc4e403b4a3906a45a93808889713c79722a897ef0ae24696bea14c1eded60
BLAKE2b-256 checksum
How to use checksums
75c0637307578b41710c5703f89233a90e18fb78e8c72f42bcd5c22b1aa66404
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.4

Security for airflow-installer 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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