# podmanclispawner
[![PyPI version](https://badge.fury.io/py/podmanclispawner.svg)](https://pypi.org/project/podmanclispawner/)
[![GitHub Workflow](https://github.com/manics/podmanclispawner/workflows/Build/badge.svg?branch=main&event=push)](https://github.com/manics/podmanclispawner/actions)
JupyterHub Podman Spawner.
This is a fork of https://github.com/gatoniel/podmanspawner without the dependencies on local system users.
## Overview
This is a simplified version of https://github.com/gatoniel/podmanspawner that runs Podman containers using the `podman` executable, but without tying the container to the local users.
For example, this means it can be used as a JupyterHub spawner for BinderHub, without the need for a daemon or privileged container engine.
### Technical
`subprocess` is used to make calls to the Podman executable.
See also this [issue](https://github.com/jupyterhub/dockerspawner/issues/360) on
dockerspawner.
## Installation
Install latest release:
pip install podmanclispawner
Install latest development branch:
pip install git+https://github.com/manics/podmanclispawner
## JupyterHub configuration
```python
c.JupyterHub.spawner_class = 'podmancli'
```
For a full example see [`example/jupyterhub_config.py`](example/jupyterhub_config.py):
cd example
jupyterhub -f jupyterhub_config.py
Raw data
{
"_id": null,
"home_page": null,
"name": "podmanclispawner",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": null,
"keywords": "jupyterhub, spawner",
"author": "Simon Li, Niklas Netter",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/f9/4c/d8198e407e1d71ce327a09cb1561722b5b9647ae4bba034c221fa55dbc27/podmanclispawner-0.3.0.tar.gz",
"platform": null,
"description": "# podmanclispawner\n\n[![PyPI version](https://badge.fury.io/py/podmanclispawner.svg)](https://pypi.org/project/podmanclispawner/)\n[![GitHub Workflow](https://github.com/manics/podmanclispawner/workflows/Build/badge.svg?branch=main&event=push)](https://github.com/manics/podmanclispawner/actions)\n\nJupyterHub Podman Spawner.\n\nThis is a fork of https://github.com/gatoniel/podmanspawner without the dependencies on local system users.\n\n## Overview\n\nThis is a simplified version of https://github.com/gatoniel/podmanspawner that runs Podman containers using the `podman` executable, but without tying the container to the local users.\n\nFor example, this means it can be used as a JupyterHub spawner for BinderHub, without the need for a daemon or privileged container engine.\n\n### Technical\n\n`subprocess` is used to make calls to the Podman executable.\nSee also this [issue](https://github.com/jupyterhub/dockerspawner/issues/360) on\ndockerspawner.\n\n## Installation\n\nInstall latest release:\n\n pip install podmanclispawner\n\nInstall latest development branch:\n\n pip install git+https://github.com/manics/podmanclispawner\n\n## JupyterHub configuration\n\n```python\nc.JupyterHub.spawner_class = 'podmancli'\n```\n\nFor a full example see [`example/jupyterhub_config.py`](example/jupyterhub_config.py):\n\n cd example\n jupyterhub -f jupyterhub_config.py\n",
"bugtrack_url": null,
"license": "BSD",
"summary": "PodmanCLISpawner for JupyterHub",
"version": "0.3.0",
"project_urls": {
"Homepage": "https://github.com/manics/podmanclispawner",
"Source": "https://github.com/manics/podmanclispawner",
"Tracker": "https://github.com/manics/podmanclispawner/issues"
},
"split_keywords": [
"jupyterhub",
" spawner"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "18e588a971b20d7774bf3db497dafb64e7f65bafaf11a90d9d09017c1498878d",
"md5": "da72bc9bed6cab6495f8af06edbcbd66",
"sha256": "042740244763f98df1534e1986a2ebe9e5173e4d782ef99e4d25c685f7364228"
},
"downloads": -1,
"filename": "podmanclispawner-0.3.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "da72bc9bed6cab6495f8af06edbcbd66",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 6560,
"upload_time": "2024-07-07T11:56:24",
"upload_time_iso_8601": "2024-07-07T11:56:24.825981Z",
"url": "https://files.pythonhosted.org/packages/18/e5/88a971b20d7774bf3db497dafb64e7f65bafaf11a90d9d09017c1498878d/podmanclispawner-0.3.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "f94cd8198e407e1d71ce327a09cb1561722b5b9647ae4bba034c221fa55dbc27",
"md5": "64b5a2d06ab542679a52f70055728268",
"sha256": "79d771e03b4ff0b28202839fbf28ee8e1f2a9e1b6d1662bbef86b304d47f0ac7"
},
"downloads": -1,
"filename": "podmanclispawner-0.3.0.tar.gz",
"has_sig": false,
"md5_digest": "64b5a2d06ab542679a52f70055728268",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 10928,
"upload_time": "2024-07-07T11:56:25",
"upload_time_iso_8601": "2024-07-07T11:56:25.861161Z",
"url": "https://files.pythonhosted.org/packages/f9/4c/d8198e407e1d71ce327a09cb1561722b5b9647ae4bba034c221fa55dbc27/podmanclispawner-0.3.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-07-07 11:56:25",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "manics",
"github_project": "podmanclispawner",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "podmanclispawner"
}