Skip to main content

JupyterHub Batch Spawner for GLiCID

Project description

JupyterHub Batch Spawner for GLiCID

Gitlab CI Test coverage

Spawner form

JupyterHub config

In jupyterhub_config.py, add:

c.JupyterHub.spawner_class = 'glicid-spawner'

At the moment, you also need to change the c.GlicidSpawner.batch_script. This will be be included in the future.

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

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

glicid_spawner-1.2.tar.gz (13.0 kB view details)

Uploaded Source

Built Distribution

glicid_spawner-1.2-py3-none-any.whl (16.7 kB view details)

Uploaded Python 3

File details

Details for the file glicid_spawner-1.2.tar.gz.

File metadata

  • Download URL: glicid_spawner-1.2.tar.gz
  • Upload date:
  • Size: 13.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.14 Linux/5.10.0-28-amd64

File hashes

Hashes for glicid_spawner-1.2.tar.gz
Algorithm Hash digest
SHA256 10247651492447e54b6ea87c79f21451a158ac7081dee0fa5f240155de9b4343
MD5 11b5598f08cd79916c8c2bf92b658ce6
BLAKE2b-256 5c290f3212b91e9db3a858087edcf164a23c5bc2be6f0b973207c703754e63ca

See more details on using hashes here.

File details

Details for the file glicid_spawner-1.2-py3-none-any.whl.

File metadata

  • Download URL: glicid_spawner-1.2-py3-none-any.whl
  • Upload date:
  • Size: 16.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.14 Linux/5.10.0-28-amd64

File hashes

Hashes for glicid_spawner-1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a5c8dcf0317005c9e61dd8a03da90962bffb1d5f73c57b4f0ef13128bc96685c
MD5 fc5587ee897f871f8f76e292d9c64c5c
BLAKE2b-256 91cadabe40a2aa1d488d6ff544bc7e488febe0b68f25e914246bf24e2d76b54d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page