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.21.tar.gz (22.9 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.21-py3-none-any.whl (32.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: zijizhang_cli-0.0.21.tar.gz
  • Upload date:
  • Size: 22.9 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.21.tar.gz
Algorithm Hash digest
SHA256 c62175eaf8078430a038f07ceb7a574a7f4ebfdaa507bf7463c0317ca4e3eabc
MD5 576ec306992d7baab6107d729ccc6b75
BLAKE2b-256 b5e91a3a9170374da1e4c18a03e9cc68d61bb79efbfb9bfed1a53d8d784ee053

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zijizhang_cli-0.0.21-py3-none-any.whl
  • Upload date:
  • Size: 32.3 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.21-py3-none-any.whl
Algorithm Hash digest
SHA256 07f248a79e7bfe286464154393bcaff13a8f04bf5862b8a4f81c8e4a4886f703
MD5 20112a9142aeba34d56554ba7ffddd5e
BLAKE2b-256 be06d24dd50b877677cb73191df501b40978dc0979615f28d28346c906f4b3f9

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