Skip to main content

Layered Jupyter container images and project-local JovyKit environments.

Project description

JovyKit logo

JovyKit

Disposable JupyterLab environments that feel like Python virtualenvs.

CI Version CLI Python Image Python GHCR License

JovyKit gives each project a readable Dockerized JupyterLab environment. Run jovy init, start Jupyter, throw the container away, keep the notebooks.

Install

pip install jovykit
# or
uv tool install jovykit
jovy --version

Quick Start

pip install jovykit

jovy init
jovy up -d
jovy open

JovyKit demo: install, init, start, and open JupyterLab

Use a pinned Python image or GPU mode when you need it:

jovy init --python 3.13
jovy init --gpu all --python 3.13

Why?

Machine learning environments are annoying.

  • Conda environments drift.
  • Docker Compose is repetitive.
  • Jupyter setup takes boilerplate.
  • GPU configuration is fragile.
  • Reproducing environments across machines is painful.

JovyKit makes Dockerized Jupyter environments feel lightweight and disposable.

What You Get

  • One command creates compose.yaml, Dockerfile, requirements.txt, work/, and .jupyter/.
  • Notebooks and Jupyter settings persist; container state stays disposable.
  • jovy add and jovy remove edit requirements.txt.
  • up, down, start, stop, config, logs, build, and watch behave like Docker Compose.
  • GPU support is explicit with jovy init --gpu all.
  • jovy compose ... is the Docker Compose escape hatch.

There is no JovyKit config file. Edit compose.yaml, Dockerfile, or requirements.txt directly.

Requirements

  • Python 3.9 or newer on the host.
  • Docker Engine.
  • Docker Compose plugin support.
  • Optional GPU runtime support for gpus: all.

Common Commands

jovy add pandas scikit-learn
jovy build
jovy watch
jovy logs -f
jovy status
jovy shell
jovy down
jovy compose ps

How JovyKit Works

compose.yaml is runtime. Dockerfile is the project overlay. requirements.txt is project Python packages. Python comes from the selected image tag, for example :base-python-3.13.

  • jovy initializes an empty directory, or prints help in an existing project.
  • jovy init creates compose.yaml, Dockerfile, requirements.txt, work/, and .jupyter/.
  • jovy status, shell, run, open, and doctor add small Jupyter-focused conveniences.

Images

Image levels map to published JovyKit images:

ghcr.io/mihneateodorstoica/jovykit:minimal-python-3.13
ghcr.io/mihneateodorstoica/jovykit:base-python-3.13
ghcr.io/mihneateodorstoica/jovykit:extended-python-3.13
ghcr.io/mihneateodorstoica/jovykit:full-python-3.13

minimal and base publish Python 3.9 through 3.14 tags. extended and full publish Python 3.11 through 3.13 tags. latest points at minimal-python-3.14. Scheduled images also get level-specific tags such as base-nightly-python-3.11, base-weekly-python-3.11, and base-monthly-python-3.11.

minimal, base, and extended are curated cuts from the full stack. full is intentionally huge and keeps heavyweight ML, AI, cloud, distributed, and app runtimes in one batteries-included layer.

jovy init --image-level minimal --python 3.11
jovy init --image-level base --python 3.12
jovy init --image-level extended --python 3.13
jovy init --image-level full --python 3.13

The generated Compose file passes only JOVY_BASE_IMAGE. It does not pass a Python version build argument.

Build published image targets from the single multi-stage Dockerfile:

./build.sh minimal
./build.sh --python-version 3.13 base
./build.sh --python 3.11 --python 3.12 --python 3.13 all
./build.sh --python 3.14 --latest minimal
./build.sh --python 3.11 --channel nightly base

With no args, ./build.sh builds all supported image and Python tag pairs.

Dependencies

Use requirements.txt.

jovy add pandas scikit-learn
jovy remove pandas

Compose Watch rebuilds when dependency files change:

jovy watch

Persistent Files

Generated projects mount only the durable user paths:

./work      -> /home/jovyan/work
./.jupyter  -> /home/jovyan/.jupyter

Project notebooks and Jupyter settings survive rebuilds and container removal. Other container state is disposable.

GPU

GPU support is explicit:

jovy init --gpu none
jovy init --gpu all

By default, jovy init uses all when a local GPU is detected. none omits the Compose GPU field. all writes Compose gpus: all.

Repository Checks

ruff check .
black --check .
mypy jovykit tests main.py
pytest --cov=jovykit --cov-report=term-missing

Docker checks are opt-in:

pytest -m docker --run-docker

Repository Layout

jovykit/              Python CLI package
image/                Published image layers
site/                 GitHub Pages site
wiki/                 GitHub Wiki source
.github/workflows/    CI, release, docs, and image automation

License

JovyKit is licensed under the MIT License. See LICENSE.

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

jovykit-8.1.2.tar.gz (23.0 kB view details)

Uploaded Source

Built Distribution

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

jovykit-8.1.2-py3-none-any.whl (15.9 kB view details)

Uploaded Python 3

File details

Details for the file jovykit-8.1.2.tar.gz.

File metadata

  • Download URL: jovykit-8.1.2.tar.gz
  • Upload date:
  • Size: 23.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for jovykit-8.1.2.tar.gz
Algorithm Hash digest
SHA256 646619e336e9b20653839c27e5e702faeb1709c9b9e2adaa40aba1b3853b7e92
MD5 cbc78623c209da0a8c84098c025d1782
BLAKE2b-256 212810c1d0bd430f17b59426b47ead24990269e8fe4f7ff6da0a25f2e98128c9

See more details on using hashes here.

Provenance

The following attestation bundles were made for jovykit-8.1.2.tar.gz:

Publisher: ci-release.yml on MihneaTeodorStoica/jovykit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file jovykit-8.1.2-py3-none-any.whl.

File metadata

  • Download URL: jovykit-8.1.2-py3-none-any.whl
  • Upload date:
  • Size: 15.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for jovykit-8.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 25fbc7112218c47b2fcfee02f4df1215e8ed65e809b71f3f975d97a38591c6e7
MD5 6eaa48eaa6195fde12df3198ec58b99c
BLAKE2b-256 1c9c296f33a061808a1f3d4a90f58cc6e14d2b0469e415aeb46b1697fe925990

See more details on using hashes here.

Provenance

The following attestation bundles were made for jovykit-8.1.2-py3-none-any.whl:

Publisher: ci-release.yml on MihneaTeodorStoica/jovykit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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