Skip to main content

zicon-cli

A command line interface for the ZiCON Cloud API, built on top of the zicon-cloud Python SDK.

Install

pip install zicon-cli

This installs a zicon command on your PATH.

Authentication

Dataset, tool, and endpoint discovery commands work without any credentials. Project management commands require a ZiCON API key.

Set it as an environment variable:

export ZICON_API_KEY="your-api-key"

or pass it per-command with --api-key:

zicon projects list --api-key your-api-key

If a command needs an API key and neither the environment variable nor --api-key is provided, zicon prints an error explaining how to fix it and exits.

Usage

Datasets

List all available datasets:

zicon datasets list

Get full details for a single dataset:

zicon datasets get <dataset-id>

Get the download URL for a dataset's file:

zicon datasets download <dataset-id>

Tools

List tools available in the ZiCON ecosystem (name, language, install command):

zicon tools list

Endpoints

List the ZiCON Cloud API's HTTP endpoints (method, path, description):

zicon endpoints list

Projects (requires an API key)

List your projects:

zicon projects list

List the files belonging to a project:

zicon projects files <project-id>

Delete a project (prompts for confirmation before deleting):

zicon projects delete <project-id>

Errors

zicon catches the errors raised by the zicon-cloud SDK and prints a clean message instead of a Python traceback:

  • ZiconAuthError — missing or invalid credentials
  • ZiconPermissionError — credentials are valid but not permitted to perform the action
  • ZiconNotFoundError — the requested resource does not exist
  • ZiconServerError — the ZiCON Cloud API returned a server error

License

MIT

Metadata

Release files for zicon-cli 0.2.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 zicon-cli 0.2.0
File Size Uploaded
zicon_cli-0.2.0.tar.gz 3.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for zicon-cli 0.2.0
File Interpreter ABI Platform
zicon_cli-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.5 kB

Release files / zicon_cli-0.2.0.tar.gz

Download URL zicon_cli-0.2.0.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
ff15d13fd52f39c8be77dde3f817896e9abeb03c8ac76396a5fdb1a7d0ec6ea3
BLAKE2b-256 checksum
How to use checksums
9d737313660d97f2c8e5aa649957d161868afa7756ccd58250c9218133682bad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Release files / zicon_cli-0.2.0-py3-none-any.whl

Download URL zicon_cli-0.2.0-py3-none-any.whl
Size 4.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
15dec626ee14c1580f43efd5b4836450bd17ff251ea4c85078fe28a533ff6177
BLAKE2b-256 checksum
How to use checksums
076dbc4f1f13216646f7cce019ae22abd6b63b03a22d897c3d720044e2056b6d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Release history Release notifications | RSS feed

This release

0.2.0 This release

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