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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file airflow_connections_manager-0.0.6.tar.gz
.
File metadata
- Download URL: airflow_connections_manager-0.0.6.tar.gz
- Upload date:
- Size: 8.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.7.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 694850ed55ed4d93590744ac4b66b5079dd431534db5fbb7e5defb1683ec55bb |
|
MD5 | fe852fc9de7849ef4c6072e8a53f2060 |
|
BLAKE2b-256 | a8b519c6a010b13023cb54562db092627d8e1e419fbf7a957a0c06a81bb6d484 |
File details
Details for the file airflow_connections_manager-0.0.6-py3-none-any.whl
.
File metadata
- Download URL: airflow_connections_manager-0.0.6-py3-none-any.whl
- Upload date:
- Size: 12.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.7.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eeba96d4c0d03ea3df7c1b9f1e13cde32e9b28ddfaa8d59e9e285f514776a5c4 |
|
MD5 | 901525fc0596c70aa1e3d6bf82d193f4 |
|
BLAKE2b-256 | 2bb68953a8696ce039b9825d3ed674be130b957eb4f7771b002b9a518e3356b2 |