{"id":13813890,"url":"https://github.com/pypa/get-pip","last_synced_at":"2025-06-18T19:06:40.005Z","repository":{"id":39590819,"uuid":"50029685","full_name":"pypa/get-pip","owner":"pypa","description":"Helper scripts to install pip, in a Python installation that doesn't have it.","archived":false,"fork":false,"pushed_at":"2025-05-02T15:39:20.000Z","size":150489,"stargazers_count":808,"open_issues_count":14,"forks_count":310,"subscribers_count":39,"default_branch":"main","last_synced_at":"2025-05-15T01:37:16.468Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://bootstrap.pypa.io/pip/","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/pypa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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,"zenodo":null}},"created_at":"2016-01-20T12:50:35.000Z","updated_at":"2025-05-12T18:07:47.000Z","dependencies_parsed_at":"2023-02-16T14:15:47.703Z","dependency_job_id":"ebdff20c-2482-4194-aaf4-6d6ecebcc1a5","html_url":"https://github.com/pypa/get-pip","commit_stats":null,"previous_names":[],"tags_count":57,"template":false,"template_full_name":null,"purl":"pkg:github/pypa/get-pip","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pypa%2Fget-pip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pypa%2Fget-pip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pypa%2Fget-pip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pypa%2Fget-pip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pypa","download_url":"https://codeload.github.com/pypa/get-pip/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pypa%2Fget-pip/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260616553,"owners_count":23036867,"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":[],"created_at":"2024-08-04T04:01:34.673Z","updated_at":"2025-06-18T19:06:34.989Z","avatar_url":"https://github.com/pypa.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# get-pip.py\n\n`get-pip.py` is a bootstrapping script that enables users to install pip\nin Python environments that don't already have it installed. You\nshould not directly reference the files located in this repository and instead\nuse the versions located at \u003chttps://bootstrap.pypa.io/\u003e.\n\n## Usage\n\n```console\n$ curl -sSL https://bootstrap.pypa.io/get-pip.py -o get-pip.py\n$ python get-pip.py\n```\n\nUpon execution, `get-pip.py` will install the latest version of `pip` into the\ncurrent Python environment. When using Python 3.11 or older, by default the\npackages `setuptools` and `wheel` will also be installed if an existing version\nof them was not found.\n\nIt is possible to provide additional arguments to the underlying script. These\nare passed through to the underlying `pip install` command, and can thus be\nused to constrain the versions of the packages, install additional packages,\nor to pass other pip options such as `--no-index`.\n\n```console\n# Constrain the pip version\n$ python get-pip.py \"pip \u003c 21.0\"\n\n# Force the installation of `setuptools` and `wheel` on newer Python versions.\n$ python get-pip.py setuptools wheel\n\n# Install packages from a local directory instead of PyPI.\n$ python get-pip.py --no-index --find-links=/local/copies\n```\n\n### get-pip.py options\n\nThis script also has its own options, which control which packages it will\ninstall.\n\n- `--no-setuptools`: Do not attempt to install `setuptools`. This is a no-op on Python 3.12+.\n- `--no-wheel`: Do not attempt to install `wheel`. This is a no-op on Python 3.12+.\n\n## Development\n\nYou need to have a [`nox`](https://nox.readthedocs.io/) available on the CLI.\n\n### How it works\n\n`get-pip.py` bundles a copy of pip with a tiny amount of glue code. This glue\ncode comes from the `templates/` directory.\n\n### Updating after a pip release\n\nIf you just made a pip release, run `nox -s update-for-release -- \u003cversion\u003e`.\nThis session will handle all the script updates (by running `generate`), commit\nthe changes and tag the commit.\n\nIMPORTANT: Check that the correct files got modified before pushing. The session\nwill pause to let you do this.\n\n### Generating the scripts\n\nRun `nox -s generate`.\n\n## Discussion\n\nIf you run into bugs, you can file them in our [issue tracker].\n\nYou can also join `#pypa` or `#pypa-dev` on Freenode to ask questions or\nget involved.\n\n[issue tracker]: https://github.com/pypa/get-pip/issues\n\n## Code of Conduct\n\nEveryone interacting in the get-pip project's codebases, issue trackers, chat\nrooms, and mailing lists is expected to follow the [PSF Code of Conduct].\n\n[PSF Code of Conduct]: https://github.com/pypa/.github/blob/main/CODE_OF_CONDUCT.md\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpypa%2Fget-pip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpypa%2Fget-pip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpypa%2Fget-pip/lists"}