Skip to main content

Extension that provides a port allocation mechanism to other SWAN components

Project description

SwanPortAllocator

Extension that provides a port allocation mechanism to other SWAN components.

Requirements

  • pyzmq

Install

pip install swanportallocator

Usage

Configure the server extension to load when the notebook server starts

 jupyter serverextension enable --py --user swanportallocator

Class swanportallocator.portallocator.PortAllocatorClient can be used to connect to the port allocator process and get a given number of free ports.

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

swanportallocator-2.0.0.tar.gz (6.4 kB view hashes)

Uploaded Source

Built Distribution

swanportallocator-2.0.0-py3-none-any.whl (6.3 kB view hashes)

Uploaded Python 3

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