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.1-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for jupyter_kernel_addons-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2c6d57650b8aefb79922543f16f69474e4dd3a5fc41240a25cf1fcb1db5f6e40
MD5 091cf902f63d36874bcb736faa502311
BLAKE2b-256 eb0616b7203c00a58599d55a13ea4aba51bb24d708dbac17f2ba38db12d1f1ec

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