A Python client to interact with a Quetz server.
Project description
quetz-client
A Python client to interact with a Quetz server.
Installation
You can install the package in development mode using:
git clone git@github.com:mamba-org/quetz-client.git
cd quetz-client
# create and activate a fresh environment named quetz-client
# see environment.yml for details
mamba env create
conda activate quetz-client
pre-commit install
pip install --no-build-isolation -e .
Usage
Python Client
from quetz_client import QuetzClient
url = "" # URL to your Quetz server
token = "" # API token for your Quetz server
client = QuetzClient.from_token(url, token)
for channel in client.yield_channels():
print(channel)
CLI Client
export QUETZ_SERVER_URL="" # URL to your Quetz server
export QUETZ_API_KEY="" # API token for your Quetz server
quetz-client --help
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
quetz_client-0.1.0.tar.gz
(5.0 kB
view hashes)
Built Distribution
Close
Hashes for quetz_client-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b007d944b0509f5d856b6a410d058b553370ebd94fe1d9c5374388678c6e01d1 |
|
MD5 | d65f79164687a4996a15129bccaac527 |
|
BLAKE2b-256 | 24a32ced291ed30c105ae54c8e5333d733e0909ce1cf22e937af50ad43a3ae7c |