Skip to main content

jupytext-notebook-helper

Small runtime helpers for teaching notebooks written in the jupytext percent format and built with jupytext-filter (student/teacher/colab versions).

Extracted from master_mind.teaching.utils so it can be reused across courses without pulling in the whole master-mind framework.

from jupytext_notebook_helper import *   # test_mode, skip_plots, print_header, is_notebook
  • test_mode / skip_plots — driven by the TESTING_MODE env var (off | on | full).
  • print_header(title) — formatted header when run as a script; jupytext-filter turns it into a markdown header in notebooks.
  • On script execution (e.g. make check), matplotlib.pyplot.show() is patched to render figures inline in the terminal via imgcat.

Intended to be imported from a teacher-only cell: students never see the test-mode machinery, and the package is not required on Colab.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jupytext_notebook_helper-0.2.0.tar.gz (17.4 kB view details)

Uploaded Source

Built Distribution

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

jupytext_notebook_helper-0.2.0-py3-none-any.whl (16.6 kB view details)

Uploaded Python 3

File details

Details for the file jupytext_notebook_helper-0.2.0.tar.gz.

File metadata

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

File hashes

Hashes for jupytext_notebook_helper-0.2.0.tar.gz
Algorithm Hash digest
SHA256 eadfd8418bbc80eff0150e7d36dc5ae66386f2f1d09364401d037daf79b6395b
MD5 b0d0ab14114b4d9325ebe8e3f2eb7d1a
BLAKE2b-256 6f6c9b8b15d987c3b9201db78b527629c4faa6411619a9c21af164dea564cc1f

See more details on using hashes here.

Provenance

The following attestation bundles were made for jupytext_notebook_helper-0.2.0.tar.gz:

Publisher: python-publish.yml on bpiwowar/jupytext-notebook-helper

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

File details

Details for the file jupytext_notebook_helper-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for jupytext_notebook_helper-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 150298a081713311d038627bfa816d725a520e2edd828f717c5bd2307bfb3a7e
MD5 d1891ca1eacf4b8dad94f01fbe86e7c3
BLAKE2b-256 301b49f6e4c56499654cf6e0f6c053560a3079d68cb058d6d9a93d123e19c479

See more details on using hashes here.

Provenance

The following attestation bundles were made for jupytext_notebook_helper-0.2.0-py3-none-any.whl:

Publisher: python-publish.yml on bpiwowar/jupytext-notebook-helper

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

Release history Release notifications | RSS feed

0.4.1

2 files

0.4.0

2 files

0.3.2

2 files

0.3.1

2 files

0.3.0

2 files

This release

0.2.0 This release

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page