Depending on your preferred workflow, you can start a presentation in a variety of different ways.
Spiel presentations are live Python code: they can do anything that Python can do. You may want to run untrusted presentations (or even your own presentations) inside a container (but remember, even containers are not perfectly safe!). We produce a container image that can be run by (for example) Docker.
Presentations without extra Python dependencies might just need to be bind-mounted into the container.
For example, if your demo file is at
$PWD/presentation/deck.py, you could do
If the presentation has extra dependencies (like other Python packages),
we recommend building a new image that inherits our image (e.g.,
Spiel's image itself inherits from the Python base image.
Installing the Spiel package provides a CLI tool called
spiel present subcommand allows you to present a deck;
spiel present --help to see the arguments and available options.
present function lets you start a presentation programmatically (i.e., from a Python script).
If your deck is defined in
talk/slides.py like so:
You can then present the deck by running the script:
talk/__init__.pyfile): shebang (after running
chmod +x talk/slides.pyto mark