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.materialsproject.cloud')
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.1.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 46d4ba82265f2b530e4954a84605fd6edde0f61e09cad247b4794503c2edc7eb |
|
MD5 | 6233978f6ebf2403dd404c0e2b4e341e |
|
BLAKE2b-256 | fdd859b104d36d1e38343c7fc46d0e7cad0cbe647ca997113272717a1cb8dc15 |