Skip to content

aphilas/pips

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pips

Tiny tool to install PyPi packages with pip and update requirements.txt.

If you're lost, you are probably looking for Poetry, pipenv, or PDM.

Installation

Build from source

git clone https://github.com/aphilas/pips.git
cd pips
go install
pips --help

Usage

cd /path/to/project

python -m venv venv
source venv/bin/activate

pips install starlette[full]
cat requirements.txt
# starlette[full]==3.6.2

pips uninstall starlette
cat requirements.txt
# 

Motivation

I don't (yet) need Poetry. I had a bash function to do this that was getting unwieldy.

Gotchas

  • pips only parses and saves requirements specifiers with the == version specifier
  • pips preserves the user-supplied extras name
  • pips normalizes the package name

About

pip install and update requirements.txt

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages