hiccupy
Rendering HTML from hiccup-style lists in python.
Usage
First, install hiccupy:
python3 -m pip install hiccupy
Then simply import render and render lists to HTML!
from hiccupy import render
lst = [
"body",
[
"div",
{"id": "myDiv"},
[
"h1",
{"class": "header"},
"Hello World!",
],
],
]
print(render(lst))
Metadata
Release files for hiccupy 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| hiccupy-1.0.0.tar.gz | 3.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| hiccupy-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.5 kB
Release files / hiccupy-1.0.0.tar.gz
| Download URL | hiccupy-1.0.0.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2a6bf68c733af3e4e2f3c65e1813d7b1aca3d2568af1e23ffbc8f5f0c10d67e6
|
|
BLAKE2b-256 checksum How to use checksums |
53aa2dc40ec52ab5ce6629adf0c5cf44e5c481885dd1326949097399ea26674d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.10.4
|
Release files / hiccupy-1.0.0-py3-none-any.whl
| Download URL | hiccupy-1.0.0-py3-none-any.whl |
|---|---|
| Size | 3.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
87edab3cd6e24ea4fa1d6610aa32bc386f2a65e2258667b980fee49c6a0ce028
|
|
BLAKE2b-256 checksum How to use checksums |
0db877016e119594eae5bebc49da7f5220643e02dee4532443bf89ed2ffbfcb6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.10.4
|