Pipx Facts¶
See also: Pipx Operations.
pipx.PipxEnvironment
¶
host.get_fact(PipxEnvironment, )
Returns a dict of pipx environment variables:
{
"PIPX_HOME": "/home/doodba/.local/pipx",
"PIPX_BIN_DIR": "/home/doodba/.local/bin",
"PIPX_SHARED_LIBS": "/home/doodba/.local/pipx/shared",
"PIPX_LOCAL_VENVS": "/home/doodba/.local/pipx/venvs",
"PIPX_LOG_DIR": "/home/doodba/.local/pipx/logs",
"PIPX_TRASH_DIR": "/home/doodba/.local/pipx/.trash",
"PIPX_VENV_CACHEDIR": "/home/doodba/.local/pipx/.cache",
}
pipx.PipxPackages
¶
host.get_fact(PipxPackages, )
Returns a dict of installed pipx packages:
{
"package_name": ["version"],
}