• Stars
    star
    133
  • Rank 272,600 (Top 6 %)
  • Language
    Python
  • Created almost 7 years ago
  • Updated almost 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A library for manipulating Pipenv projects.

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
[<Dependency 'toml' constraint='*'>, <Dependency 'delegator.py' constraint='*'>]

>>> project.locked_packages
[<LockedDependency 'delegator.py==0.0.14'>, <LockedDependency 'pexpect==4.3.1'>, <LockedDependency 'ptyprocess==0.5.2'>, <LockedDependency 'toml==0.9.4'>]

>>> project.install('requests', dev=True)
True

>>> project.dev_packages
[<Dependency 'requests' constraint='*'>]

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

More Repositories

1

osx-gcc-installer

GCC Installer for OSX! Without Xcode!
Python
3,049
star
2

envoy

Python Subprocesses for Humansâ„¢.
Python
2,266
star
3

flask-sslify

Force SSL on your Flask app.
Python
504
star
4

elephant

A persistent, full-text searchable key-value store. Powered by Flask, ElasticSearch, S3, and good intentions.
Python
481
star
5

markdownplease.com

Give it a URL, it'll give you Markdown. Powered by Readability.
HTML
203
star
6

wsl-guide

The Hitchhiker's Guide to Bash on Ubuntu on Windows!
Python
189
star
7

dream-python

Individual dreams for Python and its community.
187
star
8

flango

A Django template for using Flask for the frontend, Django for the backend.
Python
183
star
9

github-reflog

The GitHub Reflog™ — the weekly chronicle of awesome repos
88
star
10

talks

My conference talks
86
star
11

pysoundcloud

Scraping the Un–scrapable™
Python
63
star
12

typy.io

just typeâ„¢
Python
49
star
13

omnijson

Like AnyJSON, but better.
Python
43
star
14

python-for-humans

Talk from PyCodeConf.
Ruby
42
star
15

goldenarch

Serves crap. Fast.
Python
40
star
16

knative-for-humans

Knative for Humans (for Kubernetes) -- a work in progress
Batchfile
35
star
17

click-tools

Command-Line utilities for Click (extracted from Clint).
Python
30
star
18

records-migrate

A migration system for Records.
Python
29
star
19

now.httpbin.org

An API (for Humans) for converting timestamps.
Python
24
star
20

team

KR Org stuff.
21
star
21

super-sphere2

A minimal action game by Kenneth Reitz.
Lua
20
star
22

humble

Python version of seejohnrun/vain
Python
16
star
23

SlashWear

"Kenneth is the Computer Guru. The King of Programmers!!!!!!"
16
star
24

morepython.org

Python
14
star
25

unmastered-impulses

Infinite State's first album.
14
star
26

Flask-Caster

A simple Flask extension for automatically casting the type of query arguments.
Python
13
star
27

pipenv-docker-tests

A public repo for a docker image to speed up docker tests for Pipenv.
12
star
28

convore.json

Full backup of all public Convore content.
CSS
11
star
29

pipenv-buildpack

A minimal buildpack for Pipenv.
Shell
11
star
30

pypidownloads-service

a PyPI downloads information web service, using GraphQL (and Flask!)
Python
9
star
31

alphaglyph

Αμπθαημπθ: Ησεελ Μευυεστ ζοσ Yοφ αξδ Ι
Python
8
star
32

uuid4

CLI for uuid4
7
star
33

git-legit.org

The Official Websiteâ„¢ of Legit.
CSS
7
star
34

tommorrow-night-italics-vscode

Tomorrow Night Italics for VSCode
4
star