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.5.tar.gz (9.1 kB view details)

Uploaded Source

Built Distribution

evergreen.py-0.1.5-py3-none-any.whl (16.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

Hashes for evergreen.py-0.1.5.tar.gz
Algorithm Hash digest
SHA256 32864c73e9313d84a9360ff8d7e76715cb03f0fe6cf0b3ff566eb75b4e36cacb
MD5 fc3a3c123440c6a28b14e553edd49e86
BLAKE2b-256 a0b9bda81d20dd352fbe3a6e2c65028f5e1b23ae52a4a1f909747cbe4eac3a80

See more details on using hashes here.

File details

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

File metadata

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

Hashes for evergreen.py-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 cc21b35260bb4c1d3ffdeb6a089f42216a5cbbc5c50196eea76cd4043cd92101
MD5 c5f64b6848ec012537a1e0eeb6d7e1d0
BLAKE2b-256 1c799c55ad806f21c975e8fef7e13dcb945a333a2b55f18fd313db915fa47a02

See more details on using hashes here.

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