Skip to content

Commands

pensa has 16 commands. Each does one thing.

CommandDescription
newCreate a new Python project
addAdd a dependency
removeRemove a dependency
lockResolve dependencies and write lock file
updateUpdate dependencies to latest compatible versions
installInstall dependencies from lock file
syncExact venv sync (install missing + remove extras)
runRun a command in the virtual environment
checkValidate pyproject.toml and lock file consistency
envShow virtual environment path
listList installed packages
showShow details about a package
treeShow dependency tree
buildBuild sdist and wheel
publishPublish to PyPI
versionPrint pensa version