swanportallocator


Nameswanportallocator JSON
Version 2.0.0 PyPI version JSON
download
home_pagehttps://github.com/swan-cern/jupyter-extensions
SummaryExtension that provides a port allocation mechanism to other SWAN components
upload_time2023-12-20 08:37:57
maintainer
docs_urlNone
authorSWAN Admins
requires_python>=3.6
licenseAGPL-3.0
keywords jupyter notebooks swan cern
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # SwanPortAllocator

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

## Requirements

* pyzmq

## Install

```bash
pip install swanportallocator
```

## Usage

Configure the server extension to load when the notebook server starts

```bash
 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.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/swan-cern/jupyter-extensions",
    "name": "swanportallocator",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "",
    "keywords": "Jupyter,Notebooks,SWAN,CERN",
    "author": "SWAN Admins",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/4e/6a/2393c5ea9c31c57cf8770ea2669d75bb87d8bd50237f31f4b4f34faace2a/swanportallocator-2.0.0.tar.gz",
    "platform": "Linux",
    "description": "# SwanPortAllocator\n\nExtension that provides a port allocation mechanism to other SWAN components.\n\n## Requirements\n\n* pyzmq\n\n## Install\n\n```bash\npip install swanportallocator\n```\n\n## Usage\n\nConfigure the server extension to load when the notebook server starts\n\n```bash\n jupyter serverextension enable --py --user swanportallocator\n```\n\nClass `swanportallocator.portallocator.PortAllocatorClient` can be used to connect to the port allocator process and get a given number of free ports.\n",
    "bugtrack_url": null,
    "license": "AGPL-3.0",
    "summary": "Extension that provides a port allocation mechanism to other SWAN components",
    "version": "2.0.0",
    "project_urls": {
        "Homepage": "https://github.com/swan-cern/jupyter-extensions"
    },
    "split_keywords": [
        "jupyter",
        "notebooks",
        "swan",
        "cern"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "549b3157009de86d95e06a79d3e8b32e39c1764c7d72e875c0fe852d7fac424d",
                "md5": "0888be019c8dcc3087d2411ebefc0c16",
                "sha256": "1bb67d1d8580273110440a3b073e82fdb22457f2d2b49aee16f0ef9ecf947b37"
            },
            "downloads": -1,
            "filename": "swanportallocator-2.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "0888be019c8dcc3087d2411ebefc0c16",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 6332,
            "upload_time": "2023-12-20T08:37:54",
            "upload_time_iso_8601": "2023-12-20T08:37:54.646167Z",
            "url": "https://files.pythonhosted.org/packages/54/9b/3157009de86d95e06a79d3e8b32e39c1764c7d72e875c0fe852d7fac424d/swanportallocator-2.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4e6a2393c5ea9c31c57cf8770ea2669d75bb87d8bd50237f31f4b4f34faace2a",
                "md5": "1032200b33d59dad5f6111a7cccc2470",
                "sha256": "f1e996c3779933c5051da887142cfeb6f35eaa38478cfa20f3dffaca18626e69"
            },
            "downloads": -1,
            "filename": "swanportallocator-2.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "1032200b33d59dad5f6111a7cccc2470",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 6396,
            "upload_time": "2023-12-20T08:37:57",
            "upload_time_iso_8601": "2023-12-20T08:37:57.444663Z",
            "url": "https://files.pythonhosted.org/packages/4e/6a/2393c5ea9c31c57cf8770ea2669d75bb87d8bd50237f31f4b4f34faace2a/swanportallocator-2.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-12-20 08:37:57",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "swan-cern",
    "github_project": "jupyter-extensions",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "swanportallocator"
}
        
Elapsed time: 0.16233s