# SwanHub
JupyterHub wrapper that automatically configures the SWAN templates and handlers.
These handlers replace the default ones with slightly modified versions (for example, the user info api endpoint provides information about the auth state, which is hidden in the default implementation).
## Requirements
This module requires and installs JupyterHub.
## Installation
Install the package
```bash
pip install swanhub
```
To have the proper css, it is necessary to download a release from https://github.com/swan-cern/common into the folder `/usr/local/share/jupyterhub/static/swan/`.
## Usage
Start SwanHub as you would for JupyterHub, and with the same configurations. Example:
```bash
swanhub --config /path/to/my/jupyterhub_config.py
```
Raw data
{
"_id": null,
"home_page": "https://github.com/swan-cern/jupyterhub-extensions",
"name": "swanhub",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "JupyterHub, SWAN, CERN",
"author": "SWAN Admins",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/91/c8/424316639d93ab558cfc85eac30ae69ee4dcd0629cdaf97e6b12135272a8/swanhub-1.0.1.tar.gz",
"platform": "Linux",
"description": "# SwanHub\n\nJupyterHub wrapper that automatically configures the SWAN templates and handlers.\n\nThese handlers replace the default ones with slightly modified versions (for example, the user info api endpoint provides information about the auth state, which is hidden in the default implementation).\n\n## Requirements\n\nThis module requires and installs JupyterHub.\n\n## Installation\n\nInstall the package\n\n```bash\npip install swanhub\n```\n\nTo have the proper css, it is necessary to download a release from https://github.com/swan-cern/common into the folder `/usr/local/share/jupyterhub/static/swan/`.\n\n## Usage\n\nStart SwanHub as you would for JupyterHub, and with the same configurations. Example:\n\n```bash\nswanhub --config /path/to/my/jupyterhub_config.py\n```\n",
"bugtrack_url": null,
"license": "AGPL-3.0",
"summary": "Custom SWAN templates and handlers for JupyterHub",
"version": "1.0.1",
"project_urls": {
"Homepage": "https://github.com/swan-cern/jupyterhub-extensions"
},
"split_keywords": [
"jupyterhub",
" swan",
" cern"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "ecec74b975d102c1ea0722b0bab0cf935bae382c424fa40a10f27539b6387d67",
"md5": "a005d16c8c8c4f562ffe10bd76cfc414",
"sha256": "5bf71470cb69c71ec72a7777bedb045608d8494120d5581fe032a0d4ae334633"
},
"downloads": -1,
"filename": "swanhub-1.0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "a005d16c8c8c4f562ffe10bd76cfc414",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 18470,
"upload_time": "2024-08-28T11:49:00",
"upload_time_iso_8601": "2024-08-28T11:49:00.492814Z",
"url": "https://files.pythonhosted.org/packages/ec/ec/74b975d102c1ea0722b0bab0cf935bae382c424fa40a10f27539b6387d67/swanhub-1.0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "91c8424316639d93ab558cfc85eac30ae69ee4dcd0629cdaf97e6b12135272a8",
"md5": "d5b6a752602bde6cc8605128c4dc4b98",
"sha256": "f4b6212e5d101679d60fd988fbafc27ebc92a1255a47397e8152dae5f28e86b0"
},
"downloads": -1,
"filename": "swanhub-1.0.1.tar.gz",
"has_sig": false,
"md5_digest": "d5b6a752602bde6cc8605128c4dc4b98",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 14113,
"upload_time": "2024-08-28T11:49:01",
"upload_time_iso_8601": "2024-08-28T11:49:01.812334Z",
"url": "https://files.pythonhosted.org/packages/91/c8/424316639d93ab558cfc85eac30ae69ee4dcd0629cdaf97e6b12135272a8/swanhub-1.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-08-28 11:49:01",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "swan-cern",
"github_project": "jupyterhub-extensions",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "swanhub"
}