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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: portpicker-1.5.0b1.tar.gz
  • Upload date:
  • Size: 21.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.2

File hashes

Hashes for portpicker-1.5.0b1.tar.gz
Algorithm Hash digest
SHA256 9d1deed3092af7336cbc67814675c0036cba190299394e474cfde431fa23ef87
MD5 cee8e325678fcb86e5436db7d19ec8ea
BLAKE2b-256 754041bd5b2d5d1c5ffce54a439a87bbc8583cf709462afb72c052d05be60f6b

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: portpicker-1.5.0b1-py3-none-any.whl
  • Upload date:
  • Size: 14.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.2

File hashes

Hashes for portpicker-1.5.0b1-py3-none-any.whl
Algorithm Hash digest
SHA256 7d6bc35273700fb552749abf002297c980845e858089836822960d43e94bbdd6
MD5 79856da7b70f24568c0f7b4c24b9ece4
BLAKE2b-256 5bee27a20f382272a5e1d09dab4aa6c994ba64d61731709e93b172fbc520ccf8

See more details on using hashes here.

Provenance

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