Choose unique available network ports
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.
- Developed at devel:languages:python
- Sources inherited from project openSUSE:Factory
-
2
derived packages
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout home:seife:Factory/python-portpicker && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
portpicker-1.5.2.tar.gz | 0000021621 21.1 KB | |
python-portpicker.changes | 0000002163 2.11 KB | |
python-portpicker.spec | 0000002256 2.2 KB |
Revision 6 (latest revision is 7)
Richard Brown (RBrownFactory)
accepted
request 990215
from
Dirk Mueller (dirkmueller)
(revision 6)
- update to 1.5.2: * Do not re-pick a known used (not-yet-returned) port when running stand alone without a portserver. * When not using a portserver *(you really should)*, try the `bind(0)` approach before hunting for random unused ports. More reliable per
Comments 0