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

Uploaded Python 3

File details

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

File metadata

  • Download URL: manim_widget-0.1.2.tar.gz
  • Upload date:
  • Size: 926.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.2.tar.gz
Algorithm Hash digest
SHA256 91c8853429b0ab7549ee83610b05f9cde6c069f813d48f7637ef555523cef568
MD5 da70b6dee2f2f38025af6554c3960a96
BLAKE2b-256 d948d6ba15485b547e2233a03fac7ac3abaa3997dcc16fcbb0da2723f9528a8a

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: manim_widget-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 928.1 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b68ed213b3f104b63d75687b6f9dad16e4b1187907bb31dfaf847d527f8c62b1
MD5 b7aa58da671efc0b422d00bb1d4ae0e2
BLAKE2b-256 12a22a95cc2d303494cf3d286a0cd5a5428a6636bcbc6fc9ccf1d818d480b534

See more details on using hashes here.

Provenance

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