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.6.2.tar.gz
(7.3 kB
view hashes)
Built Distribution
metablock-0.6.2-py3-none-any.whl
(10.5 kB
view hashes)
Close
Hashes for metablock-0.6.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e7ad0afd7fdac5e9a57532f64c08c8d4b52bc94b42dcc5f4bdef1ecb5342593a |
|
MD5 | 3ab780dc83efed1712c3265db7a3318a |
|
BLAKE2b-256 | e77d43656febf5d86de5f258a7cb3e0cbbaa34614c5b3f12c0a4771f6d500e29 |