Elsie is a framework for creating slides programmatically using Python.
Quick links
- Documentation
- Demonstration of features (PDF, source code)
- Gallery of Elsie presentations
- API reference
import elsie
slides = elsie.SlideDeck()
@slides.slide()
def hello(slide):
slide.text("Hello world!")
slides.render("slides.pdf")
- Python 3.6+
- Inkscape 1.0+ (required only for Inkscape backend)
- You can find installation instructions here
- Versions under 1.0 and above 0.92 might also work, but they are not primarily supported
- Elsie uses Inkscape in the background, you do not have to know how to use it
pdflatex
,pdf2svg
(required only forLaTeX
support)
$ pip3 install elsie
If you want to use the Cairo
backend,
install Elsie
with the cairo
extra package:
$ pip3 install elsie[cairo]
$ docker build -t elsie .