Minimal Python package manager (pure-Python + Pyodide wheels).
Synopsis
uv add <pkg>[@<version>] [<pkg> ...]
Description
Resolves, stages, and records Python wheels for use by python/python3 (Pyodide). Packages in the Pyodide lockfile are fetched from the Pyodide CDN; everything else resolves against PyPI, pure-Python 'none-any' wheels only. Wheels are staged under /workspace/python_wheels/ and recorded in pyproject.toml and uv.lock.
Options
add <pkg>[@<version>] Resolve, stage, and record one or more wheels.
add <pkg>==<version> Exact-version form.
list Show recorded packages.
Examples
$ uv add requests
Install the latest resolvable version of requests.
$ uv add numpy==1.26.4
Install a specific version.
$ uv list
List currently recorded packages.
Notes
This is a subset of real uv: only pure-Python and Pyodide-lockfile wheels are supported, no native C-extension builds. Anything else is not implemented; use real uv locally for those packages.
See Also
python3, hf, npm