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('your-api-key-here')
dir(client) # show available resources
By default, the client connects to https://api.mpcontribs.org. The host
argument or the
MPCONTRIBS_API_HOST
environment variable can be set to connect to other MPContribs-style
APIs:
client = Client('your-api-key-here', 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
File details
Details for the file mpcontribs-client-3.0.0.tar.gz
.
File metadata
- Download URL: mpcontribs-client-3.0.0.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6072cc3203ea599bdb2517ede8b73c36c591745a6a07f0a4661b654de4604233 |
|
MD5 | c7cece5af2f2e254ebb9aa081146de37 |
|
BLAKE2b-256 | 739f6550e0bf3b41e72e0a765dcaba6fd0f6e636e3b9622592bec23d3eb407b0 |
Provenance
File details
Details for the file mpcontribs_client-3.0.0-py3-none-any.whl
.
File metadata
- Download URL: mpcontribs_client-3.0.0-py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2040a25b8f6fadb87e5a710085ce4af78badae8be6775380f52d72f933b2c500 |
|
MD5 | f603e5d00100fe968c7791ee3c0eccae |
|
BLAKE2b-256 | 1fd844fdb409b644a95eaf509d59b6b987c19b69e2969b677d4af241b3836b07 |