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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: portpicker-1.6.0.tar.gz
  • Upload date:
  • Size: 25.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for portpicker-1.6.0.tar.gz
Algorithm Hash digest
SHA256 bd507fd6f96f65ee02781f2e674e9dc6c99bbfa6e3c39992e3916204c9d431fa
MD5 37088c1adc650747aea1e457f3ecd135
BLAKE2b-256 4dd0cda2fc582f09510c84cd6b7d7b9e22a02d4e45dbad2b2ef1c6edd7847e00

See more details on using hashes here.

File details

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

File metadata

  • Download URL: portpicker-1.6.0-py3-none-any.whl
  • Upload date:
  • Size: 16.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for portpicker-1.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b2787a41404cf7edbe29b07b9e0ed863b09f2665dcc01c1eb0c2261c1e7d0755
MD5 a9fb89dbff50b5077691cb4f89ad76fb
BLAKE2b-256 322d440e4d7041fff89f28f483733eb617127aa866135c2dc719e05893f089e1

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