Installation

Stable release

Install the latest stable release from PyPI:

pip install manim_extensions

This pulls in Manim as the only required runtime dependency.

Verifying the installation

After installation, import the package in Python:

import manim_extensions
print(manim_extensions.__version__)

You can also run the test suite locally:

pip install pytest
pytest tests/ -q

Development install

To work on manim_extensions itself, clone the repository with its submodules and install in editable mode:

git clone --recurse-submodules https://github.com/ExploreMaths/manim_extensions.git
cd manim_extensions
pip install -e .

The bundled plugins live under third_party/ as Git submodules. If you already cloned without --recurse-submodules, fetch them with:

git submodule update --init --recursive

LaTeX requirements

If you want to use ChineseMathTex, make sure xelatex and the xeCJK LaTeX package are available on your system. For English-only formulas, Manim’s default MathTex works without additional LaTeX packages.

Building the documentation

The documentation uses Sphinx and a custom Manim directive. Build it with:

cd docs
./make clean
./make html

The generated HTML will be in docs/_build/html/.