A simple command line tool for python virtual env management.
Project description
pload
A Minimalist Python Virtual Environment Management Tool, support powershell, bash, zsh, fishshell.
[!WARNING] This is project is under development yet. You can try it carefully if you are interested in it.
Overview
pload is a command-line utility designed for efficient management of Python virtual environments. It supports both global environment management and local project-specific environments, with regex pattern matching and pyenv integration capabilities.
Installation
Basic Installation
pip install pload
Shell Autocompletion (Optional)
Add to your shell configuration (~/.bashrc or ~/.zshrc):
eval "$(register-python-argcomplete pload)"
Command Reference
Core Operations
1. Create Global Environment
pload new --version <python_version> [--message <description>] [--channel <pip_channel>] [--requirements <packages>...]
Example:
pload new -v 3.8.10 -m data_analysis -r numpy pandas
# Creates: 3.8.10-data_analysis
2. Initialize Local Environment
pload init --version <python_version> [--channel <pip_channel>] [--requirements <packages>...]
Example:
pload init -v 3.9.5 # Creates .venv in current directory
3. Environment Management
# Remove environments
pload rm --envs <env_names>... # Explicit names
pload rm --expression <regex> # Pattern matching
# List environments
pload list [--expression <regex>] [--version]
4. Environment Activation
pload <global_env_name> # Activate global environment
pload . # Activate local .venv
Advanced Operations
Environment Copy (Work in Progress)
pload cp --from <source_env> --to <target_env>
Feature Details
Global Environment Management
- Stores environments in
~/.pload/venvs - Automatic version-message naming convention
- Supports batch operations using regular expressions
Local Environment Integration
- Creates
.venvdirectories in project folders - Compatible with existing virtual environments
Python Version Management
- Requires pyenv for version control
- Lists available Python versions via
pload list --version
Common Issues
Q: Environment activation failure
Solution: Verify environment exists in target location:
pload list --expression "<env_name>"
Q: Missing Python versions
Solution: Install required versions through pyenv first:
pyenv install 3.8.10
Q: Local environment detection
Solution: Ensure .venv directory exists in current path before activation
Development Contribution
- Clone repository
- Create feature branch
- Implement changes with test cases
- Submit pull request
# Development setup
python setup.py develop
License
Apache License 2.0, Copyright 2025 Yunming Hu.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pload-0.3.0.tar.gz.
File metadata
- Download URL: pload-0.3.0.tar.gz
- Upload date:
- Size: 15.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3494797a0f7c56c4baeff8136c6381ac5ca0d5fb06119e892df9382d80d4eed9
|
|
| MD5 |
baac2f725fd648cd376e2531acd5fc80
|
|
| BLAKE2b-256 |
dcd066fdf4a4fe3cdba09afdde546726851bc5f7032d1f28132ad79babac617b
|
Provenance
The following attestation bundles were made for pload-0.3.0.tar.gz:
Publisher:
python-publish.yml on HugoPhi/pload
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pload-0.3.0.tar.gz -
Subject digest:
3494797a0f7c56c4baeff8136c6381ac5ca0d5fb06119e892df9382d80d4eed9 - Sigstore transparency entry: 197415538
- Sigstore integration time:
-
Permalink:
HugoPhi/pload@88abbc4e2c5b944c8f45d1c478128d0f2c626ec9 -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/HugoPhi
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@88abbc4e2c5b944c8f45d1c478128d0f2c626ec9 -
Trigger Event:
release
-
Statement type:
File details
Details for the file pload-0.3.0-py3-none-any.whl.
File metadata
- Download URL: pload-0.3.0-py3-none-any.whl
- Upload date:
- Size: 16.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f272978b4fa2e613ec24ccf51d5448932222b263b7269666866aa8b27df6e9e6
|
|
| MD5 |
03e84deecbec364dae14331e9bddac64
|
|
| BLAKE2b-256 |
669251ad7f43b378fc2e566d86ebb6b87dae408dc1b74b271ac1039c75172583
|
Provenance
The following attestation bundles were made for pload-0.3.0-py3-none-any.whl:
Publisher:
python-publish.yml on HugoPhi/pload
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pload-0.3.0-py3-none-any.whl -
Subject digest:
f272978b4fa2e613ec24ccf51d5448932222b263b7269666866aa8b27df6e9e6 - Sigstore transparency entry: 197415540
- Sigstore integration time:
-
Permalink:
HugoPhi/pload@88abbc4e2c5b944c8f45d1c478128d0f2c626ec9 -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/HugoPhi
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@88abbc4e2c5b944c8f45d1c478128d0f2c626ec9 -
Trigger Event:
release
-
Statement type: