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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file pyreveal-0.2.0.tar.gz.

File metadata

  • Download URL: pyreveal-0.2.0.tar.gz
  • Upload date:
  • Size: 2.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.14 CPython/3.10.12 Linux/6.3.13-060313-generic

File hashes

Hashes for pyreveal-0.2.0.tar.gz
Algorithm Hash digest
SHA256 5c4d7dbddf4ba0a058f3ae828acabbdd6f875718d7f28c3eee5a66fd8a9b711e
MD5 84a1557ffdf181316f771f864405e4a3
BLAKE2b-256 1f72413b5070ef73d5ead632c86dfc70504d08ca8bb94d7adbde757caae602ee

See more details on using hashes here.

File details

Details for the file pyreveal-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: pyreveal-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 2.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.14 CPython/3.10.12 Linux/6.3.13-060313-generic

File hashes

Hashes for pyreveal-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5bba6adf8f1f7b868a6cc73f0246e5c8c9a2edf7862478aba7776dde57cfed04
MD5 f8d99f6d59bd86843c40ed63df7ce457
BLAKE2b-256 5bd3a59f1f45725b93adda2afcd9c691820cbc42dc9135919762005967106873

See more details on using hashes here.

Supported by

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