The official unofficial pip API
The official unofficial
pip is a command-line-tool, it does not have
an official, supported, importable
However, this does not mean that people haven't tried to
import pip, usually
to end up with much headache when
pip's maintainers do routine refactoring.
This project attempts to provide an importable
pip API, which is fully
compliant with the recommended method of using
pip from your program.
Not all commands are supported in all versions of
pip and on all platforms.
If the command you are trying to use is not compatible,
pip_api will raise a
pip_api.exceptions.Incompatible exception for your program to catch.
Available with all
pipversion as a string, e.g.
Returns the resulting as a string. Valid