Skip to main content

quetz-client

A Python client to interact with a Quetz server. This client is compatible with all quetz versions listed here.

Installation

From conda-forge

mamba install quetz-client

From this repo

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

Release files for quetz-client 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for quetz-client 0.5.0
File Size Uploaded
quetz_client-0.5.0.tar.gz 7.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for quetz-client 0.5.0
File Interpreter ABI Platform
quetz_client-0.5.0-py3-none-any.whl Python 3 none any Details

Total release size: 12.8 kB

Release files / quetz_client-0.5.0.tar.gz

Download URL quetz_client-0.5.0.tar.gz
Size 7.0 kB
Tags Source
SHA-256 checksum
How to use checksums
c955f6e60f08340a42e30d15b318d54e1c70dd8be3cf454a195db30f6414c4e4
BLAKE2b-256 checksum
How to use checksums
4c79c826fb308818bf9ee36c1e0bcf1a7a4dc13dcf1289ed62cb937d85a406f0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.10

Release files / quetz_client-0.5.0-py3-none-any.whl

Download URL quetz_client-0.5.0-py3-none-any.whl
Size 5.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8b00d21ebdcfd2b01d64082b59d764f083883a5a320ce6f3c4617504f6abeb20
BLAKE2b-256 checksum
How to use checksums
0c3e0ac0636547f657e38525fdb1e49a08994471bbc7665127f74c84e22c1f25
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.10

Release history Release notifications | RSS feed

This release

0.5.0 This release

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page