Skip to main content

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.

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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file swanportallocator-2.0.0.tar.gz.

File metadata

  • Download URL: swanportallocator-2.0.0.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for swanportallocator-2.0.0.tar.gz
Algorithm Hash digest
SHA256 f1e996c3779933c5051da887142cfeb6f35eaa38478cfa20f3dffaca18626e69
MD5 1032200b33d59dad5f6111a7cccc2470
BLAKE2b-256 4e6a2393c5ea9c31c57cf8770ea2669d75bb87d8bd50237f31f4b4f34faace2a

See more details on using hashes here.

File details

Details for the file swanportallocator-2.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for swanportallocator-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1bb67d1d8580273110440a3b073e82fdb22457f2d2b49aee16f0ef9ecf947b37
MD5 0888be019c8dcc3087d2411ebefc0c16
BLAKE2b-256 549b3157009de86d95e06a79d3e8b32e39c1764c7d72e875c0fe852d7fac424d

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

2.0.0 This release

2 files

1.0.2

2 files

1.0.1

2 files

1.0.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page