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 [email protected].
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).
❤️ and 🍔
Made with
Web collagelabs.org · 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 |