Catch an exception and exit with an exit code
Project description
What is Evacuator?
Decorator/context manager designed to catch a certain exception and exit with specific exit code.
- Designed to be used in Apache Airflow with:
BashOperator (airflow>2.1)
PythonVirtualenvOperator (airflow>=2.6)
ExternalPythonOperator (airflow>=2.6)
DockerOperator (apache-airflow-providers-docker>=3.5)
KubernetesPodOperator (apache-airflow-providers-cncf-kubernetes>=6.1)
SSHOperator (apache-airflow-providers-ssh>=3.10)
any other operator support skipping task when process is exited with some specific exit code (skip_on_exit_code option)
How to install
pip install evacuator
Documentation
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file evacuator-1.0.4.tar.gz.
File metadata
- Download URL: evacuator-1.0.4.tar.gz
- Upload date:
- Size: 9.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4fac38ee4241e826fced8115ab7cdc8ca2fd18e2e200083405c4a802e836e926
|
|
| MD5 |
5f8d4e6436259ae149d89befb5334317
|
|
| BLAKE2b-256 |
fd072f7a10e806c275952e80008285c4e0e432008b031de9b6a90e2db6f65743
|
File details
Details for the file evacuator-1.0.4-py3-none-any.whl.
File metadata
- Download URL: evacuator-1.0.4-py3-none-any.whl
- Upload date:
- Size: 9.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0c3a5fafa2c41fba1272e18bead116954cd3ac7bf97c3050fa77f516def88c1b
|
|
| MD5 |
76f56874a61650c09fe2436278f6e6ff
|
|
| BLAKE2b-256 |
37520e4caa5d4cfadbbb86a17df30f79c3fb9cd1d46f4dbeb1aa323e4af78acd
|