A set of modules that help with QA
Project description
EPython
The purpose of this library is to provide helper abstractions on top of well known libraries. The idea is to harden existing technologies and build easy-to-use wrappers for incorporation in test or production python code.
Overrides
There are instances when retry logic needs to be tweaked to make tests more performant, or more hardened. For this purpose, there are environmental variables that can be set to change the retry behavior.
Below are the current overrides that are available:
| Env Variable | Default | Description |
|---|---|---|
| EPYTHON_LOG_LEVEL | INFO | Control the epython logging level |
| EPYTHON_LOG_FILE | None | Set this to have all epython output logging to a file |
| EPYTHON_REQUEST_ID | "epython-poke" | Set this to control what X-Request-ID is presented using poke |
| EPYTHON_REQUEST_INTERVAL | 5 | The length of time between subsequent request retries |
| EPYTHON_REQUEST_RETRIES | 5 | The number of request retries to make |
| EPYTHON_SSH_KEY | None | Private SSH key to use |
| EPYTHON_SSH_RETRIES | 3 | The number of times to retry an ssh login operation |
| EPYTHON_SSH_RETRY_INTERVAL | 5 | The time to wait before a new ssh attempt |
Requests Headers:
EPYTHON_REQUEST_ID defaults to "epython-poke"
POKE_HEADERS = { "Content-Type": "application/json", "Accept": "application/json", "X-Request-ID": EPYTHON_REQUEST_ID }
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 elibs-epython-2021.1045.tar.gz.
File metadata
- Download URL: elibs-epython-2021.1045.tar.gz
- Upload date:
- Size: 11.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f718504d3139e8ad65bf94782cec3da174f41cb6dc6a39c8d659f4e99ed15e98
|
|
| MD5 |
1af35b1bbf24ccd2fd604ffbf97f2c15
|
|
| BLAKE2b-256 |
a048b1455167a6690a8f44f84347e13266cfa6cfb3f2306ec793be4665ea5143
|
File details
Details for the file elibs_epython-2021.1045-py3-none-any.whl.
File metadata
- Download URL: elibs_epython-2021.1045-py3-none-any.whl
- Upload date:
- Size: 16.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f9721a24a37c76f9979f487c8d3820bdb0c0456a4b7d6a005e3a7e7070a90bb7
|
|
| MD5 |
9fb55f0eaeff79f78b382205b76ee7fd
|
|
| BLAKE2b-256 |
5d61d2bd8092a95c153ced985fdf54b47cea6664b21a91288b2406ef7a8704b2
|