Skip to main content

client library for MPContribs API

Project description

PyPI Libraries.io dependency status for latest release

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

mpcontribs-client-3.1.5.tar.gz (7.7 kB view details)

Uploaded Source

Built Distribution

mpcontribs_client-3.1.5-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

Details for the file mpcontribs-client-3.1.5.tar.gz.

File metadata

  • Download URL: mpcontribs-client-3.1.5.tar.gz
  • Upload date:
  • Size: 7.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.5

File hashes

Hashes for mpcontribs-client-3.1.5.tar.gz
Algorithm Hash digest
SHA256 a1e3ed8fd20b212d589820d1787be7df162ffc0d167d33384a45233c516d30c9
MD5 e7b39c39c5b7267b0be8a1d2d4ebec6a
BLAKE2b-256 a4b7f49a3c137ea665529f8e03ca92a0e6f04df9fab695136565623707d4f1da

See more details on using hashes here.

Provenance

File details

Details for the file mpcontribs_client-3.1.5-py3-none-any.whl.

File metadata

  • Download URL: mpcontribs_client-3.1.5-py3-none-any.whl
  • Upload date:
  • Size: 7.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/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.5

File hashes

Hashes for mpcontribs_client-3.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 f3310979b3702a2aaf07247efa40ebd70998a71242d5c0ac3f939089e8acc89f
MD5 0a5cd57a249b49e604397d116a0add2b
BLAKE2b-256 13a5936ed058964dc6b6ea59c89100bb053bf899fe2569078fa3dc7ebc59bd06

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page