Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ludic_slides-0.0.1.tar.gz (362.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ludic_slides-0.0.1-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

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

Hashes for ludic_slides-0.0.1.tar.gz
Algorithm Hash digest
SHA256 3d789b77e178eac4f7ccb459ca61ef78006d037b6d119beef993081d1e91021a
MD5 2cd8f1a06a0afd32baba95662c53b6a2
BLAKE2b-256 214643fe98996581f3b125d3663ea8dd176505d44614f71523cc86b859e6a704

See more details on using hashes here.

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

Hashes for ludic_slides-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 980a8798f3241f3079c6d0b69e4576aa9f85d86dccf87cff9759d235e23c26c9
MD5 8a1e68e87fa2ffec39e69c516cdf301a
BLAKE2b-256 a7f0c8ca5b298539f6b7d6d266cf5f8aa8f0fa9172e0dcf6665b4b57531a3f6a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page