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

Uploaded Source

Built Distribution

portpicker-1.5.0-py3-none-any.whl (14.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: portpicker-1.5.0.tar.gz
  • Upload date:
  • Size: 21.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.5.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for portpicker-1.5.0.tar.gz
Algorithm Hash digest
SHA256 e13b148008adeb2793cf8b55bcd20fdcec4f763f2d3bf3c45f5e5e5d1df7d228
MD5 4a33011a9459c50355099e843dd28fc6
BLAKE2b-256 bacceb98a5dd112e7de55807f8a247e29988ea913fa2d84c4f4066855933b864

See more details on using hashes here.

File details

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

File metadata

  • Download URL: portpicker-1.5.0-py3-none-any.whl
  • Upload date:
  • Size: 14.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.5.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for portpicker-1.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9d8efa6b873aea25aba359d9d0d78c94054340fd7ad3bd9731d7a38abaf14395
MD5 a7fb917c8b60ae79c2fce1606834f212
BLAKE2b-256 3b0d906c6be1434af2e1eab9b56106bf11c2f51ac5686ce02383f85e4cceb159

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