Need help with pipenvlib?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

not-kennethreitz
131 Stars 13 Forks 29 Commits 0 Opened issues

Description

A library for manipulating Pipenv projects.

Services available

!
?

Need anything else?

Contributors list

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.