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
Built Distribution
Close
Hashes for swanportallocator-2.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1bb67d1d8580273110440a3b073e82fdb22457f2d2b49aee16f0ef9ecf947b37 |
|
MD5 | 0888be019c8dcc3087d2411ebefc0c16 |
|
BLAKE2b-256 | 549b3157009de86d95e06a79d3e8b32e39c1764c7d72e875c0fe852d7fac424d |