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

Uploaded Source

Built Distribution

glicid_spawner-1.0-py3-none-any.whl (16.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: glicid_spawner-1.0.tar.gz
  • Upload date:
  • Size: 12.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.10.13 Linux/5.10.0-28-amd64

File hashes

Hashes for glicid_spawner-1.0.tar.gz
Algorithm Hash digest
SHA256 37ae3e7b68aa182b391b1efc12ca979f402383428e7247e3f9ecc735da72bb9e
MD5 ad89a15ba7aaaca257003e9ffaa8ba0e
BLAKE2b-256 e6ed82672d5c2ea03f06c07510f93efdb568fdb6b1f8f17d8b65d284e24ce53d

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for glicid_spawner-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9d93aa143abde6d185049eb47ab98ccd50c3930190b31750f085226faa0a19cd
MD5 12655dd112b99aaf0aefb7ae409dfea5
BLAKE2b-256 4497c99b6fcad8c120ce6e6ab132ebc35836ccd8e8fa81f5a22f9b8d8e618c80

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