Skip to content

A Python package for executing pip commands from within code easily

License

Notifications You must be signed in to change notification settings

PhilipKlaus/pip-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pip-script

A Python package for executing pip (Python Package Manager) commands from within code.

Supported pip verion: >=22.0.4

pip-script provides a wrapper for pip commands and their arguments. Internally, pip-script make use of the subprocess package to execute pip. The basic usage is as follows:

    pip.command().arg1().arg2().argN().run()

Example

import pipscript as pip

# simple call to pip 'list' with the '--include-editable' argument
pip.list().include_editable().run()

Documentation

Please refer to the official pip documentation.

Current status

Currently, the following pip commands are wrapped:

  • list
  • show
  • install

About

A Python package for executing pip commands from within code easily

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages