Skip to main content

Cli tool for zijizhang

Project description

zijizhang-cli

Cli tool for zijizhang

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 zijizhang-cli

That's it! The CLI command zijizhang-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 zijizhang-cli

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

Usage

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

zijizhang-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.28.tar.gz (26.4 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.28-py3-none-any.whl (37.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for zijizhang_cli-0.0.28.tar.gz
Algorithm Hash digest
SHA256 fcd413206aba92d189e5fadeb30dc04c6effede6094e4790edc201d23f2c4705
MD5 df8e6f01e1eca801863a4ae1f90897a5
BLAKE2b-256 d8e077b58cd6eb6dd34b44be8c4bd1a376c5dc97e36f5ceb95641918ac65909b

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for zijizhang_cli-0.0.28-py3-none-any.whl
Algorithm Hash digest
SHA256 47df3429b4300db7bab81d4cc719c800edcf91664242f9e0b44393f3831a8e56
MD5 64e2439fecb6a46013b86127f769a3bc
BLAKE2b-256 69cf43110da9c44d528be553e5adfa883659520e634bc1d23a77f64c0c924342

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