Hyccup
Hyccup is a port of Hiccup for Hy, a Lisp embed in Python.
It allows you to represent HTML into data structure and to dump it.
=> (import hyccup [html])
=> (html ["div" {"class" "my-class" "id" "my-id"} "Hello Hyccup"])
"<div class=\"my-class\" id=\"my-id\">Hello Hyccup</div>"
Hyccup can also be used in Python:
>>> from hyccup import html
>>> html(['div', {'class': 'my-class', 'id': 'my-id'}, 'Hello Hyccup'])
'<div class="my-class" id="my-id">Hello Hyccup</div>'
More information in the documentation.
Metadata
Release files for hyccup 1.1.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 | |
|---|---|---|---|
| hyccup-1.1.0.tar.gz | 9.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| hyccup-1.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 21.0 kB
Release files / hyccup-1.1.0.tar.gz
| Download URL | hyccup-1.1.0.tar.gz |
|---|---|
| Size | 9.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3c3c97afc0eef31f3a305219af816e3b55d33657abc7ff94e6a9a6270db40c3e
|
|
BLAKE2b-256 checksum How to use checksums |
cdf7b00673649eaf91b373793c1777893150910d5ce612289b87a1b9bdd06de2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.3.2 CPython/3.10.9 Linux/5.15.94-1-MANJARO
|
Release files / hyccup-1.1.0-py3-none-any.whl
| Download URL | hyccup-1.1.0-py3-none-any.whl |
|---|---|
| Size | 11.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c9e08876ce580ec2ba93a0aaccf29d0df02c76ec7f84db8fe7935cc124226483
|
|
BLAKE2b-256 checksum How to use checksums |
5b524692f8eeb34a35d27f9e44547e75cc0b7c0fb9d2f42471eee73abd7a1640
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.3.2 CPython/3.10.9 Linux/5.15.94-1-MANJARO
|