Skip to content

mlen108/pipin

Repository files navigation

pipin

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.

https://pypip.in/version/pipin/badge.png https://travis-ci.org/mattack108/pipin.svg?branch=master https://coveralls.io/repos/mattack108/pipin/badge.png?branch=master https://pypip.in/download/pipin/badge.png

Requirements

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.

About

Let's pipin your local requirements.txt

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages