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://contribs-api.materialsproject.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.8.0-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 041d09e465ca75fec59e7c32fd261b2ac41e43b373db5b8652d1ad253d942162 |
|
MD5 | 42e5a72eadf78b2b9b84bf7b26de96e5 |
|
BLAKE2b-256 | ee3dcb0160384855939531c260bb5a985feca91fb6d956070324913c4a3c8f7a |