pipin is a little script to search for dependencies withinyour project(s).
Project description
Let’s pipin!
pipin is a little Python script to search for a given app(s) within your project’s dependencies.
You could probably handle same needs with ack or grep, but pipin is less characters to write, colorizes the output nicely etc.
Requirements
Python 2.6+ or 3.3+
argparse if py2.6
Installation
To install pipin, simply run:
sudo pip install pipin
Note: you probably want to install it as sudo in order to pipin everywhere.
Usage
Go to folder where all your projects are stored:
cd /home/projects/
Just tell what and where you want to pipin:
pipin Django==1.4.2 .
This will search for “Django==1.4.2” in requirements.txt file in current directory (because “.”).
Search within specific project only? Not a problem!
pipin Django==1.4.2 /path/to/project/
Different requirements file? Not a problem too!
pipin Django==1.4.2 . -f dev_requirements.txt
You might also need to search for multiple apps at once. Then do:
pipin Django==1.4.2 South .
Also, literal asterisk (*) is supported:
pipin Django*1.4 .
This will find occurences of Django==1.4 and Django>=1.4 as they are both valid.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file pipin-0.2.3.tar.gz
.
File metadata
- Download URL: pipin-0.2.3.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5340e04443cf63d26261f8176a43721a72309d325bb89b9c1445f4bd0c89b65b |
|
MD5 | c0e2c0216c3bd5362c806af6884e497b |
|
BLAKE2b-256 | 8d2912b1ca0e9f575bf52780c6ca7c53422b34580b5a68f307b42ee47d6b97e1 |