client library for MPContribs API
Project description
Small, dynamic python client library to connect to MPContribs APIs based on Yelp's bravado.
from mpcontribs.client import Client
client = Client()
dir(client) # show available resources
By default, the client connects to https://api.mpcontribs.org and uses the environment variable
MPCONTRIBS_API_KEY
to set the API key. The key can alternatively be set explicitly via the
apikey
argument to the constructor. The host
argument or the MPCONTRIBS_API_HOST
environment variable can be set to connect to other MPContribs-style APIs:
client = Client(host='ml-api.materialsproject.org')
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
Close
Hashes for mpcontribs_client-3.4.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | da519de29c357784283ea79b91b9e4476a00c257dcab2798adf4d6c756cefa3c |
|
MD5 | 2f5c24256108599e8e00afb67fb747ee |
|
BLAKE2b-256 | 9eaa79404dfc84be738c5d6f69d8316048df9e724099a0387e0f8931ffa1f5f2 |