{ "info": { "author": "Christopher Welborn", "author_email": "cj@welbornprod.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX :: Linux", "Programming Language :: Python", "Programming Language :: Python :: 3 :: Only", "Topic :: Software Development :: Libraries", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "Requirementz\n============\n\n- Checks ``requirements.txt`` against installed packages, or latest\n versions available on PyPi.\n\n- Shows latest package information from PyPi (for ``requirements.txt``\n or any package).\n\n- Searches ``requirements.txt`` for text/regex patterns.\n\n- Sorts ``requirements.txt`` lines in place.\n\n- Finds duplicate entries in ``requirements.txt``.\n\nInstallation\n------------\n\nThis tool is installable with ``pip``:\n\n.. code:: bash\n\n pip install requirementz\n\nThe command is called ``requirementz``.\n\nDependencies\n------------\n\nRequirementz has several python dependencies, all installable with\n``pip``. A ``requirements.txt`` is provided, for easy installation.\n\n- `colr `__ - Terminal colors.\n- `docopt `__ - Argument parsing.\n- `formatblock `__ - Text\n wrapping (like ``textwrap``).\n- `printdebug `__ - Easily\n disabled debug printing.\n- `requirements-parser `__\n - Parses ``requirements.txt``.\n\nIf you've cloned the repo, you can run\n``pip install -r requirements.txt`` to install all of them. Otherwise,\n``pip install requirementz`` should install all dependencies for you.\n\nUsage\n-----\n\n::\n\n Usage:\n requirementz (-h | -v) [-D] [-n]\n requirementz [-c | -C] [-e] [-L | -r] [-f file] [-D] [-n]\n requirementz [-a line... | -d] [-f file] [-D] [-n]\n requirementz -l [-L | -r] [-f file] [-D] [-n]\n requirementz (-P | -S) [-f file] [-D] [-n]\n requirementz -p [-L] [-D] [-n]\n requirementz -s pat [-i] [-f file] [-D] [-n]\n requirementz PACKAGE... [-D] [-n]\n\n Options:\n PACKAGE : Show pypi info for package names.\n -a line,--add line : Add a requirement line to the file.\n The -a flag can be used multiple times.\n -C,--checklatest : Check installed packages and latest versions\n from PyPi against requirements.\n -c,--check : Check installed packages against requirements.\n -D,--debug : Print some debug info while running.\n -d,--duplicates : List any duplicate entries.\n -e,--errors : Only show packages with errors when checking.\n -f file,--file file : Requirements file to parse.\n Default: ./requirements.txt\n -h,--help : Show this help message.\n -i,--ignorecase : Case insensitive when searching.\n -L,--location : When listing, sort by location instead of name.\n When checking, show the package location.\n -l,--list : List all requirements.\n -n,--nocolor : Force plain text, with no color codes.\n -P,--pypi : Show pypi info for all packages in\n requirements.txt.\n -p,--packages : List all installed packages.\n -r,--requirement : Print name and version requirement only for -c.\n Useful for use with -e, to get a list of\n packages to install or upgrade.\n -S,--sort : Sort the requirements file by package name.\n -s pat,--search pat : Search requirements for text/regex pattern.\n -v,--version : Show version.\n\nExamples\n--------\n\nCheck (installed packages)\n~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nCheck ``requirements.txt`` against installed package versions.\n\n.. code:: bash\n\n requirementz\n\nHere you can see that the ``colr >= 0.7.6`` requirement was not\nsatisfied, because ``0.7.5`` is installed:\n\n.. figure:: http://imgur.com/nbzLv7X.png\n :alt: Output\n\n Output\n\nShow package location while checking:\n\n.. code:: bash\n\n requirementz -L\n\n.. figure:: http://imgur.com/szaquw9.png\n :alt: Output\n\n Output\n\nCheck (latest pypi version)\n~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nCheck ``requirements.txt`` against installed package versions, and the\nlatest pypi version.\n\n.. code:: bash\n\n requirementz -C\n\n.. figure:: http://imgur.com/FEiyEgU.png\n :alt: Output\n\n Output\n\nShow package location while checking:\n\n.. code:: bash\n\n requirementz -C -L\n\n.. figure:: http://imgur.com/h7TgJ0u.png\n :alt: Output\n\n Output\n\nShow pypi info for packages.\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n``-P`` will show pypi information for all packages in\n``requirements.txt``:\n\n.. code:: bash\n\n requirementz -P\n\n.. figure:: http://imgur.com/nxjGyK7.png\n :alt: Output\n\n Output\n\nYou can do this for any package, whether it's installed or not:\n\n.. code:: bash\n\n requirementz antigravity\n\n.. figure:: http://imgur.com/hFXbf8C.png\n :alt: Output\n\n Output\n\nYou can use more than one package name.\n\nFind duplicate requirements\n~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nAny duplicate entries will be listed by name, with a count of\nduplicates.\n\n.. code:: bash\n\n requirementz -d\n\nNotes\n-----\n\nThis hasn't been tested very well with CVS or local requirements. Any\nhelp in that area would be appreciated, as I haven't had to use those\nrequirement types.\n\nContributions\n-------------\n\nFile an issue or create a pull request. Contributions are welcome.\n\nhttps://github.com/welbornprod/requirementz\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/welbornprod/requirementz", "keywords": "python module library 3 pip requirements requirements.txt", "license": "", "maintainer": "", "maintainer_email": "", "name": "Requirementz", "package_url": "https://pypi.org/project/Requirementz/", "platform": "", "project_url": "https://pypi.org/project/Requirementz/", "project_urls": { "Homepage": "https://github.com/welbornprod/requirementz" }, "release_url": "https://pypi.org/project/Requirementz/0.3.4/", "requires_dist": null, "requires_python": "", "summary": "Checks pip requirements against installed versions, and other related tools.\n", "version": "0.3.4" }, "last_serial": 5141239, "releases": { "0.3.0": [ { "comment_text": "", "digests": { "md5": "a7683e0d50c09df06b9b073e4da00bf6", "sha256": "9b223679089dd9c2182bd82540646902162a6726d3a81742d0c9bb253e66e191" }, "downloads": -1, "filename": "Requirementz-0.3.0.tar.gz", "has_sig": false, "md5_digest": "a7683e0d50c09df06b9b073e4da00bf6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17862, "upload_time": "2017-03-06T04:30:59", "url": "https://files.pythonhosted.org/packages/f7/b0/4128953087c794157f1ae1eb2e112b767e505b49f73fd2a3a5cf9df62e67/Requirementz-0.3.0.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "7aff17c57d010fbf73589480bd746ee5", "sha256": "c827378c4a627c95e9779aa1608e76e7cc41683163e48194c8ae7b47d5a069cc" }, "downloads": -1, "filename": "Requirementz-0.3.1.tar.gz", "has_sig": false, "md5_digest": "7aff17c57d010fbf73589480bd746ee5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17946, "upload_time": "2017-03-06T04:36:36", "url": "https://files.pythonhosted.org/packages/03/cd/471e0443b835abb00ff197ce2825825dbfc1df0c0917bbe69414ec648d47/Requirementz-0.3.1.tar.gz" } ], "0.3.2": [ { "comment_text": "", "digests": { "md5": "6743f553a2005ecd35b202d445ceecd6", "sha256": "4a0dd31f94bf279c9fe75e71fec25d8b15fc0f4125d5fbec6c5888f9bded7ae3" }, "downloads": -1, "filename": "Requirementz-0.3.2.tar.gz", "has_sig": false, "md5_digest": "6743f553a2005ecd35b202d445ceecd6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18317, "upload_time": "2017-03-06T05:02:12", "url": "https://files.pythonhosted.org/packages/a7/95/8f57abdbbb8835a3e6682384f48168d9a4b044df69a1ba4f65f9522097d5/Requirementz-0.3.2.tar.gz" } ], "0.3.3": [ { "comment_text": "", "digests": { "md5": "10b6a07aad2c332d6671c31551feb30f", "sha256": "8f6f83c0df1aa3a805bdf2a2b27967b4dee8465322050a21799f9927f636232e" }, "downloads": -1, "filename": "Requirementz-0.3.3.tar.gz", "has_sig": false, "md5_digest": "10b6a07aad2c332d6671c31551feb30f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18458, "upload_time": "2017-04-06T00:28:24", "url": "https://files.pythonhosted.org/packages/84/3a/129e13d66156306fe625e9381e5b629ad6d0e756bfd386583012ddaa2f1c/Requirementz-0.3.3.tar.gz" } ], "0.3.4": [ { "comment_text": "", "digests": { "md5": "f0f2d701b60698bb181b6144c6894778", "sha256": "bacd461c0fcef50ee04c73b02c85499e0e6b616693aee24d3647afc2c1e72473" }, "downloads": -1, "filename": "Requirementz-0.3.4.tar.gz", "has_sig": false, "md5_digest": "f0f2d701b60698bb181b6144c6894778", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18551, "upload_time": "2019-04-14T16:23:43", "url": "https://files.pythonhosted.org/packages/e6/f8/a7540333cbb734b7e021608c381fef8add603b8faceaef5c0461a18c4075/Requirementz-0.3.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f0f2d701b60698bb181b6144c6894778", "sha256": "bacd461c0fcef50ee04c73b02c85499e0e6b616693aee24d3647afc2c1e72473" }, "downloads": -1, "filename": "Requirementz-0.3.4.tar.gz", "has_sig": false, "md5_digest": "f0f2d701b60698bb181b6144c6894778", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18551, "upload_time": "2019-04-14T16:23:43", "url": "https://files.pythonhosted.org/packages/e6/f8/a7540333cbb734b7e021608c381fef8add603b8faceaef5c0461a18c4075/Requirementz-0.3.4.tar.gz" } ] }