Skip to main content
Warning: You are using the test version of PyPI. This is a pre-production deployment of Warehouse. Changes made here affect the production instance of TestPyPI (testpypi.python.org).
Help us improve Python packaging - Donate today!

Pip Sala Bim is an assistant to guess your pip dependencies from your code, without using a requirements file.

Project Description
Pip Sala Bim is an assistant to guess your pip dependencies from your code, without using a requirements file.


Pip Sala Bim will tell you which packages you need to install to satisfy the dependencies of your project. It uses a simple AST visitor [1] for detecting imports and PyPIContents to search which packages contain these imports.

For more information, please read the full documentation.

Getting started

Installation

The pipsalabim program is written in python and hosted on PyPI. Therefore, you can use pip to install the stable version:

$ pip install --upgrade pipsalabim

If you want to install the development version (not recomended), you can install directlty from GitHub like this:

$ pip install --upgrade https://github.com/LuisAlejandro/pipsalabim/archive/master.tar.gz

Usage

pipsalabim is really easy to use. Go to your python project and execute it as follows to start guessing your dependencies:

$ cd your-python-project/
$ pipsalabim report --help

usage: pipsalabim report [-h] [-r]

optional arguments:
  -h, --help          show this help message and exit
  -r, --requirements  Format output for requirements.txt file.

You need to run “pipsalabim update” before being able to generate a report.

Getting help

If you have any doubts or problems, suscribe to our Gitter Chat and ask for help. You can also ask your question on StackOverflow (tag it pipsalabim) or drop me an email at luis@huntingbears.com.ve.

Contributing

See CONTRIBUTING.rst for details.

Release history

See HISTORY.rst for details.

License

Copyright 2016, Pip Sala Bim Developers (read AUTHORS.rst for a full list of copyright holders).

Released under a GPL-3 License (read COPYING.rst for license details).

Made with :heart: and :hamburger:


My name is Luis (@LuisAlejandro) and I’m a Free and Open-Source Software developer living in Maracay, Venezuela.

If you like what I do, please support me on Patreon, Flattr, or donate via PayPal, so that I can continue doing what I love.

Blog huntingbears.com.ve · GitHub @LuisAlejandro · Twitter @LuisAlejandro


[1]AST refers to an Abstract Syntax Tree, you can read more on https://en.wikipedia.org/wiki/Abstract_syntax_tree
Release History

Release History

This version
History Node

0.1.0

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting