Skip to main content

JupyterHub Batch Spawner for GLiCID

Gitlab CI Test coverage

Spawner form

JupyterHub spawner config

In jupyterhub_config.py, add:

c.JupyterHub.spawner_class = "glicid-spawner"

Custom parameters can be added with c.GlicidSpawner.req_<my_parameter> = .... The complete list of configurable parameters are available in spawner.py.

JupyterHub authenticator config

The spawner also contains a custom Authentik authenticator based on Jupyter generic OAuth authenticator. This configuration is optional but can be setup like this:

c.JupyterHub.authenticator_class = "authentik"

c.AuthentikAuthenticator.base_url = "https://authentik.example.org"
c.AuthentikAuthenticator.client_id = "abcdef"
c.AuthentikAuthenticator.client_secret = "xxxxxx"
c.AuthentikAuthenticator.callback_base_url = "https://jupyter.example.org"
c.AuthentikAuthenticator.allowed_groups = { "jupyter-users" }
c.AuthentikAuthenticator.admin_groups = { "jupyter-admins" }

Contribution

This package is managed by Poetry:

git clone https://gitlab.univ-nantes.fr/glicid/jupyter/spawner glicid-spawner
cd glicid-spawner
poetry install
poetry run pre-commit install

To test the spawner:

poetry run pytest

To lint and format the source code:

poetry run ruff check . --fix
poetry run ruff format

To render the form template (with live reload):

poetry run python -m render [--single-cluster]

To activate the virtual environement globally:

source .venv/bin/activate

Bump to a new version:

poetry run tbump Major.Patch

External resources

Metadata

Release files for glicid-spawner 1.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for glicid-spawner 1.6
File Size Uploaded Provenance
glicid_spawner-1.6.tar.gz 13.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for glicid-spawner 1.6
File Interpreter ABI Platform
glicid_spawner-1.6-py3-none-any.whl Python 3 none any Details

Total release size: 31.8 kB

Release files / glicid_spawner-1.6.tar.gz

Download URL glicid_spawner-1.6.tar.gz
Size 13.8 kB
Tags Source
SHA-256 checksum
How to use checksums
812248abc644824ce2bab30e2facab57e94491ea8eb6e007de4d9415a66f1473
BLAKE2b-256 checksum
How to use checksums
0ffaf3fc8b2b0596972faf6930aad83f48d159533fc240a5df8a58ed6c35ab3f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.4.1 CPython/3.10.21 Linux/6.12.74+deb13+1-amd64

Release files / glicid_spawner-1.6-py3-none-any.whl

Download URL glicid_spawner-1.6-py3-none-any.whl
Size 18.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4e83f43cdc7166506b130271429c17280ced44000d142952005d5cb6ce455bf6
BLAKE2b-256 checksum
How to use checksums
3a0846442259ccf4f13dacd3c5c66db5176ae7ae2aa67c08324e3b3f1cb841d3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.4.1 CPython/3.10.21 Linux/6.12.74+deb13+1-amd64

Security for glicid-spawner 1.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page