DARTS airflow plugins containing custom operators, sensors, callbacks and hooks
Project description
##### Airtel Airflow Plugins Library
##### Table of Contents
Overview Setup Usage
Overview Airtel Airflow Plugins Library containing all custom operators, sensors, callbacks and hooks.
Setup first create virtual env in your local setup - Note - make sure to create virtual env ending with _venv so the at the time of pushing code to git it must be ignored. python3 -m venv <virtual_env_name_venv> source <virtual_env_name_venv>/bin/activate Change the interpreter setting in your IDE to point it to correct virtual env
First, clone this repo to your local system. After you clone the repo, make sure to run the setup.py file, so you can install any dependencies you may need. To run the setup.py file, run the following command in your terminal.
Run requirement.txt in your virtual env. This will install all the dependencies listed in the requirements.txt file pip install -r requirements.txt
Below command will create wheel file. python setup.py bdist_wheel
Please make sure to have .pypirc file in your local home directory. We have attached sample in project home dir as well. This file contains repository url along with credential which we would be needing while running below command to publish the package on PYPI repository.
Below command will publish the package on PyPI repository twine upload –repository nexus dist/*
Usage The plugins package can be used in any Airflow setup for custom modules (Operators / Plugins / Sensors / Callbacks).
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 Distributions
Built Distribution
File details
Details for the file airtel_airflow_plugins-1.5.0-py3-none-any.whl
.
File metadata
- Download URL: airtel_airflow_plugins-1.5.0-py3-none-any.whl
- Upload date:
- Size: 40.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.27.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e7692cbcf59ec9e91877d53348a0e063d9cb421829eb7e5e9bdac9e2fdba3756 |
|
MD5 | 0074ca5816109f7de26aebdc4b0fee9e |
|
BLAKE2b-256 | 2749e59ddec387223b5a32901e3235a5c338f001270463d59372d5f3012ca378 |