airflow-installer


Nameairflow-installer JSON
Version 0.1.0 PyPI version JSON
download
home_page
SummaryA lightweight Python package to simplify the installation of Apache Airflow effortlessly.
upload_time2023-08-13 01:32:04
maintainer
docs_urlNone
authorKaxil Naik
requires_python>=3.7,<4.0
licenseApache License, Version 2.0
keywords airflow installer cli apache-airflow
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Airflow Installer

![PyPI](https://img.shields.io/pypi/v/airflow-installer)
![GitHub](https://img.shields.io/github/license/kaxil/airflow-installer)

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:


```bash
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
```shell
# 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
```


            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "airflow-installer",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7,<4.0",
    "maintainer_email": "",
    "keywords": "airflow,installer,cli,apache-airflow",
    "author": "Kaxil Naik",
    "author_email": "kaxilnaik@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/9a/29/f57b868b31a78b8f4ca73d2a27b402fd4477928758d6bd02c98719f885b2/airflow_installer-0.1.0.tar.gz",
    "platform": null,
    "description": "# Airflow Installer\n\n![PyPI](https://img.shields.io/pypi/v/airflow-installer)\n![GitHub](https://img.shields.io/github/license/kaxil/airflow-installer)\n\nA command-line tool to simplify the installation of Apache Airflow in a virtual environment.\n\n## Features\n\n- Install Apache Airflow with optional dependencies in a virtual environment.\n- Automatically detect the latest version of Apache Airflow from PyPI.\n- Manage version constraints using constraints files.\n- Easy-to-use command-line interface (CLI) for seamless installation.\n\n## Installation\n\nYou can install airflow-installer using pip:\n\n\n```bash\npip install airflow-installer\n```\n\n## Options\n\n```\n Usage: airflow_installer [OPTIONS]\n\n\u256d\u2500 Options \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u256e\n\u2502 --version                                     TEXT  Apache Airflow version to install. Defaults to latest. [default: 2.6.3]                                                                                        \u2502\n\u2502 --constraints-url                             TEXT  URL of the constraints file. Defaults to latest version constraints.                                                                                           \u2502\n\u2502 --extras                                      TEXT  Extras or additional requirements to install with Apache Airflow.                                                                                              \u2502\n\u2502 --requirements                                TEXT  Path to a requirements.txt file to be used during installation.                                                                                                \u2502\n\u2502 --venv-path                                   TEXT  Path where the virtual environment will be created [default: .venv/airflow]                                                                                    \u2502\n\u2502 --recreate-venv         --no-recreate-venv          Recreate virtual environment if it already exists. [default: no-recreate-venv]                                                                                 \u2502\n\u2502 --verbose               --no-verbose                Enable verbose debugging output. [default: no-verbose]                                                                                                         \u2502\n\u2502 --install-completion                                Install completion for the current shell.                                                                                                                      \u2502\n\u2502 --show-completion                                   Show completion for the current shell, to copy it or customize the installation.                                                                               \u2502\n\u2502 --help                                              Show this message and exit.                                                                                                                                    \u2502\n\u2570\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u256f\n```\n\n## Usage\n```shell\n# Install the latest version of Apache Airflow in the default virtual environment\nairflow-installer\n\n# Install a specific version of Apache Airflow in a custom virtual environment\nairflow-installer --version 2.6.3 --venv-path .venv/my-airflow\n\n# Install Apache Airflow with specific extras and constraints\nairflow-installer --version 2.5.2 --extras \"[celery,crypto]\" --constraints-url \"https://raw.githubusercontent.com/apache/airflow/constraints-2.5.2/constraints-3.7.txt\"\n\n# Install Apache Airflow using a requirements.txt file\nairflow-installer --version 2.6.0 --requirements requirements.txt\n\n# Recreate the virtual environment if it already exists\nairflow-installer --recreate-venv\n\n# Enable verbose output for debugging\nairflow-installer --verbose\n```\n\n",
    "bugtrack_url": null,
    "license": "Apache License, Version 2.0",
    "summary": "A lightweight Python package to simplify the installation of Apache Airflow effortlessly.",
    "version": "0.1.0",
    "project_urls": null,
    "split_keywords": [
        "airflow",
        "installer",
        "cli",
        "apache-airflow"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "75c0637307578b41710c5703f89233a90e18fb78e8c72f42bcd5c22b1aa66404",
                "md5": "38fcc9d9c3c7c130322473bd4aee5987",
                "sha256": "aadc4e403b4a3906a45a93808889713c79722a897ef0ae24696bea14c1eded60"
            },
            "downloads": -1,
            "filename": "airflow_installer-0.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "38fcc9d9c3c7c130322473bd4aee5987",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7,<4.0",
            "size": 8704,
            "upload_time": "2023-08-13T01:32:03",
            "upload_time_iso_8601": "2023-08-13T01:32:03.189038Z",
            "url": "https://files.pythonhosted.org/packages/75/c0/637307578b41710c5703f89233a90e18fb78e8c72f42bcd5c22b1aa66404/airflow_installer-0.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9a29f57b868b31a78b8f4ca73d2a27b402fd4477928758d6bd02c98719f885b2",
                "md5": "3ea962af1689057d89f7889fd7eeaaa9",
                "sha256": "16eb4ce41f182345125e237262a06c21d8a068ea6d34afc33d79ceb9433c8cc5"
            },
            "downloads": -1,
            "filename": "airflow_installer-0.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "3ea962af1689057d89f7889fd7eeaaa9",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7,<4.0",
            "size": 7926,
            "upload_time": "2023-08-13T01:32:04",
            "upload_time_iso_8601": "2023-08-13T01:32:04.378666Z",
            "url": "https://files.pythonhosted.org/packages/9a/29/f57b868b31a78b8f4ca73d2a27b402fd4477928758d6bd02c98719f885b2/airflow_installer-0.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-08-13 01:32:04",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "airflow-installer"
}
        
Elapsed time: 0.10286s