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.4.tar.gz (12.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

glicid_spawner-1.4-py3-none-any.whl (16.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: glicid_spawner-1.4.tar.gz
  • Upload date:
  • Size: 12.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.3 CPython/3.10.20 Linux/6.12.48+deb13-amd64

File hashes

Hashes for glicid_spawner-1.4.tar.gz
Algorithm Hash digest
SHA256 1f5009ed0328e2403d6f2f00e094db6b7326e6a7bbcaaadcf223f76b98758970
MD5 3a2c154fd5ef52da5ed8a26669381c2e
BLAKE2b-256 9a2cb1d85dbd2d765943077c0d25a70303e1359ee6f8d24e570027ee7bec86d2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: glicid_spawner-1.4-py3-none-any.whl
  • Upload date:
  • Size: 16.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.3 CPython/3.10.20 Linux/6.12.48+deb13-amd64

File hashes

Hashes for glicid_spawner-1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 a782f5f039459798d802ff01a56eb01f6b2a4db582ceee5dc307bd1f03f92a12
MD5 b1b3feb276052012becef353a7630d1d
BLAKE2b-256 9d44d43a38a53e4036ece08ced83a53f81d0b3b75a3a8c1a9c53a8844d337ec3

See more details on using hashes here.

Supported by

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