Skip to main content

Manim widget

Project description

manim-widget

Interactive Manim widget for Jupyter/marimo notebooks.

Installation

uv pip install -e .

Browser Debug Flow (unbundled manim-web)

Use this when you want readable browser stack traces from manim-web TypeScript sources while replaying one ManimWidget scene payload.

  1. Start manim-web in Vite dev mode:
cd manim-web
npm run dev -- --host 127.0.0.1 --port 5173 --cors
  1. In another terminal, start the Python debug server with your scene:
uv run python scripts/debug_scene_server.py your_module:YourSceneClass
  1. Open http://127.0.0.1:8765/.

The page fetches /scene.json live on reload, imports manim-web from the Vite server, and reuses js/src/player.js + js/src/registry.js directly. Runtime errors and unhandled rejections are printed with stack traces and __MW_LAST_ANIM_DEBUG context.

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

manim_widget-0.1.1.tar.gz (935.4 kB view details)

Uploaded Source

Built Distribution

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

manim_widget-0.1.1-py3-none-any.whl (936.3 kB view details)

Uploaded Python 3

File details

Details for the file manim_widget-0.1.1.tar.gz.

File metadata

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

File hashes

Hashes for manim_widget-0.1.1.tar.gz
Algorithm Hash digest
SHA256 aa9e02c7978aadb76cae05f4f56b38c165f7614d10507e9257ff5a075a0720ee
MD5 c996fd9fe5a90aa2a2d016c1db5d2470
BLAKE2b-256 ca3426410b7b64429ade2435e6f7ff7db5556593ddc3729822696a02f4fd2bdf

See more details on using hashes here.

Provenance

The following attestation bundles were made for manim_widget-0.1.1.tar.gz:

Publisher: publish.yml on rambip/manim-widget

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

File details

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

File metadata

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

File hashes

Hashes for manim_widget-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 62380460b7103e4cc007db8cbbd1fdceb6ad8648243ea8ef44bed46618cae0dc
MD5 2608c949fad3aa435b1bd13e4eccae0b
BLAKE2b-256 68c6b501969200f6ba227bbc02acb032925e553c4a824005c42b4db7ef471963

See more details on using hashes here.

Provenance

The following attestation bundles were made for manim_widget-0.1.1-py3-none-any.whl:

Publisher: publish.yml on rambip/manim-widget

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