Skip to content

PyReveal is a Python library that allows users to generate Reveal.js presentations programmatically. With PyReveal, you can easily create slides, set themes, transitions, and even add custom backgrounds like images or videos.

License

Notifications You must be signed in to change notification settings

tavallaie/pyreveal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyReveal Library

PyReveal is a Python library that allows users to generate Reveal.js presentations programmatically. With PyReveal, you can easily create slides, set themes, transitions, and even add custom backgrounds like images or videos.

Features

  • Create Reveal.js presentations using Python.
  • Support for slide themes and transitions.
  • Error handling and validation for slide content.
  • Export presentations to HTML.
  • Support for slide backgrounds, including images, videos, and colors.
  • Parallax background support.

Installation

pip install pyreveal

Usage

from pyreveal import PyReveal, ImageBackground

presentation = PyReveal(title="My Presentation", theme="white", transition="slide")
presentation.add_slide("Welcome to PyReveal!")
bg_image = ImageBackground(image_url="path/to/image.jpg")
presentation.add_slide("This slide has a background image!", background=bg_image)
presentation.save_to_file("my_presentation.html")

For more advanced usage and features, please refer to the documentation.

Contribute

Support

If you are having issues, please let us know. You can report issues on the issue tracker mentioned above.

License

The project is licensed under the MIT license. See the LICENSE file for more details.

About

PyReveal is a Python library that allows users to generate Reveal.js presentations programmatically. With PyReveal, you can easily create slides, set themes, transitions, and even add custom backgrounds like images or videos.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages