PyDocs

Software Packaging and Distribution

Software Packaging and Distribution

ensurepip

not Androidnot iOSnot WASI

The ensurepip package provides support for bootstrapping the pip installer into an existing Python installation or virtual environment. This bootstrapping approach reflects the fact that pip is an independent project with its own release cycle, and the latest available stable version is bundled with maintenance and feature releases of the CPython reference interpreter.
Symbols in ensurepip

b

bootstrap
Bootstrap pip into the current Python installation (or the given root directory).

v

version
Returns a string specifying the bundled version of pip.