A library for manipulating Pipenv projects.
The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:
This library exists to make it easy to programmatically interact with / introspect / manipulate Pipenv projects.
It allows you examine dependencies and requirements of a project, as well as install/uninstall packages from Python directly.
Establish where the Pipenv project lives.
project = pipenvlib.PipenvProject('.')
>>> project.packages [, ]
>>> project.locked_packages [, , , ]
>>> project.install('requests', dev=True) True
>>> project.dev_packages 
>>> project.virtualenv_location /Volumes/KR/.local/share/virtualenvs/pipenvlib-kjpeBSWf
This project (which is a work in progress) was built to facilitate the development of a Sublime Text 3 plugin (which in the works).