Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/spirali/elsie
Python framework for making slides
https://github.com/spirali/elsie
inkscape python slides
Last synced: 3 months ago
JSON representation
Python framework for making slides
- Host: GitHub
- URL: https://github.com/spirali/elsie
- Owner: spirali
- License: mit
- Created: 2018-05-20T18:48:53.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-03-20T16:06:37.000Z (8 months ago)
- Last Synced: 2024-06-28T10:31:36.500Z (5 months ago)
- Topics: inkscape, python, slides
- Language: Python
- Size: 11.8 MB
- Stars: 68
- Watchers: 6
- Forks: 7
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
## IMPORTANT NOTE: Elsie is replaced by [Nelsie](https://github.com/spirali/nelsie/). Elsie is not developed anymore.
# Elsie
Elsie is a framework for **creating slides programmatically** using Python.**Quick links**
- [**Documentation**](https://spirali.github.io/elsie)
- Demonstration of features ([PDF](examples/bigdemo/bigdemo.pdf), [source code](examples/bigdemo/bigdemo.py))
- [Gallery of Elsie presentations](https://spirali.github.io/elsie/gallery)
- [API reference](https://spirali.github.io/elsie/apidoc)## Hello world
```python
import elsieslides = elsie.SlideDeck()
@slides.slide()
def hello(slide):
slide.text("Hello world!")slides.render("slides.pdf")
```## Installation
### Requirements
- Python 3.6+
- Inkscape 1.0+ (required only for Inkscape backend)
- You can find installation instructions [here](https://wiki.inkscape.org/wiki/index.php/Installing_Inkscape)
- 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 for `LaTeX` support)### Installation using pip
```bash
$ pip3 install elsie
```If you want to use the [`Cairo`](https://spirali.github.io/elsie/userguide/basics/#backends) backend,
install `Elsie` with the `cairo` extra package:
```bash
$ pip3 install elsie[cairo]
```### Installation using Docker
```bash
$ docker build -t elsie .
```