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.
Release files for ludic-slides 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ludic_slides-0.0.1.tar.gz | 362.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ludic_slides-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 369.8 kB
Release files / ludic_slides-0.0.1.tar.gz
| Download URL | ludic_slides-0.0.1.tar.gz |
|---|---|
| Size | 362.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3d789b77e178eac4f7ccb459ca61ef78006d037b6d119beef993081d1e91021a
|
|
BLAKE2b-256 checksum How to use checksums |
214643fe98996581f3b125d3663ea8dd176505d44614f71523cc86b859e6a704
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
Release files / ludic_slides-0.0.1-py3-none-any.whl
| Download URL | ludic_slides-0.0.1-py3-none-any.whl |
|---|---|
| Size | 7.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
980a8798f3241f3079c6d0b69e4576aa9f85d86dccf87cff9759d235e23c26c9
|
|
BLAKE2b-256 checksum How to use checksums |
a7f0c8ca5b298539f6b7d6d266cf5f8aa8f0fa9172e0dcf6665b4b57531a3f6a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|