Skip to main content

Jupyter Kernel Addons: Cell Execution Monitor with colored output and custom hooks

Project description

Jupyter Kernel Handler

Cell Execution Monitor with colored output and custom hooks for Jupyter notebooks.

Features

  • Pre-run cell content display (blue)
  • Real-time output (green)
  • Post-run summary (yellow)
  • Custom hooks for pre-run, real-time, and post-run events
  • Debug mode for line-by-line real-time output

Installation

From PyPI (public release)

pip install jupyter_kernel_handler

From GitHub (latest code)

pip install git+https://github.com/Dataxcelerator/jupyter_kernel_handler.git

Using a PyPI API key (for private uploads)

If you need to install from a private PyPI repository using an API key, use:

pip install --extra-index-url https://__token__:<YOUR_API_KEY>@pypi.org/simple jupyter_kernel_handler

Replace <YOUR_API_KEY> with your actual PyPI token.

Usage

import jupyter_kernel_handler
jupyter_kernel_handler.set_hooks(pre_run=my_pre, realtime=my_real, post_run=my_post)
jupyter_kernel_handler.activate(debug_mode=True)

See the notebook run.ipynb for a full demo.

License

MIT

Source

GitHub Repository

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

jupyter_kernel_addons-0.1.0-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

Details for the file jupyter_kernel_addons-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for jupyter_kernel_addons-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ea00471b48be685b2910c7b2fc318d9364d74263ffc3d3273f8d52a8fc320b81
MD5 821cf20aa79d87a313d2b4be259981ad
BLAKE2b-256 81fea296deae079ec42dce0e3e180f316ed16b10918856b6cedb4e4e5430b5b7

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