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://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.org')

Project details


Release history Release notifications | RSS feed

This version

3.5.4

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

Uploaded Source

Built Distribution

mpcontribs_client-3.5.4-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mpcontribs-client-3.5.4.tar.gz
  • Upload date:
  • Size: 9.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

File hashes

Hashes for mpcontribs-client-3.5.4.tar.gz
Algorithm Hash digest
SHA256 0543da2051ec6e9ca36d4e7c2e82fc65f87fdf5e1d8fc9a224e81291bc8c96de
MD5 d3147a6b7819988e78f76dd71d30167e
BLAKE2b-256 10faf518abb078e6565ea9d4d8bd6ff00651cfce2d76394714b3cadd01838f1b

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: mpcontribs_client-3.5.4-py3-none-any.whl
  • Upload date:
  • Size: 8.9 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/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

File hashes

Hashes for mpcontribs_client-3.5.4-py3-none-any.whl
Algorithm Hash digest
SHA256 63ad9e0c0e3da5ec76866cb5b4d41e3a118e56f3445f1ee25501eeeb185b20e0
MD5 d366b9bd387af88a8bdf72dbb7d8173b
BLAKE2b-256 8599b3c62be95ed6aa23ea4f924f9a40dd972fed22303c84f7128f8f42f757fa

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