Using pyinfra
Deploy Reference
pip3_packages
pip_packages
How pyinfra Works
Meta
Documentation may contain unreleased features!
You are reading most recent documentation which may not have been released yet. 1.x is the latest release version available.
host.fact.pip3_packages(pip=None)
host.fact.pip_packages(pip=None)
Returns a dict of installed pip packages:
{ 'package_name': ['version'], }