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.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06ab1c8178bfd6887d4bd573361c1d3330903febaed5718a8e7500e3bac692c5 |
|
MD5 | 2036f60422033fb852cfc8da939096d1 |
|
BLAKE2b-256 | 264656d9832b66c8644314fbac7aa52e612e006ef4036c292bf912eb33b7157c |