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
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 evergreen.py-0.1.12.tar.gz.
File metadata
- Download URL: evergreen.py-0.1.12.tar.gz
- Upload date:
- Size: 12.0 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 |
e06c3de7d06466e75ce0f3a2647ba4b99c2baa0d86666c59f45fee3eb4641978
|
|
| MD5 |
137f8b7abd442f8e6eca50e1d6fde6ca
|
|
| BLAKE2b-256 |
cccfc44aa1d634a0ab2abdbf4c3ed16e0793906362863425ea6366ea1d077165
|
File details
Details for the file evergreen.py-0.1.12-py3-none-any.whl.
File metadata
- Download URL: evergreen.py-0.1.12-py3-none-any.whl
- Upload date:
- Size: 20.7 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 |
519a1c82a49f213cc557a1b39396d6ac55b9c71a265f7ec92048b8dcb5e9699a
|
|
| MD5 |
ce24a68322c451b49a9a7b870bbe31d0
|
|
| BLAKE2b-256 |
ef219c8c52c87dd505c7bb396321640db0a04e0c1a9bbe3b044687c53f4450c0
|