pload
pload is a relocatable Python runtime and virtual-environment manager for
Bash, Zsh, Fish, and PowerShell. Its private runtime, downloaded Python
versions, virtual environments, registry, and caches can all live under
directories you choose. pyenv is supported for discovery, but is not required.
Running pload without arguments opens a small welcome screen. Use -h for a
complete parameter reference and -h -d for practical examples and effects.
Contents
- Install
- First run
- Configure later
- Shell activation
- Discover and install Python
- Create and activate environments
- Help and aliases
- Isolation and directory layout
- Command reference
- Development
Install
Install the small bootstrap package, then start the guided installer:
python -m pip install --user --upgrade pload
python -m pload.installer
If your distribution enforces PEP 668, use pipx or a dedicated bootstrap virtual environment:
python3 -m venv ~/.pload-bootstrap
~/.pload-bootstrap/bin/python -m pip install --upgrade pload
~/.pload-bootstrap/bin/python -m pload.installer
On Windows, replace python with py when appropriate. If pipx is already
available:
pipx install pload
pload-install
The installer uses colored numbered choices for the pload data directory, launcher directory, virtual-environment directory, Python directory, runtime source, pip index, and optional shell integration. Press Enter to accept a marked default.
After installation it prints an ASCII welcome screen with copyable next steps:
For a non-interactive setup:
python -m pload.installer --yes \
--home /mnt/tools/pload \
--bin-dir ~/.local/bin \
--venvs-dir /mnt/venvs \
--python-dir /mnt/python \
--source ustc \
--pip-source tsinghua
--yes accepts explicit values and saved defaults. It only changes a shell
profile when --shell is supplied or already configured.
First run
pload
The no-argument screen gives the shortest useful tour:
pload cfg # show effective paths and sources
pload python list # discover usable Python interpreters
pload new -n data -v 3.12 # create an environment
pload list # list IDs, descriptions, and paths
pload v1 # activate an environment by ID
Configure later
Inspect the effective configuration:
pload cfg
pload config show
Change one value without reinstalling pload or uv:
pload cfg set source ustc
pload cfg set pip-source tsinghua
pload cfg set venvs-dir ~/venvs
pload cfg set python-dir ~/.pload/pythons
pload cfg set shell zsh
Reopen the complete setup wizard at any time:
pload cfg -t
The wizard reuses current values as defaults and updates configuration plus the
selected shell profile. It does not reinstall pload, uv, or existing
environments. Configuration is stored in PLOAD_HOME/config.json.
Shell activation
The installer can update a shell profile. To configure it manually:
# Bash
eval "$(pload shell-init bash)"
# Zsh
eval "$(pload shell-init zsh)"
# Fish
pload shell-init fish | source
PowerShell:
Invoke-Expression (& pload shell-init powershell | Out-String)
Then pload v1, pload data, and pload . can activate environments in the
current shell.
Discover and install Python
pload python list scans usable interpreters from the operating system, PATH,
uv, pyenv, Conda, mise, asdf, Homebrew, and the Windows Python Launcher.
Duplicate executable paths are collapsed:
pload python list
pload python list --filter uv,conda
pload python list --filter uv conda
pload python path 3.12
Types include sys, pyenv, uv, conda, mise, asdf, homebrew, and
other. Compatibility names system and managed map to sys and uv.
Install a managed Python without pyenv:
pload python install 3.12
pload python install 3.13.3
Managed runtimes are stored under the configured Python directory and do not
replace /usr/bin/python, Homebrew, pyenv, or Conda installations.
Runtime downloads and Python package downloads are configured separately:
- runtime source:
official,ustc, orcustom; - pip source:
official,tsinghua,ustc,aliyun, orcustom.
The runtime source controls uv's python-build-standalone archives. A normal
PyPI mirror does not host those archives.
Create and activate environments
Create a named environment with a description:
pload new -n data -v 3.12 -d "Data analysis"
pload new -n web -v 3.12 -r fastapi uvicorn -d "Web API"
pload list
pload v1
Create a project-local environment:
pload init -d "Current project"
pload .
pload init -r pytest requests
Use an explicit interpreter or destination when needed:
pload new -p /mnt/venvs/build -v /opt/python/bin/python
pload init -P /mnt/projects/app -e /mnt/venvs/app
Every managed environment receives an ID such as v1, v2, or v3, plus a
description and creation timestamp. Deleted IDs are reused from the first
available number. pload list displays environments newest-first:
The table includes ID, name, Python version, description, and full path. A spinner is shown in interactive terminals; redirected and CI output uses stable ordinary log lines.
Help and aliases
Brief help is a complete reference. It starts with a highlighted usage: line,
then lists every positional argument, long option, short alias, and description:
pload config -h
pload cfg -h
pload new -h
pload py install -h
pload py ls -h
pload-install -h
Detailed help adds examples, expected output, disk effects, and failure behavior:
pload -h -d
pload new -h -d
pload cfg -h -d
pload py ls -h -d
pload-install -h -d
Command aliases:
| Command | Alias |
|---|---|
new |
none; already short and explicit |
init |
i |
list |
ls |
rm |
remove, del, delete |
python |
py |
path |
p |
config |
cfg |
shell-init |
shell |
Python subcommands use ls and p; the explicit install command has no alias:
pload py ls --filter uv,conda
pload python install 3.12
pload py p 3.12
Isolation and directory layout
Put all pload-managed data under one root:
export PLOAD_HOME=/mnt/workspace/.pload
pload new -n tools
The default layout is:
PLOAD_HOME/
├── config.json saved choices
├── runtime/ pload and uv private runtime
├── pythons/ downloaded Python runtimes
├── python-bin/ managed Python executable links
├── cache/python/ Python download cache
├── state/ environment IDs and descriptions
└── venvs/ managed virtual environments
Override individual roots with PLOAD_VENVS_DIR, PLOAD_STATE_DIR, or the
global --home, --venvs-dir, and --state-dir options. Project-local
environments can live elsewhere with init --project-dir and --venv-dir.
Command reference
pload new -h -d
pload init -h -d
pload list -h -d
pload rm -h -d
pload path -h -d
pload python -h -d
pload python install -h -d
pload python list -h -d
pload config -h -d
pload-install -h -d
Other useful commands:
pload path v1
pload rm v1 --yes
pload rm --expression '^test-' --yes
pload cfg set source ustc
pload cfg -t
Development
python -m pip install -e '.[test]'
pytest
ruff check src tests
License
Apache License 2.0. Copyright 2025 Yunming Hu.
Metadata
Release files for pload 0.8.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pload-0.8.9.tar.gz | 44.0 kB | With provenance | Details for pload-0.8.9.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pload-0.8.9-py3-none-any.whl | Python 3 | none | any | Details for pload-0.8.9-py3-none-any.whl |
Total release size: 84.3 kB
Release files / pload-0.8.9.tar.gz
| Download URL | pload-0.8.9.tar.gz |
|---|---|
| Size | 44.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a7dda988858a7c60959338b6a23056607906569f439bd962386c292550d2e224
|
|
BLAKE2b-256 checksum How to use checksums |
c6a2b09f4bf4b56dcbccf5e5c9c20d135be975e9b30863c12b44f417a52dd084
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 24, 2026.
Transparency logRelease files / pload-0.8.9-py3-none-any.whl
| Download URL | pload-0.8.9-py3-none-any.whl |
|---|---|
| Size | 40.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0152e595c4a36a0a02e220c521e9d755080a1416a2b0b8e94f3272f9ee2a3c29
|
|
BLAKE2b-256 checksum How to use checksums |
9b28f2b44e62e3e23f9a70416eab430ff8c264949cd55556ffb8bf5b39f865d4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 24, 2026.
Transparency logSecurity for pload 0.8.9
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for pload-0.8.9.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 24, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.