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.6.tar.gz (96.3 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.6-py3-none-any.whl (153.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: zen_cli-0.1.6.tar.gz
  • Upload date:
  • Size: 96.3 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.6.tar.gz
Algorithm Hash digest
SHA256 b16c87083fa84de11faffdad7f6efd3e5f17ed81cb3f2313450dbad1ec9378a2
MD5 d390146ae412bb10f0810e5c6d4fe4b6
BLAKE2b-256 61ef0ad349fb7552ee3eddc5c3d490246c32d7168aa94f6a8526c4f8061a455a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zen_cli-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 153.5 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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 d4953f316eb30ba86bef57df2e0302e3022e3bcd07031570d436843b25dfae66
MD5 7207cc80614c342351cc01d9c2e33d24
BLAKE2b-256 5be52d317799dc10e0a57a137da1d15d9768419819a244e652c53df019be8fcb

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.6 This release

2 files

0.1.5

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