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.8.0.tar.gz
(7.6 kB
view hashes)
Built Distribution
metablock-0.8.0-py3-none-any.whl
(10.6 kB
view hashes)
Close
Hashes for metablock-0.8.0-py3-none-any.whl
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 | 3ebbc106a4377b1e9b275d788b097767173ecfe68cfe689e7b42fb9b035c24cb |
|
| MD5 | e5ad68b7b467fac63c9ca65295fae828 |
|
| BLAKE2b-256 | 00dd5235a053d7b223e65f34d285de28f71607c83f68ac72806b4c0e6a9cfced |