https://github.com/5monkeys/reqlice
https://github.com/5monkeys/reqlice
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/5monkeys/reqlice
- Owner: 5monkeys
- License: mit
- Created: 2016-03-30T14:24:24.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2021-02-26T02:13:12.000Z (over 5 years ago)
- Last Synced: 2025-01-26T06:41:13.232Z (over 1 year ago)
- Language: Python
- Size: 18.6 KB
- Stars: 3
- Watchers: 7
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
=======
reqlice
=======
Annotate your requirements with the license of each requirement.
Prints the updated requirements file to stdout. Pipe it as you see fit.
Requires Python 3.5 or greater.
------------
Installation
------------
.. code-block:: bash
pip install -e git+https://github.com/5monkeys/reqlice#egg=reqlice
-----
Usage
-----
To stdout:
.. code-block:: bash
$ reqlice requirements.txt
Babel==1.3 # BSD License # [license] OSI-Approved: BSD License, BSD
billiard==3.3.0.20 # BSD License # [license] OSI-Approved: BSD License, BSD
celery==3.1.23 # BSD License # [license] OSI-Approved: BSD License, BSD
Pipe to file:
.. code-block:: bash
$ reqlice requirements.txt > updated_requirements.txt