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()
dir(client) # show available resources

By default, the client connects to https://contribs-api.materialsproject.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.org')

Project details


Release history Release notifications | RSS feed

This version

3.8.0

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.8.0.tar.gz (9.9 kB view details)

Uploaded Source

Built Distribution

mpcontribs_client-3.8.0-py2-none-any.whl (10.0 kB view details)

Uploaded Python 2

File details

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

File metadata

  • Download URL: mpcontribs-client-3.8.0.tar.gz
  • Upload date:
  • Size: 9.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.7

File hashes

Hashes for mpcontribs-client-3.8.0.tar.gz
Algorithm Hash digest
SHA256 189a85ff9d02227b05822a6e3aadbaa11debb96c7522a91b714f3a38b8cc99ed
MD5 f091f1c07db29de99c2c90ab853296f1
BLAKE2b-256 4b441c8c924dd2eeae104fa1cb29316c8384ddb20d47aa24049f15795eed440b

See more details on using hashes here.

Provenance

File details

Details for the file mpcontribs_client-3.8.0-py2-none-any.whl.

File metadata

  • Download URL: mpcontribs_client-3.8.0-py2-none-any.whl
  • Upload date:
  • Size: 10.0 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.7

File hashes

Hashes for mpcontribs_client-3.8.0-py2-none-any.whl
Algorithm Hash digest
SHA256 041d09e465ca75fec59e7c32fd261b2ac41e43b373db5b8652d1ad253d942162
MD5 42e5a72eadf78b2b9b84bf7b26de96e5
BLAKE2b-256 ee3dcb0160384855939531c260bb5a985feca91fb6d956070324913c4a3c8f7a

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