Metadata-Version: 2.2
Name: pip-save
Version: 0.2.0
Summary: A wrapper around pip to add `npm --save` style functionality to pip
Home-page: https://github.com/kgritesh/pip-save
Author: Ritesh Kadmawala
Author-email: k.g.ritesh@gmail.com
License: ISCL
Keywords: pip-save
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Information Technology
Classifier: Intended Audience :: System Administrators
Classifier: License :: OSI Approved :: ISC License (ISCL)
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX :: Linux
Classifier: Operating System :: Unix
Classifier: License :: OSI Approved :: ISC License (ISCL)
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Topic :: Software Development :: Build Tools
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: System :: Archiving :: Packaging
Classifier: Topic :: System :: Installation/Setup
Classifier: Topic :: System :: Software Distribution
License-File: LICENSE
License-File: AUTHORS.md
Requires-Dist: six==1.9.0
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: home-page
Dynamic: keywords
Dynamic: license
Dynamic: requires-dist
Dynamic: summary

### pip-save

[<img src="https://img.shields.io/pypi/v/pip-save.svg">](https://pypi.python.org/pypi/pip-save)

pip-save is a simple wrapper around **pip** so as to add ```npm --save``` style functionality to pip.

Currently its a big pain while installing new dependencies using pip. After installing the dependency,
you need to figure out the version number and then manually add it to your requirements file.
``pip-save`` allows you to install/uninstall any dependecy and automatically add/remove
it to/from your requirements file using one command only.

Since its only a wrapper around pip install and uninstall commands,
it accepts all options/config as these commands.

#### Installation

	$ pip install pip-save

####Use

To Install a package and add it to your requirements.tx

	$ pip-save install [<list of packages>]

To upgrade a package

    $ pip-save install --upgrade [<list of packages>]

To uninstall a package and remove it from your requirements.txt

	$ pip-save uninstall [<list of packages>]

To install a package from VCS and add it to your requirements file

    $ pip-save install -e <url of the repo>


#### Configuration

For most users the default configuration of pip-save should be fine. If you do
want to change pip-save's defaults you do so by adding configuration options to
a configuration file. If a `.pipconfig` file exists in the current working
directory, its automatically loaded.

Here is an example of available options along with their default values.

    [pip-save]
    requirements = requirements.txt
    use_compatible = False


##### Configuration Options

* requirements:- path to the requirements file to be used. Default value is `requirements.txt`
Can be overwritten by using command line option `-r` or `--requirement`

* use_compatible:- whether to use compatible version specifier instead of exact versions.
Default value is `False`. Can be overwritten by using command line flag `--use-compatible`
