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
130 Stars 10 Forks 29 Commits 0 Opened issues

Description

A library for manipulating Pipenv projects.

Services available

!
?

Need anything else?

Contributors list

# 374,902
howtopython.org 159 Python top 10
# 14,326
profiling
performan...
profiler
Rust
zope.interface 223 profiling top 10
# 351,892
pipenvlib 130 Python top 10
# 124,838
pipenvlib 130 Python top 10
# 92,208
pipenvlib 130 Python top 10
# 565
opensourc...
Python
requests 43.8K orm top 10

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.