A thin wrapper around PIP which can be used at runtime.
pip install python-pip
python -m venv venn
./venv/Scripts/activate
pip install -r requirements-tests.txt
pytest
=================== test session starts ===================
platform win32 -- Python 3.9.2, pytest-7.1.1, pluggy-1.0.0
rootdir: D:\Personal Projects\python-pip
collected 6 items
src\tests\test_all.py ...... [100%]
=================== 6 passed in 9.64s ===================
There are no requirements at the moment
from python_pip import pip
# Initialize object
pip = pip.PIP()
print(pip.version)
# Install a package
pip.install(package_name='requests')
# Uninstall a package
pip.uninstall(package_name='requests')
You are welcome to contribute to the repo as you like
Jordan Raychev
Email: jpraychev at gmail dot com
Website: https://jraychev.com
MIT. Please refer to LICENSE file