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 }
Metadata
Release files for elibs-epython 2021.1045
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| elibs-epython-2021.1045.tar.gz | 11.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| elibs_epython-2021.1045-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 27.3 kB
Release files / elibs-epython-2021.1045.tar.gz
| Download URL | elibs-epython-2021.1045.tar.gz |
|---|---|
| Size | 11.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f718504d3139e8ad65bf94782cec3da174f41cb6dc6a39c8d659f4e99ed15e98
|
|
BLAKE2b-256 checksum How to use checksums |
a048b1455167a6690a8f44f84347e13266cfa6cfb3f2306ec793be4665ea5143
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / elibs_epython-2021.1045-py3-none-any.whl
| Download URL | elibs_epython-2021.1045-py3-none-any.whl |
|---|---|
| Size | 16.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f9721a24a37c76f9979f487c8d3820bdb0c0456a4b7d6a005e3a7e7070a90bb7
|
|
BLAKE2b-256 checksum How to use checksums |
5d61d2bd8092a95c153ced985fdf54b47cea6664b21a91288b2406ef7a8704b2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|