{"id":21476511,"url":"https://github.com/zehengl/pip-check-updates","last_synced_at":"2025-04-06T20:11:16.525Z","repository":{"id":41894123,"uuid":"396289060","full_name":"zehengl/pip-check-updates","owner":"zehengl","description":"A tool to upgrade dependencies to the latest versions","archived":false,"fork":false,"pushed_at":"2025-03-17T13:26:11.000Z","size":2085,"stargazers_count":28,"open_issues_count":4,"forks_count":8,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-30T17:09:32.567Z","etag":null,"topics":["pip","python"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/pip-check-updates/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zehengl.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-08-15T09:05:23.000Z","updated_at":"2025-03-25T02:51:45.000Z","dependencies_parsed_at":"2023-10-02T19:01:46.293Z","dependency_job_id":"d1cb083f-0aec-44e2-aff7-6c3002ef2000","html_url":"https://github.com/zehengl/pip-check-updates","commit_stats":{"total_commits":230,"total_committers":7,"mean_commits":"32.857142857142854","dds":"0.29130434782608694","last_synced_commit":"c8428058760a74221b9fc8560560f01e4e1253fb"},"previous_names":[],"tags_count":40,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zehengl%2Fpip-check-updates","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zehengl%2Fpip-check-updates/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zehengl%2Fpip-check-updates/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zehengl%2Fpip-check-updates/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zehengl","download_url":"https://codeload.github.com/zehengl/pip-check-updates/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247543591,"owners_count":20955865,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["pip","python"],"created_at":"2024-11-23T11:09:15.486Z","updated_at":"2025-04-06T20:11:16.494Z","avatar_url":"https://github.com/zehengl.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n    \u003cimg src=\"https://cdn2.iconfinder.com/data/icons/flat-jewels-icon-set/512/0000_Refresh.png\" alt=\"logo\" height=\"128\"\u003e\n\u003c/div\u003e\n\n# pip-check-updates\n\n[![pytest](https://github.com/zehengl/pip-check-updates/actions/workflows/pytest.yml/badge.svg)](https://github.com/zehengl/pip-check-updates/actions/workflows/pytest.yml)\n![coding_style](https://img.shields.io/badge/code%20style-black-000000.svg)\n![all-contributors](https://img.shields.io/github/all-contributors/zehengl/pip-check-updates)\n![PyPI - License](https://img.shields.io/pypi/l/pip-check-updates)\n![PyPI - Python Version](https://img.shields.io/pypi/pyversions/pip-check-updates)\n![PyPI - Wheel](https://img.shields.io/pypi/wheel/pip-check-updates)\n[![Downloads](https://static.pepy.tech/badge/pip-check-updates)](https://pepy.tech/project/pip-check-updates)\n[![GitHub Pages](https://github.com/zehengl/pip-check-updates/actions/workflows/gh-deploy.yml/badge.svg)](https://github.com/zehengl/pip-check-updates/actions/workflows/gh-deploy.yml)\n\nA tool to upgrade dependencies to the latest versions, inspired by [npm-check-updates](https://www.npmjs.com/package/npm-check-updates)\n\n## Install\n\nFrom [PyPi](https://pypi.org/project/pip-check-updates/)\n\n    pip install pip-check-updates\n\nFrom [GitHub](https://github.com/zehengl/pip-check-updates)\n\n    pip install git+https://github.com/zehengl/pip-check-updates.git\n\n## Usage\n\n\u003e Depends on where you install `pip-check-updates`, if Python's scripts folder is not in `path`, the `pcu` entry point would not be available.\n\u003e However you can replace `pcu` with `python -m pip-check-updates`.\n\nShow any new dependencies for the project in the current directory:\n\n\u003e Changes are color coded\n\u003e\n\u003e - Red = major upgrade\n\u003e - Cyan = minor upgrade\n\u003e - Green = patch upgrade\n\n```terminal\npcu\n```\n\n    Checking dependencies\n    100%|████████████████████| 6/6 [00:01\u003c00:00,  5.75it/s]\n\n    In requirements.txt\n\n    Django  3.1.13  →  3.2.6\n    pandas  0.25.3  →  1.3.2\n    tqdm    4.62.0  →  4.62.1\n\n    Run pcu requirements.txt -u to upgrade versions in 1 file\n\nUpgrade a project's requirements file:\n\n```terminal\npcu -u\n```\n\n    Upgrading dependencies\n    100%|████████████████████| 6/6 [00:01\u003c00:00,  5.84it/s]\n\n    In requirements.txt\n\n    Django  3.1.13  →  3.2.6\n    pandas  0.25.3  →  1.3.2\n    tqdm    4.62.0  →  4.62.1\n\n    Run pip install -r requirements.txt to install new versions\n\nSpecify requirements file if needed, `-r` option will be recognized as well:\n\n```terminal\npcu requirements-dev.txt\n```\n\n    Checking dependencies\n    100%|████████████████████| 10/10 [00:01\u003c00:00,  6.05it/s]\n\n    In requirements.txt\n\n    Django  3.1.13  →  3.2.6\n    pandas  0.25.3  →  1.3.2\n    tqdm    4.62.0  →  4.62.1\n\n    In requirements-dev.txt\n\n    black   21.6b0  →  21.7b0\n    pylint  2.9.3   →  2.9.6\n    pytest  5.4.3   →  6.2.4\n\n    Run pcu requirements-dev.txt -u to upgrade versions in 2 files\n\nTarget version:\n\n```terminal\npcu requirements-dev.txt -t patch\n```\n\n    Checking dependencies\n    100%|████████████████████| 10/10 [00:02\u003c00:00,  4.73it/s]\n\n    In requirements.txt\n\n    tqdm  4.62.0  →  4.62.1\n\n    In requirements-dev.txt\n\n    pylint  2.9.3  →  2.9.6\n\n    Run pcu requirements-dev.txt -u to upgrade versions in 2 files\n\nFilter by a pattern:\n\n```terminal\npcu requirements-dev.txt -f \"py*\"\n```\n\n    Checking dependencies\n    100%|████████████████████| 10/10 [00:01\u003c00:00,  6.01it/s]\n\n    In requirements-dev.txt\n\n    pylint  2.9.3  →  2.9.6\n    pytest  5.4.3  →  6.2.4\n\n    Run pcu requirements-dev.txt -u to upgrade versions in 1 file\n\nWork with conda-forge (WIP):\n\n```terminal\npcu environment.yml -u\n```\n\nWork with Pipenv (WIP):\n\n```terminal\npcu Pipfile\n```\n\nInclude unstable versions:\n\n```terminal\npcu --pre\n```\n\n    Checking dependencies\n    100%|████████████████████| 6/6 [00:01\u003c00:00,  5.75it/s]\n\n    In requirements.txt\n\n    Django  3.1.13  →  3.2.6.dev\n    pandas  0.25.3  →  1.3.2.32.dev\n    tqdm    4.62.0  →  4.62.1.2.dev\n\n    Run pcu requirements.txt -u to upgrade versions in 1 file\n\nShow the helper text:\n\n```terminal\npcu -h\n```\n\n    usage: pcu [-h] [-u] [-f FILTER [FILTER ...]] [-t {latest,newest,greatest,major,minor,patch}] [-x] [-i] [--no_ssl_verify] [--no_recursive] [--ignore_warning] [--show_full_path]\n               [--no_color] [--ignore_additional_labels] [--init] [--extra EXTRA] [--pre] [--fail_on_update] [--loggable] [-v]\n               [path]\n\n    pip-check-updates: A tool to upgrade dependencies to the latest versions, inspired by npm-check-updates.\n\n    positional arguments:\n    path                  specify path to a requirements file\n\n    optional arguments:\n      -h, --help            show this help message and exit\n      -u, --upgrade         overwrite package file with upgraded versions instead of just outputting to console.\n      -f FILTER [FILTER ...], --filter FILTER [FILTER ...]\n                              include only package names matching the given strings.\n      -t {latest,newest,greatest,major,minor,patch}, --target {latest,newest,greatest,major,minor,patch}\n                              target version to upgrade to: latest, newest, greatest, major, minor, patch.\n      -x, --txt             output new requirements file instead of human-readable message.\n      -i, --interactive     enable interactive prompts for each dependency.\n      --no_ssl_verify       disable SSL verification.\n      --no_recursive        disable recursive checking.\n      --ignore_warning      ignore warning.\n      --show_full_path      show full path.\n      --no_color            disable color.\n      --ignore_additional_labels\n                            ignore additional labels.\n      --init                initialize pcufile.toml.\n      --extra EXTRA         extras to consider when parsing TOML files. Not used with Pipfile.\n      --pre                 include unstable versions when checking for updates.\n      --fail_on_update      exit with code 1 if updates are available.\n      --loggable            to be logging friendly.\n      -v, --version         show pip-check-updates version\n\n## Credits\n\n- [Icon](https://www.iconfinder.com/icons/171269/refresh_icon) by PixelKit\n\n## Contributors ✨\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --\u003e\n\u003c!-- prettier-ignore-start --\u003e\n\u003c!-- markdownlint-disable --\u003e\n\u003ctable\u003e\n  \u003ctbody\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"14.28%\"\u003e\u003ca href=\"https://github.com/ghostebony\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/47510020?v=4?s=100\" width=\"100px;\" alt=\"Pedro Américo\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003ePedro Américo\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/zehengl/pip-check-updates/issues?q=author%3Aghostebony\" title=\"Bug reports\"\u003e🐛\u003c/a\u003e \u003ca href=\"https://github.com/zehengl/pip-check-updates/commits?author=ghostebony\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"14.28%\"\u003e\u003ca href=\"http://kodare.net\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/332428?v=4?s=100\" width=\"100px;\" alt=\"Anders Hovmöller\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eAnders Hovmöller\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/zehengl/pip-check-updates/issues?q=author%3Aboxed\" title=\"Bug reports\"\u003e🐛\u003c/a\u003e\u003c/td\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"14.28%\"\u003e\u003ca href=\"https://jtiai.github.io/\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/1370289?v=4?s=100\" width=\"100px;\" alt=\"Jani Tiainen\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eJani Tiainen\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/zehengl/pip-check-updates/issues?q=author%3Ajtiai\" title=\"Bug reports\"\u003e🐛\u003c/a\u003e\u003c/td\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"14.28%\"\u003e\u003ca href=\"https://pelsmaeker.net/\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/647530?v=4?s=100\" width=\"100px;\" alt=\"Daniel A.A. Pelsmaeker\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eDaniel A.A. Pelsmaeker\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/zehengl/pip-check-updates/issues?q=author%3AVirtlink\" title=\"Bug reports\"\u003e🐛\u003c/a\u003e\u003c/td\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"14.28%\"\u003e\u003ca href=\"https://github.com/nikolaik\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/104154?v=4?s=100\" width=\"100px;\" alt=\"Nikolai Røed Kristiansen\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eNikolai Røed Kristiansen\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"#ideas-nikolaik\" title=\"Ideas, Planning, \u0026 Feedback\"\u003e🤔\u003c/a\u003e \u003ca href=\"https://github.com/zehengl/pip-check-updates/commits?author=nikolaik\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"14.28%\"\u003e\u003ca href=\"https://itachisan.github.io\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/1223421?v=4?s=100\" width=\"100px;\" alt=\"Giovanni Santini\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eGiovanni Santini\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"#ideas-ItachiSan\" title=\"Ideas, Planning, \u0026 Feedback\"\u003e🤔\u003c/a\u003e \u003ca href=\"https://github.com/zehengl/pip-check-updates/commits?author=ItachiSan\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"14.28%\"\u003e\u003ca href=\"https://git.coopdevs.org\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/25091358?v=4?s=100\" width=\"100px;\" alt=\"Pelayo García\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003ePelayo García\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/zehengl/pip-check-updates/commits?author=oyale\" title=\"Code\"\u003e💻\u003c/a\u003e \u003ca href=\"#ideas-oyale\" title=\"Ideas, Planning, \u0026 Feedback\"\u003e🤔\u003c/a\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"14.28%\"\u003e\u003ca href=\"https://github.com/radusuciu\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/1108600?v=4?s=100\" width=\"100px;\" alt=\"Radu Suciu\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eRadu Suciu\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/zehengl/pip-check-updates/issues?q=author%3Aradusuciu\" title=\"Bug reports\"\u003e🐛\u003c/a\u003e \u003ca href=\"https://github.com/zehengl/pip-check-updates/commits?author=radusuciu\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"14.28%\"\u003e\u003ca href=\"https://github.com/atchisson\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/41149397?v=4?s=100\" width=\"100px;\" alt=\"atchisson\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eatchisson\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"#ideas-atchisson\" title=\"Ideas, Planning, \u0026 Feedback\"\u003e🤔\u003c/a\u003e \u003ca href=\"https://github.com/zehengl/pip-check-updates/commits?author=atchisson\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"14.28%\"\u003e\u003ca href=\"https://github.com/purificant\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/4669013?v=4?s=100\" width=\"100px;\" alt=\"purificant\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003epurificant\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"https://github.com/zehengl/pip-check-updates/commits?author=purificant\" title=\"Code\"\u003e💻\u003c/a\u003e\u003c/td\u003e\n      \u003ctd align=\"center\" valign=\"top\" width=\"14.28%\"\u003e\u003ca href=\"https://www.pulse-mind.com\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/22203083?v=4?s=100\" width=\"100px;\" alt=\"Pulse-Mind\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003ePulse-Mind\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr /\u003e\u003ca href=\"#ideas-pulse-mind\" title=\"Ideas, Planning, \u0026 Feedback\"\u003e🤔\u003c/a\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n  \u003c/tbody\u003e\n\u003c/table\u003e\n\n\u003c!-- markdownlint-restore --\u003e\n\u003c!-- prettier-ignore-end --\u003e\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:END --\u003e\n\nThis project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzehengl%2Fpip-check-updates","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzehengl%2Fpip-check-updates","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzehengl%2Fpip-check-updates/lists"}