Elsie is a framework for making slides in Python.
Full demonstration:
- Result: example.pdf
- Source code: example.py
Minimal example:
import elsie
@elsie.slide()
def hello(slide):
slide.text("Hello world!")
elsie.render() # Creates file 'slides.pdf'
- Python 3.4 or newer
- Inkscape (Elsie uses Inkscape in the background, you do not have to know how to use it.)
- (Optional for LaTeX support): pdflatex, pdf2svg
pip3 install elsie
Note: This does not install Inkscape, you have to do it manually.
python setup.py build
python setup.py install