Skip to content

[spike] Use hucl and jupyter-kernel-client to replace jhub-client#8738

Draft
agoose77 wants to merge 4 commits into
2i2c-org:mainfrom
agoose77:spike-demo-health-checks
Draft

[spike] Use hucl and jupyter-kernel-client to replace jhub-client#8738
agoose77 wants to merge 4 commits into
2i2c-org:mainfrom
agoose77:spike-demo-health-checks

Conversation

@agoose77

@agoose77 agoose77 commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

This spike is a proof-of-concept for replacing jhub-client.

#8468 contextualises this.

It's my view that we should split the client into two parts:

  1. Provisioning a server
  2. Running code on that server

I released a package hucl to spin up a hub. It's simple, and designed to be easy to test. It's not intended to become an entire wrapper around JupyterHub's API.

Jupyter is slowly converging on tooling to do (2) with kernel provisioners, e.g. https://github.com/davidbrochart/jupyter-kernel-provisioner-proxy/. This package let you use nbclient or other tools with a remote server. However, I think for-now let's keep it simple and directly use the datalayer dep.

I imagine this approach should also be applied to the JupyterHub simulator, whose role it can be to use third-party code to start / stop servers, and third-party code to run benchmarks.

@agoose77
agoose77 marked this pull request as draft July 14, 2026 15:44
@agoose77 agoose77 changed the title Spike: use hucl and jupyter-kernel-client to replace jhub-client [spike]: use hucl and jupyter-kernel-client to replace jhub-client Jul 23, 2026
@agoose77 agoose77 changed the title [spike]: use hucl and jupyter-kernel-client to replace jhub-client [spike] Use hucl and jupyter-kernel-client to replace jhub-client Jul 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant