Relative Content

Tag Archive for pythonpython-3.xpipcommand-line

List all explicitly requested packages in pip

I’m trying to get a list of all packages that I have explicitly requested be installed. I know that pip keeps track of this information, as running pip inspect returns, as part of its output, a full list of installed packages in JSON format, storing a boolean value “requested“.