Python client for the Evergreen API
Project description
# Evergreen.py
A client library for the Evergreen API written in python. Currently supports the V2 version of the API. For more details, see https://github.com/evergreen-ci/evergreen/wiki/REST-V2-Usage .
## Usage
` >>> from evergreen.api import EvgAuth, EvergreenApi >>> api = EvergreenApi.get_api(EvgAuth('david.bradford', '***')) >>> project = api.project_by_id('mongodb-mongo-master') >>> project.display_name 'MongoDB (master)' `
## Testing
Tox is being used for multiversion testing. Tests are run on python 2.7 and 3.6. You should have both of these installed locally. To run tests, install the requirements.txt and then run tox.
` $ pip install -r requirements.txt $ tox `
To get code coverage information, you can run pytest directly.
` $ pip install -r requirements.txt $ pytest --cov=src --cov-report=html `
This will generate an html coverage report in htmlcov/ directory.
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
File details
Details for the file evergreen.py-0.1.6.tar.gz
.
File metadata
- Download URL: evergreen.py-0.1.6.tar.gz
- Upload date:
- Size: 9.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ab6649f952fda8f423b777b2fe2c3c347560add6156b3a76370b7fa08527c24 |
|
MD5 | aebaa702c6652bce9f9ccad6867d9124 |
|
BLAKE2b-256 | 05e34bb3070e2f09e3396ac75c280eb45f3d34f4b2f44fde765d3f1957abcfca |
Provenance
File details
Details for the file evergreen.py-0.1.6-py3-none-any.whl
.
File metadata
- Download URL: evergreen.py-0.1.6-py3-none-any.whl
- Upload date:
- Size: 16.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9549b9ec457232df7d5a6c3708fad54c2298e93e0e8943dde8216059c9b7aa8 |
|
MD5 | 89a5245072047108659a6460f74b70ea |
|
BLAKE2b-256 | 0fe313e18209c804b0278096a994d320059b3e4ea4d58ef776b354a6a02da0e1 |