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-api.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.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa9930e24698e7a24c99a57a915e307f7a521fba55a6f25207cec747c0a2e018 |
|
MD5 | a9f198633fb9847c083ae6d83adbcdba |
|
BLAKE2b-256 | 15610b9b46760de0ffd372f95c37c7931d55e9db3513594842b1a6332d3ac18f |