by not-kennethreitz

not-kennethreitz /pipenvlib

A library for manipulating Pipenv projects.

130 Stars 10 Forks Last release: Not found 29 Commits 0 Releases

Available items

No Items, yet!

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:

PipenvLib: A library for manipulating Pipenv projects.

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.

Example Usage

import pipenvlib

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).

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.