airflow-plugin-config-storage-0.1.0
توضیحات
Inject connections into the airflow database from configuration
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | airflow-plugin-config-storage-0.1.0 |
| نام | airflow-plugin-config-storage |
| نسخه کتابخانه | 0.1.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Drew J. Sonne |
| ایمیل نویسنده | drew.sonne@gmail.com |
| آدرس صفحه اصلی | https://bliseng.github.io/airflow-plugin-config-storage/ |
| آدرس اینترنتی | https://pypi.org/project/airflow-plugin-config-storage/ |
| مجوز | LGPLv3 |
# airflow-plugin-config-storage
Inject connections into the airflow database from configuration
## Quickstart
### Basic
```shell
$ pip install airflow-plugin-config-storage
$ export AIRFLOW_CONN_POSTGRES_MASTER=postgres://username:password@my.db.example.com/my-schema
$ load-airflow-conf-env-var
$ airflow webserver
```
## Common
### CLI Commands
#### `delete-all-airflow-connnections`
Removes all the connections from Airflow. Used to clean out
the default connections.
## Environment Variables
### Structure
The Environment Variables to read from by default are the same
as those defined in the [Airflow documentation](https://airflow.readthedocs.io/en/stable/howto/manage-connections.html#creating-a-connection-with-environment-variables).
### CLI Commands
#### `load-airflow-conf-env-var`
Takes a single optional argument `--env-var-prefix ENV_VAR_PREFIX`
to override the Environment Variable prefix. Default is `AIRLFOW_CONN_`.
## AWS
_NOTE_: Not yet implemented, these are proposals
### SSM
#### Hierarchy
- `/${user_prefix}/airflow/connections/`
```
[
{
"conn_type": "s3",
},
{}
]
```
- `/${user_prefix}/airflow/`
نیازمندی
| مقدار | نام |
|---|---|
| - | click |
| - | unidecode |
| - | apache-airflow |
نحوه نصب
نصب پکیج whl airflow-plugin-config-storage-0.1.0:
pip install airflow-plugin-config-storage-0.1.0.whl
نصب پکیج tar.gz airflow-plugin-config-storage-0.1.0:
pip install airflow-plugin-config-storage-0.1.0.tar.gz