Skip to main content

Deveal, a reveal.js helper tool

Deveal is an helper tool for using the marvelous reveal.js presentation framework.

It provides the ability to

  • create a new presentation

  • split presentation into multiple files

  • easily parameterize the presentation (title, theme, custom css, …)

  • build presentation into a single index.html file

  • watch for presentation updates while editing the source files

Deveal is developped in Python 3 and mainly relies on the wonderful Jinja2, PyYaml and watchdog packages.

Installation

Use the pip installation tool

pip install deveal

The dependencies will be automatically installed.

Usage

Deveal is a command line tool. It must be used from within a terminal.

Run the following command to get help

deveal --help

deveal new

The deveal new command creates a new presentation. As it creates the presentation directory itself, the command must be run in the upper directory where the new presentation will be created

(example below for creating a new presentation named “mynewpresent”)

deveal new mynewpresent

This command creates the minimal required files in the presentation directory

  • the deveal-index.html template file

  • the deveal.yaml configuration file

A deveal.css file for optional custom styles and a sections directory with an example presentation are also created

The deveal-index.html file is the template for the presentation. It a Jinja2 template rendered throught the deveal build command, using the variables contained in the deveal.yaml file. Unless you want to modify the reveal.js configuration, you should not have to modify this template.

The deveal.yaml file contains the configuration for the presentation. It should contains the folling expected variables:

  • reveal_path : The path or URL to the installed reveal.js framework (”https://cdn.jsdelivr.net/npm/reveal.js@3.6.0” if not defined)

  • reveal_theme : The theme to use for (“black” if not defined)

  • content_files : The ordered array of files containing the parts of the presentation

  • custom_css : The path to the custom css file if any

Any other variable defined in this file is made available as a Jinja2 variable for the template file. This may be useful if you plan to customize the template.

deveal build

The deveal build command builds the presentation as a single index.html file using the deveal-index.html and deveal.yaml files

deveal build

The obtained index.html file is the presentation itself that can be open throught a web browser.

deveal watch

The deveal watch command watches for files changes in the presentation directory and subdirectories. If a change is detected, a build is automatically triggered. Type Ctrl+C to stop watching.

deveal watch

Tips

  • For an easier writing and maintenance of the presentation, it is encouraged to split the presentation into multiple files (for example title.html, part1.html, part2.html, …)

  • it is encouraged to put the graphics used in the presentation in a dedicated subdirectory (named “graphics” for example)

Authors

Deveal is developed by Jean-Christophe Fabre

Metadata

Release files for deveal 1.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for deveal 1.1.2
File Size Uploaded Provenance Actions
deveal-1.1.2.tar.gz 7.7 kB Without provenance Details for deveal-1.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for deveal 1.1.2
File Interpreter ABI Platform Actions
deveal-1.1.2-py3-none-any.whl Python 3 none any Details for deveal-1.1.2-py3-none-any.whl

Total release size: 15.7 kB

Release files / deveal-1.1.2.tar.gz

Download URL deveal-1.1.2.tar.gz
Size 7.7 kB
Tags Source
SHA-256 checksum
How to use checksums
60963500afcb786c0709ee96f5e7031459e6b543bc0feff6bcd594c8f9135aca
BLAKE2b-256 checksum
How to use checksums
757209ce60d1f3dce338abc4c4c3a70b7f26369575167a6e1212648bbf3a08d0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.1

Release files / deveal-1.1.2-py3-none-any.whl

Download URL deveal-1.1.2-py3-none-any.whl
Size 8.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fc14e4e8a73f91a1ee6ed08c00fff935a7394ea65ac91dbd8b1e524c99fb2b42
BLAKE2b-256 checksum
How to use checksums
e691d21c9159e37c72a52804196256c3e92f474c28a978b29647ab6a34b12257
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.1

Security for deveal 1.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page