Skip to main content

Library for managing Airflow connections (aka Secrets)

Project description

Airflow connections manager

Interface to access Airflow connections. Actually it works in Airflow environments with the API enabled with Basic Authentication

Usage

You must have the following environment variables declared

AIRFLOW_API_URL=<your Airflow API url like http://localhost:8080/api/v1>
AIRFLOW_API_TOKEN=<your Airflow Basic Auth token like Basic YXRtaW46YHRt8W4=>

Sample

from airflow_connections_manager import AirflowConnectionsManager

connections = AirflowConnectionsManager.list_connections()

Building for PyPi deployment

https://packaging.python.org/en/latest/tutorials/packaging-projects/

python -m pip install --upgrade build

python -m build

python -m twine upload --repository testpypi dist/*

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

airflow_connections_manager-0.0.6.tar.gz (8.1 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file airflow_connections_manager-0.0.6.tar.gz.

File metadata

File hashes

Hashes for airflow_connections_manager-0.0.6.tar.gz
Algorithm Hash digest
SHA256 694850ed55ed4d93590744ac4b66b5079dd431534db5fbb7e5defb1683ec55bb
MD5 fe852fc9de7849ef4c6072e8a53f2060
BLAKE2b-256 a8b519c6a010b13023cb54562db092627d8e1e419fbf7a957a0c06a81bb6d484

See more details on using hashes here.

File details

Details for the file airflow_connections_manager-0.0.6-py3-none-any.whl.

File metadata

File hashes

Hashes for airflow_connections_manager-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 eeba96d4c0d03ea3df7c1b9f1e13cde32e9b28ddfaa8d59e9e285f514776a5c4
MD5 901525fc0596c70aa1e3d6bf82d193f4
BLAKE2b-256 2bb68953a8696ce039b9825d3ed674be130b957eb4f7771b002b9a518e3356b2

See more details on using hashes here.

Supported by

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