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.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7dd59a2cb686c049e9605502e30c71726a24072dc23c7653409163c4582e6ff2 |
|
MD5 | 85a927a5c5cf17f27fd4d575a2c52bf7 |
|
BLAKE2b-256 | 9ea59afac210def0a4266ad532e0eb6dc2a287e25ef985acce806a566188e6e8 |