portpicker
A library to choose unique available network ports.
A library to choose unique available network ports.
To install this package, run one of the following:
Portpicker provides an API to find and return an available network port for an application to bind to. Ideally suited for use from unittests or for test harnesses that launch local servers.
Summary
A library to choose unique available network ports.
Information Last Updated
Sep 8, 2025 at 17:28
License
Apache-2.0
Total Downloads
12
GitHub Repository
https://github.com/google/python_portpickerDocumentation
https://github.com/google/python_portpicker