A library to choose unique available network ports.
Project Links
Meta
Maintainer: Google LLC
Requires Python: >=3.6
Classifiers
Development Status
- 5 - Production/Stable
License
- OSI Approved :: Apache Software License
Intended Audience
- Developers
Programming Language
- Python
- Python :: 3
- Python :: 3.7
- Python :: 3.8
- Python :: 3.9
- Python :: 3.10
- Python :: 3.11
- Python :: 3.12
- Python :: Implementation :: CPython
- Python :: Implementation :: PyPy
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.
It also contains an optional portserver that can be used to coordinate allocation of network ports on a single build/test farm host across all processes willing to use a port server aware port picker library such as this one.
1.6.0
Aug 15, 2023
1.6.0b1
Jul 07, 2022
1.5.2
Jun 08, 2022
1.5.1b1
Nov 09, 2021
1.5.0
Nov 09, 2021
1.5.0b1
Jul 12, 2021
1.4.0
May 24, 2021
1.3.9
May 12, 2021
1.3.1
Mar 05, 2019
1.3.0
Jan 18, 2019
1.2.0
Oct 09, 2017
1.1.1
Jan 27, 2016
1.1.0
Apr 02, 2015
1.0.0
Mar 21, 2015
Wheel compatibility matrix
Files in release
Extras:
None
Dependencies:
psutil