Skip to content

v1.0.0 — rewrite as anywidget

Latest

Choose a tag to compare

@rgbkrk rgbkrk released this 02 May 05:39

Full rewrite of the 2014-era ipywidgets extension as an anywidget. No nbextension or lab extension install required — just pip install bitjet.

API

  • BitView / ByteView / BinaryView with traitlets data, datawidth, block_size, mode.
  • data accepts bytes, bytearray, memoryview, or anything with .tobytes() (numpy arrays, etc).
  • mode is "bit" (1 bit → 1 block) or "byte" (1 byte → grayscale block).

Compatibility

JupyterLab 3+, Jupyter Notebook 7+, VS Code notebooks, nteract desktop, or anywhere else anywidget runs.

Install

pip install bitjet