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
132 Stars 12 Forks 29 Commits 0 Opened issues

Description

A library for manipulating Pipenv projects.

Services available

!
?

Need anything else?

Contributors list

# 1,038
Python
Flask
Django
Heroku
19 commits
# 131,964
HTML
C
Vim
keybind...
1 commit
# 50,809
python-...
jython
Flask
Bootstr...
1 commit
# 74,879
Neovim
pipenv
Elixir
HTML
1 commit
# 79,780
Python
Jupyter...
pytorch
jupyter...
1 commit
# 308,156
leetcod...
C++
Go
pipenv
1 commit

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.