Skip to main content

A Python library to simplify the creation of presentations using Reveal.js.

Project description

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

  • Issue Tracker: https://github.com/tavallaie/pyreveal/issues

  • Source Code: https://github.com/tavallaie/pyreveal

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.

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

pyreveal-0.2.0.tar.gz (2.6 MB view hashes)

Uploaded Source

Built Distribution

pyreveal-0.2.0-py3-none-any.whl (2.7 MB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page