Skip to main content

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

evergreen.py-0.1.11.tar.gz (12.0 kB view details)

Uploaded Source

Built Distribution

evergreen.py-0.1.11-py3-none-any.whl (20.7 kB view details)

Uploaded Python 3

File details

Details for the file evergreen.py-0.1.11.tar.gz.

File metadata

  • Download URL: evergreen.py-0.1.11.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

Hashes for evergreen.py-0.1.11.tar.gz
Algorithm Hash digest
SHA256 ed756ee56dcbb4a7dd8dddc98209ba675fccc5714bd3f46aa1368fd9bb44f32a
MD5 e83e7355bacadbe5ea67491c21acc871
BLAKE2b-256 a07a013a1df57841ec614b07f74f52373b9c985e6b9322ff0a638e7ad450e9e4

See more details on using hashes here.

Provenance

File details

Details for the file evergreen.py-0.1.11-py3-none-any.whl.

File metadata

  • Download URL: evergreen.py-0.1.11-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

Hashes for evergreen.py-0.1.11-py3-none-any.whl
Algorithm Hash digest
SHA256 ea869204f5ed0a5fd7fd6ffbd8feb1174ca30d3c0bed44a54124bc8120d579ab
MD5 47905a925e49c038d643c1258f2ce5b1
BLAKE2b-256 69650d1d88a20140cbc53525bf1fc470e7eb2b224fb6456c8d9e0fa9c9ea45df

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page