Skip to main content

No project description provided

Project description

Alt text

Manta

A Framework for building Presentation Slides and themed Videos with Manim.

Description

Manta originated from the idea of creating presentation slides with Manim in an easy and time-efficient way. PowerPoints has extensions and libraries such as Efficient Elements to get done presentations faster and more efficiently. Manta essentially tries to do the same for Manim.

Manta is a framework that provides a set of useful tools to create presentation slides with Manim. It features the following components:

  • SlideTemplates: Manta provides a set of predefined slide templates that can be used to create slides.
  • Theming: Manta provides a set of predefined themes and the possibility to create custom themes. Predefined themes include Catppuccin and Tokyo Night.
  • Icons: Manta provides a waste set of icons that can be used in the slides that you might know from using Nerdfonts.
  • Editor: Manim-Editor is a GUI for creating slides with Manim. Mantas slides are designed to be used with Manim-Editor.
  • Examples: Manta provides a set of examples to get started with creating slides.

Table of Contents

Quickstart

First install manta via pip:

pip install manta-manim-theme

Here is a minimal example of how to use Manta:

from manta.slide_templates.minimal.minimal_intro_slide import MinimalIntroSlide


class MyMinimalExampleSlide(MinimalIntroSlide): # make sure to inherit from one of the slide templates
    
    # have a look at the source code of MinimalIntroSlide for customization options (font size, colors, etc.)
    title = "Manta"
    subtitle = "A Framework for creating Presentation Slides \n with Manim and Python"

    def construct(self):
        self.play(
            self.fade_in_slide()
        )
        self.wait(2)

        self.fade_out_scene()


if __name__ == '__main__':
    # instead of using the command line to render the video (like in Manim)
    # you can use the following method to render the video
    # there is a variety of methods to render the videos 
    # in my opinion this more convenient than using the command line
    MyMinimalExampleSlide.show_last_frame()

A brief presentation showcasing Mantas Key-Features is available in its documentation in the Usage section.

Documentation

The documentation for Manta can be found here.

Here are also other resources that might be helpful:

State of the Project

I am using Manta myself to create slides for my presentations, that need to be especially fancy. This will not change in the near future. I assume that I will continue to develop Manta and add new features to it till at least the end of 2027.

Contact

If you have any questions or feedback, feel free to contact me via email

Development

In order to publish the project to PyPi, the project needs to be built and then uploaded to PyPi.

To build the project, run the following command: poetry build It is considered good practice use the tool twine for checking the build and uploading the project to PyPi. By default the build command creates a dist folder with the built project files. To check all the files in the dist folder, run the following command:

twine check dist/**

If the check is successful, you can upload the project to PyPi with the following command:

twine upload dist/**

Documentation

This project uses sphinx for generating the documentation. It also uses a lot of sphinx extensions to make the documentation more readable and interactive. For example the extension myst-parser is used to enable markdown support in the documentation (instead of the usual .rst-files). It also uses the sphinx-autobuild extension to automatically rebuild the documentation when changes are made. By running the following command, the documentation will be automatically built and served, when changes are made (make sure to run this command in the root directory of the project):

sphinx-autobuild ./docs/source/ ./docs/build/html/

This project features most of the extensions featured in this Tutorial: Document Your Scientific Project With Markdown, Sphinx, and Read the Docs | PyData Global 2021.

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

manta_manim_theme-1.0.1.tar.gz (43.6 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

manta_manim_theme-1.0.1-py3-none-any.whl (38.3 MB view details)

Uploaded Python 3

File details

Details for the file manta_manim_theme-1.0.1.tar.gz.

File metadata

  • Download URL: manta_manim_theme-1.0.1.tar.gz
  • Upload date:
  • Size: 43.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.11

File hashes

Hashes for manta_manim_theme-1.0.1.tar.gz
Algorithm Hash digest
SHA256 39c0036a892f6ae800bdc98526aa81e6965beb133f43055626fe8b5ba8bbe77d
MD5 db3a6a75bcd2f503d02b872ceeb7498b
BLAKE2b-256 71218b88628c100d60f73c84917e89c940315913bf94b41f8008fefb7e74bccc

See more details on using hashes here.

File details

Details for the file manta_manim_theme-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for manta_manim_theme-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6ba6c877a02049c02dcbbaf8d839160cb12c3e547b8ef18b5539539756499f59
MD5 332504b3dcbee0b72eb3223aff060bb3
BLAKE2b-256 2e8e5ce2f531c223f4726a7e46c5a8d1ff328c6a1a1c6bc5822a4292fd67aa7c

See more details on using hashes here.

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