Skip to main content

Metablock cloud python client

Project description

A Python Client for Metablock API

PyPI version Python versions Build codecov

This is an asynchronous python client for metablock API.

Installation

This is a simple python package you can install via pip:

pip install metablock

Usage

Create the client

from metablock import Metablock

cli = Metablock()

# get the user associated with the API token
user = await cli.get_user()

For the authentication token, you can use the METABLOCK_API_TOKEN environment variable, alternatively, you can pass it to the client constructor:

cli = Metablock(auth_key="your-token")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

metablock-0.8.0.tar.gz (7.6 kB view details)

Uploaded Source

Built Distribution

metablock-0.8.0-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

Details for the file metablock-0.8.0.tar.gz.

File metadata

  • Download URL: metablock-0.8.0.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.12.7 Linux/6.5.0-1025-azure

File hashes

Hashes for metablock-0.8.0.tar.gz
Algorithm Hash digest
SHA256 b68e9b92833ac4c573b6f0625728ee65b66f9c12abf649b68a55d2192053f7c7
MD5 8c34b797bb494e0055e2493512584edb
BLAKE2b-256 395d27beb1777d3fc6ba7d25c499fb31e3c15bb0fc85899ef82a73aae4b71f31

See more details on using hashes here.

File details

Details for the file metablock-0.8.0-py3-none-any.whl.

File metadata

  • Download URL: metablock-0.8.0-py3-none-any.whl
  • Upload date:
  • Size: 10.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.12.7 Linux/6.5.0-1025-azure

File hashes

Hashes for metablock-0.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3ebbc106a4377b1e9b275d788b097767173ecfe68cfe689e7b42fb9b035c24cb
MD5 e5ad68b7b467fac63c9ca65295fae828
BLAKE2b-256 00dd5235a053d7b223e65f34d285de28f71607c83f68ac72806b4c0e6a9cfced

See more details on using hashes here.

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