Metablock cloud python client
Project description
A Python Client for Metablock API
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
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
metablock-0.7.0.tar.gz
(7.5 kB
view hashes)
Built Distribution
metablock-0.7.0-py3-none-any.whl
(10.6 kB
view hashes)
Close
Hashes for metablock-0.7.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 616ba9e17ef209041659f8fd1961d39de92625a1ab8d0b56a1166947f026e7d3 |
|
MD5 | e0d97eaaaab0bc9787cd7985c72a0c0e |
|
BLAKE2b-256 | d26a423e900897b5ea54a2f6d2f9cd8cc493ddf119b5376a47a3f766bf0adfd9 |