Python

install

# Windows 10
scoop install python310
scoop install python312

usage

command

# Install pkg from a specified package index URL of the Python Package Index (PyPI)
pip install <pkg> --index-url https://pypi.org/simple

# Remove all cached packages
pip cache purge

# Install pipx
python -m pip install pipx
pipx ensurepath

Publish python package

1

python -m pip install -e .
python -m pip install build twine
python setup.py sdist bdist_wheel
python -m build

cross-reference

mark

later

cache

reference