
Product
Introducing Socket Firewall Enterprise: Flexible, Configurable Protection for Modern Package Ecosystems
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.
manim-presentations
Advanced tools
This is a minimal and quick-and-dirty package to make ManimSlides more modular and reduce the time required to create presentations. It unifies the way presentations are created and displayed. It allows composition of chapters as list of slides and of presentations as list of chapters. That way, your slides and chapters can be reused in different presentations. Furthermore, it allows to render individual slides and chapters, so you don't have to render the whole presentation every time you want to see a change.
manim-slides render example.py MyPresentation
and manim-slides MyPresentation commandsThis is a personal project that I started to make my life easier when creating presentations with Manim. It may be useful to others, but do not consider it a complete, elegant or polished solution. It probably lacks a lot of useful features to make it a general tool, but it's not my intention to make it so :)
If you have suggestions, ideas or feedback, feel free to open a discussion though!
You can install this package using pip:
pip install manim-presentations
To install locally, you can clone the repository and run:
pip install -e .
A ModularSlide is a single slide in a presentation. It extends the manim_slides.Slide class, so it's a Manim Scene.
The magic is in the ctx context argument that is passed to the __init__ method. By default this context is None,
in which case the slide behaves like a normal Manim Scene/Slide, allowing you to use it as a standalone scene. But this
context can also be an instance of manim_presentations.Presentation or manim_presentations.Chapter, which allows
rendering the slide within the presentation or chapter.
A ModularSlide also contains an inner_canvas attribute, which is a manim.Group intended to contain the graphical
elements of the slide. The default tear_down method clears this inner canvas, but can be overridden by your custom
slide class. This allows you to create slides that reuse the canvas from a previous slide, although this requires
knowing how the previous slide organised its canvas in the first place.
A chapter is a portion of a presentation that can be composed of multiple ModularSlides. By default, its construct
method iterates over the slides and renders them one by one.
It also receives a ctx context argument, which can be an instance of manim_presentations.Presentation but is None
by default. This allows to render a chapter as a standalone scene, or as part of a presentation.
A presentation is the actual, complete presentation that you want to create. It receives chapters as a list of Chapter
instances and renders them in the order they are provided.
It has properties like the title, presenting author, other authors, year, event it is made for, and a list of chapters.
It implements various methods for:
FAQs
A Python framework for creating composable manim-slides presentations.
We found that manim-presentations demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.

Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.