Skip to main content

Cli tool for zijizhang

Project description

zjz-cli

Cli tool for zjz

Requirements

Installation

It is strongly recommended to install this tool inside a Python virtual environment to avoid dependency conflicts with other Python projects on your system.

You can choose one of the following installation methods:

  • Use Python's built-in venv
  • Use uv

You only need to follow one method, not both.

Option 1: Install with venv

Step 1: Create a virtual environment

Open your terminal and choose a location for the environment. A common practice is to place it in your home directory as a hidden folder (e.g., ~/.my-cli-tool-env). Run:

python3 -m venv ~/.my-cli-tool-env

Step 2: Activate the virtual environment

  • Linux / macOS:
source ~/.my-cli-tool-env/bin/activate
  • Windows (Command Prompt):
.my-cli-tool-env\Scripts\activate.bat
  • Windows (PowerShell):
.my-cli-tool-env\Scripts\Activate.ps1

You will see (.my-cli-tool-env) appear at the beginning of your command prompt, indicating the virtual environment is active.

Step 3: Install the tool

With the virtual environment activated, install the package from PyPI:

pip install --upgrade zjz-cli

That's it! The CLI command zjz-cli is now available inside this virtual environment.

Option 2: Install with uv

If you prefer using uv, you can create and manage the virtual environment with it instead.

Step 1: Install uv

Follow the official guide to install uv:

Install uv

Step 2: Create a virtual environment

uv venv ~/.my-cli-tool-env

Step 3: Activate the virtual environment

  • Linux / macOS:
source ~/.my-cli-tool-env/bin/activate
  • Windows (Command Prompt):
.my-cli-tool-env\Scripts\activate.bat
  • Windows (PowerShell):
.my-cli-tool-env\Scripts\Activate.ps1

Step 4: Install the tool

With the virtual environment activated, install the package with uv:

uv pip install --upgrade zjz-cli

That's it! The CLI command zjz-cli is now available inside this virtual environment.

Usage

Once the virtual environment is activated, you can run the tool:

zjz-cli --help

Why a virtual environment?

Using a virtual environment prevents version clashes between Python packages required by this tool and other Python applications on your system. It also keeps your global Python installation clean. For more background, see Python Virtual Environments: A Primer.

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

zijizhang_cli-0.0.11.tar.gz (17.0 kB view details)

Uploaded Source

Built Distribution

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

zijizhang_cli-0.0.11-py3-none-any.whl (22.8 kB view details)

Uploaded Python 3

File details

Details for the file zijizhang_cli-0.0.11.tar.gz.

File metadata

  • Download URL: zijizhang_cli-0.0.11.tar.gz
  • Upload date:
  • Size: 17.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for zijizhang_cli-0.0.11.tar.gz
Algorithm Hash digest
SHA256 7edf83fdc4e8edb219d2823de5f7bc480ee01e790b0d2eaf821f11a83021c342
MD5 d6dc069380de6d567911d703123d7448
BLAKE2b-256 f528c648ca1e89fb6c772f6119a5cc716eb9701036ce56f6119d01ac140f7be9

See more details on using hashes here.

File details

Details for the file zijizhang_cli-0.0.11-py3-none-any.whl.

File metadata

  • Download URL: zijizhang_cli-0.0.11-py3-none-any.whl
  • Upload date:
  • Size: 22.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for zijizhang_cli-0.0.11-py3-none-any.whl
Algorithm Hash digest
SHA256 d84d542cf4f2386f6348f127df3f7c398706a4d686b4f6a6f40befb386d7e22c
MD5 2aef6508b99ce77284e75b93dcfd7e16
BLAKE2b-256 284a3519e2f407f8ac9b78dc69445906e24448c5f5d7a37508ab8a1954a47369

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page