pip-chill


Namepip-chill JSON
Version 1.0.3 PyPI version JSON
download
home_pagehttps://github.com/rbanffy/pip-chill
SummaryLike `pip freeze` but lists only the packages that are not dependencies of installed packages.
upload_time2023-04-15 12:29:58
maintainer
docs_urlNone
authorRicardo Bánffy
requires_python
licenseGNU General Public License v3
keywords pip-chill
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI
coveralls test coverage No coveralls.
            =============================================================
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
 bandit==1.7.0
 bumpversion==0.6.0
 click==7.1.2
 coverage==5.3.1
 flake8==3.8.4
 nose==1.3.7
 pip-chill==1.0.1
 pytest==6.2.1
 ...

Or, if you want it without version numbers::

 $ pip-chill --no-version
 bandit
 bumpversion
 click
 coverage
 flake8
 nose
 pip-chill
 pytest
 ...

Or, if you want it without pip-chill::

 $ pip-chill --no-chill
 bandit==1.7.0
 bumpversion==0.6.0
 click==7.1.2
 coverage==5.3.1
 flake8==3.8.4
 nose==1.3.7
 pytest==6.2.1
 ...

Or, if you want to list package dependencies too::

 $ pip-chill -v
 bandit==1.7.0
 bumpversion==0.6.0
 click==7.1.2
 coverage==5.3.1
 flake8==3.8.4
 nose==1.3.7
 pip-chill==1.0.1
 pytest==6.2.1
 sphinx==3.4.3
 tox==3.21.1
 twine==3.3.0
 watchdog==1.0.2
 # alabaster==0.7.12 # Installed as dependency for sphinx
 # appdirs==1.4.4 # Installed as dependency for virtualenv
 # attrs==20.3.0 # Installed as dependency for pytest
 # babel==2.9.0 # Installed as dependency for sphinx
 # bleach==3.2.1 # Installed as dependency for readme-renderer
 # bump2version==1.0.1 # Installed as dependency for bumpversion
 # certifi==2020.12.5 # Installed as dependency for requests
 # chardet==4.0.0 # Installed as dependency for requests
 # colorama==0.4.4 # Installed as dependency for twine
 # distlib==0.3.1 # Installed as dependency for virtualenv
 # docutils==0.16 # Installed as dependency for readme-renderer, sphinx
 # filelock==3.0.12 # Installed as dependency for tox, virtualenv
 # gitdb==4.0.5 # Installed as dependency for gitpython
 ...

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.3 (2023-04-15)
------------------
* Sort dependencies alphabetically in --verbose
* Use `ssort` to topologically sort code
* Update 3.11-dev to 3.11 on TravisCI
* Remove support for Python 3.5 and 3.6
* Update README.rst with --no-chill switch
* Bump version to 1.0.2

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.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/rbanffy/pip-chill",
    "name": "pip-chill",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "pip-chill",
    "author": "Ricardo B\u00e1nffy",
    "author_email": "rbanffy@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/0c/1d/eec0f393fe17675792e302a82cd6c1e77e261d212c7cbf70072727a6e016/pip-chill-1.0.3.tar.gz",
    "platform": null,
    "description": "=============================================================\nPIP Chill - Make requirements with only the packages you need\n=============================================================\n\n\n.. image:: https://img.shields.io/pypi/v/pip-chill.svg\n        :target: https://pypi.python.org/pypi/pip-chill\n\n.. image:: https://img.shields.io/travis/rbanffy/pip-chill.svg\n        :target: https://travis-ci.org/rbanffy/pip-chill\n\n.. image:: https://readthedocs.org/projects/pip-chill/badge/?version=latest\n        :target: https://pip-chill.readthedocs.io/en/latest/?badge=latest\n        :alt: Documentation Status\n\n.. image:: https://pyup.io/repos/github/rbanffy/pip-chill/shield.svg\n     :target: https://pyup.io/repos/github/rbanffy/pip-chill/\n     :alt: Updates\n\n.. image:: https://api.codacy.com/project/badge/Grade/1100f4243bb54a279a3ee6458847b4a7\n   :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\n   :alt: Codacy Badge\n\nLike `pip freeze` but lists only the packages that are not\ndependencies of installed packages.\n\n\n* Free software: GNU General Public License v3\n* Documentation: https://pip-chill.readthedocs.io.\n\n\nFeatures\n--------\n\nGenerates a requirements file without any packages that depend on\nother packages in the file.\n\n.. image:: https://raw.githubusercontent.com/wiki/rbanffy/pip-chill/demo.gif\n   :alt: How it works\n\nUsage\n-----\n\nSuppose you have installed in your virtualenv a couple packages. When\nyou run `pip freeze`, you'll get a list of all packages installed,\nwith all dependencies. If one of the packages you installed ceases to\ndepend on an already installed package, you have to manually remove it\nfrom the list. The list also makes no distinction about the packages\nyou actually care about and packages your packages care about, making\nthe requirements file bloated and, ultimately, inaccurate.\n\nOn your terminal,\u00a0run::\n\n $ pip-chill\n bandit==1.7.0\n bumpversion==0.6.0\n click==7.1.2\n coverage==5.3.1\n flake8==3.8.4\n nose==1.3.7\n pip-chill==1.0.1\n pytest==6.2.1\n ...\n\nOr, if you want it without version numbers::\n\n $ pip-chill --no-version\n bandit\n bumpversion\n click\n coverage\n flake8\n nose\n pip-chill\n pytest\n ...\n\nOr, if you want it without pip-chill::\n\n $ pip-chill --no-chill\n bandit==1.7.0\n bumpversion==0.6.0\n click==7.1.2\n coverage==5.3.1\n flake8==3.8.4\n nose==1.3.7\n pytest==6.2.1\n ...\n\nOr, if you want to list package dependencies too::\n\n $ pip-chill -v\n bandit==1.7.0\n bumpversion==0.6.0\n click==7.1.2\n coverage==5.3.1\n flake8==3.8.4\n nose==1.3.7\n pip-chill==1.0.1\n pytest==6.2.1\n sphinx==3.4.3\n tox==3.21.1\n twine==3.3.0\n watchdog==1.0.2\n # alabaster==0.7.12 # Installed as dependency for sphinx\n # appdirs==1.4.4 # Installed as dependency for virtualenv\n # attrs==20.3.0 # Installed as dependency for pytest\n # babel==2.9.0 # Installed as dependency for sphinx\n # bleach==3.2.1 # Installed as dependency for readme-renderer\n # bump2version==1.0.1 # Installed as dependency for bumpversion\n # certifi==2020.12.5 # Installed as dependency for requests\n # chardet==4.0.0 # Installed as dependency for requests\n # colorama==0.4.4 # Installed as dependency for twine\n # distlib==0.3.1 # Installed as dependency for virtualenv\n # docutils==0.16 # Installed as dependency for readme-renderer, sphinx\n # filelock==3.0.12 # Installed as dependency for tox, virtualenv\n # gitdb==4.0.5 # Installed as dependency for gitpython\n ...\n\nCredits\n-------\n\nThis package was created with Cookiecutter_ and the\n`audreyr/cookiecutter-pypackage`_ project template.\n\n.. _Cookiecutter: https://github.com/audreyr/cookiecutter\n.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage\n\n\n=======\nHistory\n=======\n\n1.0.3 (2023-04-15)\n------------------\n* Sort dependencies alphabetically in --verbose\n* Use `ssort` to topologically sort code\n* Update 3.11-dev to 3.11 on TravisCI\n* Remove support for Python 3.5 and 3.6\n* Update README.rst with --no-chill switch\n* Bump version to 1.0.2\n\n1.0.1 (2021-01-18)\n------------------\n\n* Add `no-chill` option so that pip-chill is not shown as installed\n* Do Linux tests on Focal where possible (2.7 and 3.7 on ppc64le and s390x, 2.7 on arm64 run Bionic)\n* Fix wrong URLs in CONTRIBUTING.rst\n* Add 3.7, 3.8, 3.9 to ppc64le and s390x, 3.10-dev to Linux, macOS\n* Rename nightly as 3.10-dev\n* Add explicit amd64 arch to amd64\n* Fix failing flake8 test\n* Bump version to 1.0.1\n\n1.0.0 (2020-02-29)\n------------------\n\n* Remove dependency on Click (stay 100% within stdlib)\n* Add 3.8 tests for Tox\n* Add new tests\n* Add arm, ppc64le, and s390x to architectures being tested\n* Bump version to 1.0.0\n\n0.1.9 (2019-07-23)\n------------------\n\n* New `-a` shortcut for `--all`\n* Internal fixes - use assert methods in tests, improve markdown.\n* Testing improvements (using TravisCI matrix, new base image, etc)\n* Small documentation improvements\n\n0.1.8 (2018-08-20)\n------------------\n\n* Fixes, compatibility with Python 2.7, 3.6, 3.7\n\n0.1.7 (2018-01-22)\n------------------\n\n* Added a verbose command-line switch (fixed #3)\n\n0.1.6 (2016-11-23)\n------------------\n\n* Added pkg-resources to packages not shown by default.\n\n0.1.5 (2016-11-05)\n------------------\n\n* Added an --all switch.\n* Do not show wheel and setuptools unless --all is invoked.\n\n0.1.4 (2016-11-05)\n------------------\n\n* Better testing, more of the cookiecutter infrastructure enabled.\n\n0.1.3 (2016-10-06)\n------------------\n\n* Added a --no-version switch.\n\n\n0.1.0 (2016-10-03)\n------------------\n\n* First release on PyPI.\n",
    "bugtrack_url": null,
    "license": "GNU General Public License v3",
    "summary": "Like `pip freeze` but lists only the packages that are not dependencies of installed packages.",
    "version": "1.0.3",
    "split_keywords": [
        "pip-chill"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "de536693cc6d71854b024b243139b3fc1f71220abf715e4eb5db94c2a13637c3",
                "md5": "deaf488c0c7a31b2772049400214dcf0",
                "sha256": "452a38edbcdfc333301c438c26ba00a0762d2034fe26a235d8587134453ccdb1"
            },
            "downloads": -1,
            "filename": "pip_chill-1.0.3-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "deaf488c0c7a31b2772049400214dcf0",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": null,
            "size": 6890,
            "upload_time": "2023-04-15T12:29:56",
            "upload_time_iso_8601": "2023-04-15T12:29:56.554852Z",
            "url": "https://files.pythonhosted.org/packages/de/53/6693cc6d71854b024b243139b3fc1f71220abf715e4eb5db94c2a13637c3/pip_chill-1.0.3-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0c1deec0f393fe17675792e302a82cd6c1e77e261d212c7cbf70072727a6e016",
                "md5": "5773be47677ab1569169e6485f0b176d",
                "sha256": "42c3b888efde0b3dc5d5307b92fae5fb67695dd9c29c9d31891b9505dd8b735a"
            },
            "downloads": -1,
            "filename": "pip-chill-1.0.3.tar.gz",
            "has_sig": false,
            "md5_digest": "5773be47677ab1569169e6485f0b176d",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 19455,
            "upload_time": "2023-04-15T12:29:58",
            "upload_time_iso_8601": "2023-04-15T12:29:58.234429Z",
            "url": "https://files.pythonhosted.org/packages/0c/1d/eec0f393fe17675792e302a82cd6c1e77e261d212c7cbf70072727a6e016/pip-chill-1.0.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-04-15 12:29:58",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "rbanffy",
    "github_project": "pip-chill",
    "travis_ci": true,
    "coveralls": false,
    "github_actions": true,
    "circle": true,
    "tox": true,
    "lcname": "pip-chill"
}
        
Elapsed time: 0.06382s