Skip to main content

A library to choose unique available network ports.

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

portpicker-1.6.0b1.tar.gz (25.5 kB view details)

Uploaded Source

Built Distribution

portpicker-1.6.0b1-py3-none-any.whl (16.5 kB view details)

Uploaded Python 3

File details

Details for the file portpicker-1.6.0b1.tar.gz.

File metadata

  • Download URL: portpicker-1.6.0b1.tar.gz
  • Upload date:
  • Size: 25.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for portpicker-1.6.0b1.tar.gz
Algorithm Hash digest
SHA256 6b8d5b1964681631860893841dd9aae939540ad1308eaa88090d5f425b46e0d7
MD5 78c283320f211c5cffed45f9c62147c4
BLAKE2b-256 0fa1ce923277916a94b98d6a36a4502c86dd38e48f3064b64a42e75836a6ab48

See more details on using hashes here.

File details

Details for the file portpicker-1.6.0b1-py3-none-any.whl.

File metadata

File hashes

Hashes for portpicker-1.6.0b1-py3-none-any.whl
Algorithm Hash digest
SHA256 9b4176e4a1529200f9a9ba592b66730c1ef3b18054e198f6566b0f8c79aeb812
MD5 531cc90fc2f60b472d6019a93624eb66
BLAKE2b-256 9a8db6f5ca0839209b4cdbb7b4f10bf44c8d1a7f441999fd1e14e2ff1fda7b28

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page