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
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | f1e996c3779933c5051da887142cfeb6f35eaa38478cfa20f3dffaca18626e69 |
|
MD5 | 1032200b33d59dad5f6111a7cccc2470 |
|
BLAKE2b-256 | 4e6a2393c5ea9c31c57cf8770ea2669d75bb87d8bd50237f31f4b4f34faace2a |
File details
Details for the file swanportallocator-2.0.0-py3-none-any.whl
.
File metadata
- Download URL: swanportallocator-2.0.0-py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1bb67d1d8580273110440a3b073e82fdb22457f2d2b49aee16f0ef9ecf947b37 |
|
MD5 | 0888be019c8dcc3087d2411ebefc0c16 |
|
BLAKE2b-256 | 549b3157009de86d95e06a79d3e8b32e39c1764c7d72e875c0fe852d7fac424d |