{"id":13448244,"url":"https://github.com/defjaf/pip_upgrade_outdated","last_synced_at":"2025-03-22T09:31:01.658Z","repository":{"id":57453036,"uuid":"126003141","full_name":"defjaf/pip_upgrade_outdated","owner":"defjaf","description":"Install outdated python packages.","archived":false,"fork":false,"pushed_at":"2019-01-16T09:23:31.000Z","size":47,"stargazers_count":64,"open_issues_count":7,"forks_count":6,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-14T06:07:05.427Z","etag":null,"topics":["command-line-tool","pip","python"],"latest_commit_sha":null,"homepage":"","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/defjaf.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}},"created_at":"2018-03-20T10:52:04.000Z","updated_at":"2025-03-10T07:04:29.000Z","dependencies_parsed_at":"2022-08-29T08:31:36.524Z","dependency_job_id":null,"html_url":"https://github.com/defjaf/pip_upgrade_outdated","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/defjaf%2Fpip_upgrade_outdated","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/defjaf%2Fpip_upgrade_outdated/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/defjaf%2Fpip_upgrade_outdated/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/defjaf%2Fpip_upgrade_outdated/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/defjaf","download_url":"https://codeload.github.com/defjaf/pip_upgrade_outdated/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244937751,"owners_count":20535124,"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":["command-line-tool","pip","python"],"created_at":"2024-07-31T05:01:39.866Z","updated_at":"2025-03-22T09:31:01.141Z","avatar_url":"https://github.com/defjaf.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# pip_upgrade_outdated\n\nRun `pip install --upgrade` for all outdated packages (`pip list --outdated`).\n\nAllow specifying which version of `pip` to run, and parallel or serial execution of the upgrade step.\n\n### Command line usage\n\n```\nusage: pip_upgrade_outdated [-h] [-3 | -2 | --pip_cmd PIP_CMD]\n                            [--serial | --parallel | --sequential] [--user]\n                            [--dry_run] [--verbose] [--version]\n                            [--exclude PKG]\n\nUpgrade outdated python packages with pip. Any unknown arguments will be passed to pip.\n\noptional arguments:\n  -h, --help            show this help message and exit\n  -3                    use pip3\n  -2                    use pip2\n  --pip_cmd PIP_CMD     use PIP_CMD (default pip)\n  --serial, -s          upgrade in serial via a single pip upgrade command (default)\n  --parallel, -p        upgrade in parallel via individual pip upgrade commands\n  --sequential, -q      upgrade in serial via individual pip upgrade commands\n  --user, -u            Adds the --user flag when installing the packages\n  --dry_run, -n         get list, but don't upgrade\n  --verbose, -v         may be specified multiple times\n  --version             show program's version number and exit\n  --exclude PKG, -x PKG\n                        exclude PKG; may be specified multiple times\n```\n\n### TODO\n\n* Need better error handling?\n* Should the script explicitly return a value to the shell?\n* allow patterns in exclude option\n* allow file list in exclude option\n\n### Sources\n\n* code based on https://gist.github.com/serafeimgr/b4ca5d0de63950cc5349d4802d22f3f0\n* project structure based on https://gehrcke.de/2014/02/distributing-a-python-command-line-application/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdefjaf%2Fpip_upgrade_outdated","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdefjaf%2Fpip_upgrade_outdated","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdefjaf%2Fpip_upgrade_outdated/lists"}