Skip to main content

Metablock cloud python client

Project description

A Python Client for Metablock API

PyPI version Python versions Build codecov

This is an asynchronous python client for metablock API.


This is a simple python package you can install via pip:

pip install metablock


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

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.1.tar.gz (7.5 kB view hashes)

Uploaded source

Built Distribution

metablock-0.7.1-py3-none-any.whl (10.6 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page