Build fast presentations with Ludic
Project description
Ludic Slides
Building presentations with Ludic in Python.
Installation
pip install ludic-slides
Quick Start
Create a new file slides.py with the following content:
from ludic_slides import Slide, SlideMain, Slides
from ludic_slides.components import Code, Header, Item, List, Paragraph
slides = Slides(
SlideMain(
Header("My Slides"),
Paragraph("A Quick Start for Ludic Slides"),
),
Slide(
Header("Installation"),
List(
Item(Code("$ pip install ludic-slides")),
Item(Code("$ ludic-slides slides.py")),
)
),
)
Generate HTML Slides
The following command generates slides.html file:
ludic-slides slides.py
If the variable's name in the slides.py file does not equal slides, you can also specify a different name:
ludic-slides file-name.py:my_variable
You can also specify the output path:
ludic-slides slides.py -o ~/Documents/my-slides.html
[!NOTE] Note that outputting to a different location means you will need to copy static files like images used in your presentation to the correct location manually.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ludic_slides-0.0.1.tar.gz.
File metadata
- Download URL: ludic_slides-0.0.1.tar.gz
- Upload date:
- Size: 362.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3d789b77e178eac4f7ccb459ca61ef78006d037b6d119beef993081d1e91021a
|
|
| MD5 |
2cd8f1a06a0afd32baba95662c53b6a2
|
|
| BLAKE2b-256 |
214643fe98996581f3b125d3663ea8dd176505d44614f71523cc86b859e6a704
|
File details
Details for the file ludic_slides-0.0.1-py3-none-any.whl.
File metadata
- Download URL: ludic_slides-0.0.1-py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
980a8798f3241f3079c6d0b69e4576aa9f85d86dccf87cff9759d235e23c26c9
|
|
| MD5 |
8a1e68e87fa2ffec39e69c516cdf301a
|
|
| BLAKE2b-256 |
a7f0c8ca5b298539f6b7d6d266cf5f8aa8f0fa9172e0dcf6665b4b57531a3f6a
|