[](https://travis-ci.org/egtaonline/egtaonline-api) [](https://coveralls.io/github/egtaonline/egtaonline-api)
Command line and python access to egtaonline.
Install
` pip install egtaonlineapi `
Usage
The command line entry point is eo. eo –help will list all the options available.
The python entry point is egtaonline.api. This has slightly more functionality than the command line api.
There is also a mock server at egtaonline.mockserver that handles all requests without actually modifying egta.
Cookbook
These are useful scripts that illustrate what can be done with the api.
Monitor a scheduler and report when it’s done:
` while ! eo sched <sched-id> -r | jq -e '.scheduling_requirements | map(.current_count >= .requirement) | all' > /dev/null; do sleep <sleep-interval>; done; <notify-script> `
This will poll <sched-id> every <sleep-interval> seconds and run <notify-script> when the scheduler is done.
Metadata
Release files for egtaonlineapi 0.8.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| egtaonlineapi-0.8.7.tar.gz | 33.4 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| egtaonlineapi-0.8.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 59.4 kB
Release files / egtaonlineapi-0.8.7.tar.gz
| Download URL | egtaonlineapi-0.8.7.tar.gz |
|---|---|
| Size | 33.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
01096c57061dffbca85caf04c1f5419fa7f754e3b816a76e85bc2f3f9509602b
|
|
BLAKE2b-256 checksum How to use checksums |
a9bb764b0386821fea18ce1269388baf22617eedb7ec7816cdc285da916f9785
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / egtaonlineapi-0.8.7-py3-none-any.whl
| Download URL | egtaonlineapi-0.8.7-py3-none-any.whl |
|---|---|
| Size | 26.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ae85da9fc032168533b4076bf94036bbe99acf5bdb99c32221813d40a09bc790
|
|
BLAKE2b-256 checksum How to use checksums |
5ef26fead50e7de8951239d7e182c02290ae6aaacf4152100b44e4a9c26cd982
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for egtaonlineapi 0.8.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.