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.5.2.tar.gz (21.6 kB view details)

Uploaded Source

Built Distribution

portpicker-1.5.2-py3-none-any.whl (14.6 kB view details)

Uploaded Python 3

File details

Details for the file portpicker-1.5.2.tar.gz.

File metadata

  • Download URL: portpicker-1.5.2.tar.gz
  • Upload date:
  • Size: 21.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.12

File hashes

Hashes for portpicker-1.5.2.tar.gz
Algorithm Hash digest
SHA256 c55683ad725f5c00a41bc7db0225223e8be024b1fa564d039ed3390e4fd48fb3
MD5 36c5e3c1e13e4604131233412e0b866c
BLAKE2b-256 3b34bfbd5236c7726452080a92a9f6ea9770cd65f51b05cef319ccb767ed32bf

See more details on using hashes here.

File details

Details for the file portpicker-1.5.2-py3-none-any.whl.

File metadata

  • Download URL: portpicker-1.5.2-py3-none-any.whl
  • Upload date:
  • Size: 14.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.12

File hashes

Hashes for portpicker-1.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 01113f51c3cc63290a44dd7ae6e3eb9f8fe1b8a1f9d7988a897944230c39cd52
MD5 da5807d9a24400902541c01c6d52c3af
BLAKE2b-256 5347085215ca086b0e456421158a912d573f162644d6ef7a96de60fbc6dc99b2

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