This commit is contained in:
2026-08-02 18:57:40 +02:00
parent 5e5ab8681a
commit 6fa59321c0
5759 changed files with 712133 additions and 66 deletions
@@ -0,0 +1,14 @@
=======
Credits
=======
Development Lead
----------------
* Ricardo Bánffy <rbanffy@gmail.com>
Contributors
------------
* Luke Skibinski https://github.com/lsh-0
* Piotr Surowiec https://github.com/Agrendalath
@@ -0,0 +1,33 @@
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Like `pip freeze` but lists only the packages that are not dependencies of installed packages.
Copyright (C) 2016-2017 Ricardo Bánffy
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<http://www.gnu.org/licenses/>.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
@@ -0,0 +1,209 @@
Metadata-Version: 2.1
Name: pip-chill
Version: 1.0.1
Summary: Like `pip freeze` but lists only the packages that are not dependencies of installed packages.
Home-page: https://github.com/rbanffy/pip-chill
Author: Ricardo Bánffy
Author-email: rbanffy@gmail.com
License: GNU General Public License v3
Keywords: pip-chill
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Environment :: Console
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Topic :: Software Development
Description-Content-Type: text/x-rst
=============================================================
PIP Chill - Make requirements with only the packages you need
=============================================================
.. image:: https://img.shields.io/pypi/v/pip-chill.svg
:target: https://pypi.python.org/pypi/pip-chill
.. image:: https://img.shields.io/travis/rbanffy/pip-chill.svg
:target: https://travis-ci.org/rbanffy/pip-chill
.. image:: https://readthedocs.org/projects/pip-chill/badge/?version=latest
:target: https://pip-chill.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status
.. image:: https://pyup.io/repos/github/rbanffy/pip-chill/shield.svg
:target: https://pyup.io/repos/github/rbanffy/pip-chill/
:alt: Updates
.. image:: https://api.codacy.com/project/badge/Grade/1100f4243bb54a279a3ee6458847b4a7
:target: https://app.codacy.com/app/rbanffy/pip-chill?utm_source=github.com&utm_medium=referral&utm_content=rbanffy/pip-chill&utm_campaign=Badge_Grade_Dashboard
:alt: Codacy Badge
Like `pip freeze` but lists only the packages that are not
dependencies of installed packages.
* Free software: GNU General Public License v3
* Documentation: https://pip-chill.readthedocs.io.
Features
--------
Generates a requirements file without any packages that depend on
other packages in the file.
.. image:: https://raw.githubusercontent.com/wiki/rbanffy/pip-chill/demo.gif
:alt: How it works
Usage
-----
Suppose you have installed in your virtualenv a couple packages. When
you run `pip freeze`, you'll get a list of all packages installed,
with all dependencies. If one of the packages you installed ceases to
depend on an already installed package, you have to manually remove it
from the list. The list also makes no distinction about the packages
you actually care about and packages your packages care about, making
the requirements file bloated and, ultimately, inaccurate.
On your terminal, run::
$ pip-chill
asciitree==0.3.1
autopep8==1.2.4
beautifulsoup4==4.4.0
bleach==1.4.1
cookiecutter==1.4.0
coverage==3.7.1
django-argonauts==1.0.1
...
Or, if you want it without version numbers::
$ pip-chill --no-version
asciitree
autopep8
beautifulsoup4
bleach
cookiecutter
coverage
django-argonauts
...
Or, if you want to list package dependencies too::
$ pip-chill -v
asciitree==0.3.1
autopep8==1.2.4
beautifulsoup4==4.4.0
bleach==1.4.1
cookiecutter==1.4.0
coverage==3.7.1
django-argonauts==1.0.1
# arrow==0.10.0 # Installed as dependency for jinja2-time
# binaryornot==0.4.4 # Installed as dependency for cookiecutter
# chardet==3.0.4 # Installed as dependency for binaryornot
# click==6.7 # Installed as dependency for cookiecutter
# django==1.11.5 # Installed as dependency for django-argonauts
# future==0.16.0 # Installed as dependency for cookiecutter
# html5lib==0.999999999 # Installed as dependency for bleach
# jinja2==2.9.6 # Installed as dependency for jinja2-time, cookiecutter
# jinja2-time==0.2.0 # Installed as dependency for cookiecutter
# markupsafe==1.0 # Installed as dependency for jinja2
# pep8==1.7.0 # Installed as dependency for autopep8
# poyo==0.4.1 # Installed as dependency for cookiecutter
# python-dateutil==2.6.1 # Installed as dependency for arrow
# pytz==2017.2 # Installed as dependency for django
# six==1.11.0 # Installed as dependency for python-dateutil, html5lib, bleach
# webencodings==0.5.1 # Installed as dependency for html5lib
# whichcraft==0.4.1 # Installed as dependency for cookiecutter
...
Credits
-------
This package was created with Cookiecutter_ and the
`audreyr/cookiecutter-pypackage`_ project template.
.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage
=======
History
=======
1.0.1 (2021-01-18)
------------------
* Add `no-chill` option so that pip-chill is not shown as installed
* Do Linux tests on Focal where possible (2.7 and 3.7 on ppc64le and s390x, 2.7 on arm64 run Bionic)
* Fix wrong URLs in CONTRIBUTING.rst
* Add 3.7, 3.8, 3.9 to ppc64le and s390x, 3.10-dev to Linux, macOS
* Rename nightly as 3.10-dev
* Add explicit amd64 arch to amd64
* Fix failing flake8 test
* Bump version to 1.0.1
1.0.0 (2020-02-29)
------------------
* Remove dependency on Click (stay 100% within stdlib)
* Add 3.8 tests for Tox
* Add new tests
* Add arm, ppc64le, and s390x to architectures being tested
* Bump version to 1.0.0
0.1.9 (2019-07-23)
------------------
* New `-a` shortcut for `--all`
* Internal fixes - use assert methods in tests, improve markdown.
* Testing improvements (using TravisCI matrix, new base image, etc)
* Small documentation improvements
0.1.8 (2018-08-20)
------------------
* Fixes, compatibility with Python 2.7, 3.6, 3.7
0.1.7 (2018-01-22)
------------------
* Added a verbose command-line switch (fixed #3)
0.1.6 (2016-11-23)
------------------
* Added pkg-resources to packages not shown by default.
0.1.5 (2016-11-05)
------------------
* Added an --all switch.
* Do not show wheel and setuptools unless --all is invoked.
0.1.4 (2016-11-05)
------------------
* Better testing, more of the cookiecutter infrastructure enabled.
0.1.3 (2016-10-06)
------------------
* Added a --no-version switch.
0.1.0 (2016-10-03)
------------------
* First release on PyPI.
@@ -0,0 +1,16 @@
../../../bin/pip-chill,sha256=GsTin1uj7q99uO-Exb28kQkWN0wDZAp_rZn_cxrkh6k,271
pip_chill-1.0.1.dist-info/AUTHORS.rst,sha256=6dYKLoU_u65JJXm28NoFA1Fri9f4oS0eHHjzQWlFGXE,216
pip_chill-1.0.1.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
pip_chill-1.0.1.dist-info/LICENSE,sha256=hbK6wHnoP9rY8Z-nEgGX6kcccsEnAgwi0eoDapUsKYs,1617
pip_chill-1.0.1.dist-info/METADATA,sha256=22CSXehOY1zOZg8_yUIAmuPPU3IhzHWdb0baVlVuVpc,6348
pip_chill-1.0.1.dist-info/RECORD,,
pip_chill-1.0.1.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
pip_chill-1.0.1.dist-info/WHEEL,sha256=Z-nyYpwrcSqxfdux5Mbn_DQ525iP7J2DG3JgGvOYyTQ,110
pip_chill-1.0.1.dist-info/entry_points.txt,sha256=ApMhRxdPlraYBN6vGSHb1g8N96H9pp9u2DIsQX3ODtw,50
pip_chill-1.0.1.dist-info/top_level.txt,sha256=8JZU1D1ht6g6qBC-cMRDODBaeIAiTiG0K9ZVNWhzWBI,10
pip_chill/__init__.py,sha256=kIpF99Q76zcd2lpX_9xucqoD74Np61XoydbHSRbb-jE,169
pip_chill/__pycache__/__init__.cpython-311.pyc,,
pip_chill/__pycache__/cli.cpython-311.pyc,,
pip_chill/__pycache__/pip_chill.cpython-311.pyc,,
pip_chill/cli.py,sha256=3M2N3tIfhS0fQbdKK0kUEvtvCifMSJCDT9NllIxdEks,1465
pip_chill/pip_chill.py,sha256=jcWXCcZidfGt-TFLag2PHoTOKzqyJ0HnDsH4vGaVgz0,2962
@@ -0,0 +1,6 @@
Wheel-Version: 1.0
Generator: bdist_wheel (0.36.2)
Root-Is-Purelib: true
Tag: py2-none-any
Tag: py3-none-any
@@ -0,0 +1,3 @@
[console_scripts]
pip-chill = pip_chill.cli:main