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 details)
Built Distribution
metablock-0.8.0-py3-none-any.whl
(10.6 kB
view details)
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | b68e9b92833ac4c573b6f0625728ee65b66f9c12abf649b68a55d2192053f7c7 |
|
MD5 | 8c34b797bb494e0055e2493512584edb |
|
BLAKE2b-256 | 395d27beb1777d3fc6ba7d25c499fb31e3c15bb0fc85899ef82a73aae4b71f31 |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ebbc106a4377b1e9b275d788b097767173ecfe68cfe689e7b42fb9b035c24cb |
|
MD5 | e5ad68b7b467fac63c9ca65295fae828 |
|
BLAKE2b-256 | 00dd5235a053d7b223e65f34d285de28f71607c83f68ac72806b4c0e6a9cfced |