Skip to main content

zen-cli

PyPI Python License: MIT PyPI downloads Wheel OS Ruff Checked with mypy Click Hatch

Command-line toolbox for Zen Cloud PC, designed for AI and human.

Contents

Try it out

Prerequisites

  • Python 3.12 or newer
  • Pip

Installation

Mac & Linux

pip install zen-cli

Windows

pip install zen-cli

If Python was installed without “Add python to PATH”, add Python and its Scripts directory to PATH.

Use the CLI

zen login
zen auth status
zen auth details
zen auth token

zen login reuses a valid cached token or configured credentials (API token, client id/secret). If neither is available it starts device-code login. It does not print the access token. Machine login is zen login --client-id / --client-secret. zen auth status is JSON (logged_in, method, ttl). zen auth details is the JWT and org. zen auth token is the bearer (--service on details/token). zen auth refresh refreshes the cached token.

Run a command, for example, list pools:

zen pool list

Documentation

License

Licensed under the MIT License. See LICENSE.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zen_cli-0.1.5.tar.gz (95.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

zen_cli-0.1.5-py3-none-any.whl (153.3 kB view details)

Uploaded Python 3

File details

Details for the file zen_cli-0.1.5.tar.gz.

File metadata

  • Download URL: zen_cli-0.1.5.tar.gz
  • Upload date:
  • Size: 95.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.10

File hashes

Hashes for zen_cli-0.1.5.tar.gz
Algorithm Hash digest
SHA256 de4ba84620837a6e01d052a9c6683b0e53dd163e17fecbd75686b5f37d4f6337
MD5 fbf254257be41412f3bd5d7fbca5151b
BLAKE2b-256 bc88b14f99d42b0b8ed302283adeca76dc3423d91e89ae0a0dd2f32b2af9c85b

See more details on using hashes here.

File details

Details for the file zen_cli-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: zen_cli-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 153.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.10

File hashes

Hashes for zen_cli-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 247b0eedc777030939b320479600723d980daa67a934c8aa1117401b8b880c8b
MD5 aa37e0b1d763a27ee508e7ec4a06c51b
BLAKE2b-256 c0a5d60a1a3fb50cfff385ae43f050f9889b388894fe4d1bcd9a19c5a9570777

See more details on using hashes here.

Release history Release notifications | RSS feed

0.1.6

2 files

This release

0.1.5 This release

2 files

0.1.4

2 files

0.1.2

2 files

0.1.1

2 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