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.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ebb8ee3ff5debe7462984880c5b5cd13fcd15d80cb98e68f92d723d8eb5689b |
|
MD5 | fa3546ae3a39c9cace4efb968a2f8169 |
|
BLAKE2b-256 | 869098fc862bb3d6840344c6ca56e4c14e575409d871e8ae00c18bbacb94e012 |