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.3.tar.gz (928.1 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.3-py3-none-any.whl (929.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: manim_widget-0.1.3.tar.gz
  • Upload date:
  • Size: 928.1 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.3.tar.gz
Algorithm Hash digest
SHA256 e22a1f790b21beb34c5ec16bbd9c794a856d4f131e6ea079cc742bdf3f4d015f
MD5 8a64b52fb846c1937c25fda45637802c
BLAKE2b-256 eee84990547bcdb68fa452e1b290bb1bc32807e80b014a4c9f328bf92336ebd8

See more details on using hashes here.

Provenance

The following attestation bundles were made for manim_widget-0.1.3.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.3-py3-none-any.whl.

File metadata

  • Download URL: manim_widget-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 929.5 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 edb084f8efd26d63c43aa42607f236fb46f1875eb8aab5034879762cb4e39483
MD5 177c0d58cf549817aec95a0f40f61c4f
BLAKE2b-256 a4d4a7f0b77399a60940901fd3b4f8676c407d10d39e2b8d03dd783b8109653e

See more details on using hashes here.

Provenance

The following attestation bundles were made for manim_widget-0.1.3-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