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")
Command line
You can also use the client from the command line, to do so, install the package with the cli extra:
pip install metablock[cli]
Then you can use the metablock command:
metablock --help
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file metablock-1.1.0.tar.gz.
File metadata
- Download URL: metablock-1.1.0.tar.gz
- Upload date:
- Size: 8.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.13.4 Linux/6.11.0-1015-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f0af922215502ea8db09a9d1c67f06f87aa0a238733d53df90c42b06da9d92b9
|
|
| MD5 |
2e32f533ef3f23ad59d736958472476e
|
|
| BLAKE2b-256 |
d2fd5b6137c52acfff162459f6e3c3407f3466ff315ad959a35adfe02f7468c6
|
File details
Details for the file metablock-1.1.0-py3-none-any.whl.
File metadata
- Download URL: metablock-1.1.0-py3-none-any.whl
- Upload date:
- Size: 11.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.13.4 Linux/6.11.0-1015-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3edcb7c4546570d21239dc1e06a781e7264368385ab4bae41dd778b7ffd1c6b2
|
|
| MD5 |
47f8dbb625350871914884e6bc4a8781
|
|
| BLAKE2b-256 |
b03c86eeea8a4f74ae75a545e4f3edf2ce46020eca708d3d2bd24b0a787cf767
|