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.0.tar.gz (356.5 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.0-py3-none-any.whl (357.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: manim_widget-0.1.0.tar.gz
  • Upload date:
  • Size: 356.5 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.0.tar.gz
Algorithm Hash digest
SHA256 46d107d7748b81d925ba2ce7cae631b39d7244f20bdc7910f393f3913a9e6268
MD5 d5566dd616676c6c5c820d42fccb961f
BLAKE2b-256 8525a0b6c080062122da52844e67d821e86f7ee442121d9114af715eb81a1a1c

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: manim_widget-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 357.6 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7d87768a7ae748e484d0e3855559c2ea102cea4b7c0aef1a30e4cc94e8f6d8f1
MD5 f473109c148fb33f01be683b95fc35d8
BLAKE2b-256 8b0cb68625a759402c102d9ae0e1060fb8c81d31898489bd1c1802cd252f21e1

See more details on using hashes here.

Provenance

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