Skip to main content

pload

pload is a relocatable Python runtime and virtual-environment manager for Bash, Zsh, Fish, and PowerShell. The tool, downloaded Python runtimes, managed environments, state, and caches can all be placed in user-selected directories.

pyenv is supported for compatibility, but is not required.

Install the small bootstrap package with pip, then run the guided installer:

python -m pip install --user --upgrade pload
python -m pload.installer

Using the Tsinghua PyPI mirror for the bootstrap package:

python -m pip install --user --upgrade pload \
  -i https://pypi.tuna.tsinghua.edu.cn/simple
python -m pload.installer --pip-source tsinghua

On Windows, py can replace python:

py -m pip install --user --upgrade pload
py -m pload.installer

The installer asks for:

  • the pload data directory;
  • the stable executable bin directory;
  • the managed virtual-environment directory;
  • the downloaded Python directory;
  • the Python runtime download source;
  • the Python package index;
  • whether to update a shell profile.

It then creates a private runtime under PLOAD_HOME/runtime and writes a stable pload executable into the selected bin directory. The executable does not depend on a project virtual environment, so deleting or activating an environment managed by pload cannot remove or shadow the tool itself.

For a fully non-interactive installation:

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 never edits a shell profile unless --shell is also supplied.

If pipx is already available, pipx install pload is the shortest isolated installation. Run pload-install afterward only when you want the guided directory and Python-source configuration.

Shell activation

The guided installer can add the initialization block. 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)

Python versions without pyenv

pload uses uv as its default managed-Python backend. The guided installer places uv in pload's private runtime, while Python installations and caches go to the configured pload directories.

pload python install 3.12
pload python list
pload python list --filter uv,conda
pload python path 3.12
pload new --name data --version 3.12

pload python list discovers usable Python 3 interpreters from the operating system, PATH, uv, pyenv, Conda, mise, asdf, Homebrew, and the Windows Python Launcher. Results are deduplicated by resolved executable path:

VERSION  TYPE      PATH
-------  --------  ----
3.9.6    sys       /usr/bin/python3
3.11.10  conda     /opt/miniconda3/envs/data/bin/python
3.12.8   uv        /data/pload/pythons/cpython-3.12.8/bin/python3.12
3.13.3   homebrew  /opt/homebrew/Cellar/python@3.13/.../python3.13

Filter one or more source types with commas or spaces:

pload python list --filter uv,conda
pload python list --filter uv conda

Available types are sys, pyenv, uv, conda, mise, asdf, homebrew, and other. The compatibility aliases system and managed map to sys and uv respectively.

Python itself does not publish one portable binary distribution covering all supported platforms. uv therefore uses the CPython builds from Astral's python-build-standalone project.

Available runtime source choices:

  • official: Astral's GitHub releases;
  • ustc: the documented USTC GitHub-release mirror;
  • custom: any compatible HTTPS mirror or local file:// mirror.

Examples:

# USTC runtime mirror
python -m pload.installer --yes --no-runtime-install --source ustc

# Private mirror with uv-compatible directory layout
python -m pload.installer --yes --no-runtime-install \
  --source custom \
  --mirror-url https://mirror.example/python-build-standalone/releases/download

# Fully custom uv download metadata
python -m pload.installer --yes --no-runtime-install \
  --source custom \
  --mirror-url file:///mnt/mirror \
  --downloads-json-url /mnt/mirror/python-downloads.json

Mirror configuration is stored in PLOAD_HOME/config.json and applied only to pload operations. It does not need to be exported globally from a shell profile. Use pload config show to inspect the effective configuration.

Third-party mirrors are availability and trust choices made by the user. pload does not disable uv's normal archive metadata and integrity handling.

Create and activate environments

pload new --name data                 # private-runtime Python
pload new --name web --version 3.12   # any discovered Python 3.12
pload data                            # activate

pload init                            # create .venv here
pload .                               # activate it
pload init -r pytest requests         # install packages too

--version also accepts an exact interpreter path.

Directory isolation

Put all pload-managed data under one root:

export PLOAD_HOME=/mnt/workspace/.pload
pload new --name tools

The guided layout is:

PLOAD_HOME/
├── config.json
├── runtime/       # pload and uv only
├── pythons/       # downloaded Python runtimes
├── python-bin/    # links to managed Python executables
├── cache/python/
├── state/
└── venvs/

Override roots with PLOAD_VENVS_DIR and PLOAD_STATE_DIR, or the global --home, --venvs-dir, and --state-dir options.

Projects and virtual environments can be placed independently:

pload init \
  --project-dir /mnt/projects/example \
  --venv-dir /mnt/environments/example

Existing 0.3 installations are detected automatically when a populated ~/venvs is present and no explicit path has been configured.

Discover commands

pload -h
pload new -h
pload init -h
pload python -h
pload-install -h

Other useful commands:

pload list
pload path data
pload rm data
pload rm data --yes
pload rm --expression '^test-'
pload config show

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.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pload 0.6.0
File Size Uploaded Provenance Actions
pload-0.6.0.tar.gz 28.0 kB With provenance Details for pload-0.6.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pload 0.6.0
File Interpreter ABI Platform Actions
pload-0.6.0-py3-none-any.whl Python 3 none any Details for pload-0.6.0-py3-none-any.whl

Total release size: 54.4 kB

Release files / pload-0.6.0.tar.gz

Download URL pload-0.6.0.tar.gz
Size 28.0 kB
Tags Source
SHA-256 checksum
How to use checksums
c4ac388c9cc8077f0c4506dfdb9360c25cabf18aa0c21c76d9d575ab0631bf2d
BLAKE2b-256 checksum
How to use checksums
83ad4a8be5bb8061c36e9c9a9ee72e28ef05fb57cf9862b5e476b3ec2c76e112
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 23, 2026.

Transparency log

Release files / pload-0.6.0-py3-none-any.whl

Download URL pload-0.6.0-py3-none-any.whl
Size 26.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fc5f5ea7131c9b22eb364783bb226702b3c0ff4c90d9c9c4f78536af0c0ce68a
BLAKE2b-256 checksum
How to use checksums
f193c57d405756880fef824026fb9ec1a871ae80acb548f627ec845295146463
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 23, 2026.

Transparency log

Security for pload 0.6.0

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.

Select from 2 files

Attestation for pload-0.6.0.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 23, 2026.

Transparency log

A 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.

Release history Release notifications | RSS feed

This release

0.6.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page