ludic-slides


Nameludic-slides JSON
Version 0.0.1 PyPI version JSON
download
home_pageNone
SummaryBuild fast presentations with Ludic
upload_time2025-02-07 19:01:48
maintainerNone
docs_urlNone
authorNone
requires_python>=3.12
licenseNone
keywords html presentation slides
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Ludic Slides

Building presentations with [Ludic](https://getludic.dev) in Python.

![](./assets/example.png)

## Installation

```
pip install ludic-slides
```

## Quick Start

Create a new file `slides.py` with the following content:

```python
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.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "ludic-slides",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.12",
    "maintainer_email": "Pavel Ded\u00edk <dedikx@gmail.com>",
    "keywords": "html, presentation, slides",
    "author": null,
    "author_email": "Pavel Ded\u00edk <dedikx@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/21/46/43fe98996581f3b125d3663ea8dd176505d44614f71523cc86b859e6a704/ludic_slides-0.0.1.tar.gz",
    "platform": null,
    "description": "# Ludic Slides\n\nBuilding presentations with [Ludic](https://getludic.dev) in Python.\n\n![](./assets/example.png)\n\n## Installation\n\n```\npip install ludic-slides\n```\n\n## Quick Start\n\nCreate a new file `slides.py` with the following content:\n\n```python\nfrom ludic_slides import Slide, SlideMain, Slides\nfrom ludic_slides.components import Code, Header, Item, List, Paragraph\n\nslides = Slides(\n    SlideMain(\n        Header(\"My Slides\"),\n        Paragraph(\"A Quick Start for Ludic Slides\"),\n    ),\n    Slide(\n        Header(\"Installation\"),\n        List(\n            Item(Code(\"$ pip install ludic-slides\")),\n            Item(Code(\"$ ludic-slides slides.py\")),\n        )\n    ),\n)\n```\n\n## Generate HTML Slides\n\nThe following command generates `slides.html` file:\n\n```\nludic-slides slides.py\n```\n\nIf the variable's name in the `slides.py` file does not equal `slides`, you can also specify a different name:\n\n```\nludic-slides file-name.py:my_variable\n```\n\nYou can also specify the output path:\n\n```\nludic-slides slides.py -o ~/Documents/my-slides.html\n```\n\n> [!NOTE]\n> 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.\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Build fast presentations with Ludic",
    "version": "0.0.1",
    "project_urls": null,
    "split_keywords": [
        "html",
        " presentation",
        " slides"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "a7f0c8ca5b298539f6b7d6d266cf5f8aa8f0fa9172e0dcf6665b4b57531a3f6a",
                "md5": "8a1e68e87fa2ffec39e69c516cdf301a",
                "sha256": "980a8798f3241f3079c6d0b69e4576aa9f85d86dccf87cff9759d235e23c26c9"
            },
            "downloads": -1,
            "filename": "ludic_slides-0.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "8a1e68e87fa2ffec39e69c516cdf301a",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.12",
            "size": 7509,
            "upload_time": "2025-02-07T19:01:46",
            "upload_time_iso_8601": "2025-02-07T19:01:46.722827Z",
            "url": "https://files.pythonhosted.org/packages/a7/f0/c8ca5b298539f6b7d6d266cf5f8aa8f0fa9172e0dcf6665b4b57531a3f6a/ludic_slides-0.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "214643fe98996581f3b125d3663ea8dd176505d44614f71523cc86b859e6a704",
                "md5": "2cd8f1a06a0afd32baba95662c53b6a2",
                "sha256": "3d789b77e178eac4f7ccb459ca61ef78006d037b6d119beef993081d1e91021a"
            },
            "downloads": -1,
            "filename": "ludic_slides-0.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "2cd8f1a06a0afd32baba95662c53b6a2",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.12",
            "size": 362331,
            "upload_time": "2025-02-07T19:01:48",
            "upload_time_iso_8601": "2025-02-07T19:01:48.911190Z",
            "url": "https://files.pythonhosted.org/packages/21/46/43fe98996581f3b125d3663ea8dd176505d44614f71523cc86b859e6a704/ludic_slides-0.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-02-07 19:01:48",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "ludic-slides"
}
        
Elapsed time: 1.69343s