Skip to main content

pload

pload welcome screen on macOS

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

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:

The macOS first-run result

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

Each distinct executable receives a stable Python ID and readable alias:

ID   ALIAS          VERSION  TYPE    PATH
py1  uv-v3.12.8     3.12.8   uv      ~/.pload/pythons/.../python3.12
py2  conda-v3.11.9  3.11.9   conda   ~/miniforge3/envs/data/bin/python

Use any of these forms when selecting an interpreter:

pload new -n data --version py1
pload new -n data --version uv-v3.12.8
pload new -n data --version py1:uv-v3.12.8
pload python path py1

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, or custom;
  • pip source: official, tsinghua, ustc, aliyun, or custom.

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 new -v 3.12 --message "Temporary data tools"  # auto-named safely
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:

Environment list on macOS

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 Python runtime IDs
└── 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.9.1

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.9.1
File Size Uploaded Provenance Actions
pload-0.9.1.tar.gz 45.7 kB With provenance Details for pload-0.9.1.tar.gz

Built distribution (wheel)

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

Total release size: 87.4 kB

Release files / pload-0.9.1.tar.gz

Download URL pload-0.9.1.tar.gz
Size 45.7 kB
Tags Source
SHA-256 checksum
How to use checksums
5cd002f5ebb0b4e540c47165d9281f5f61a3c1bbf3b973d9fa548605e71d11cf
BLAKE2b-256 checksum
How to use checksums
6c9324b03d440787dd34d0231046913f119417af5cb44b1207c09a639ca65682
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 log

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

Download URL pload-0.9.1-py3-none-any.whl
Size 41.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c3a007e475a1857e6a61d7c07d6f142c40efcc71e76310f03f2855d5470170f5
BLAKE2b-256 checksum
How to use checksums
c5ef0a99c8a590325ce57c5b8d7350dc79992ef5f2b18e45cb77c4722929786d
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 log

Security for pload 0.9.1

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