Generate html with python 3
Project description
htmlx
A small python dom and html creation utility.
from htmlx import html, body, h1
print(html(body(h1('Hello, World!'))))
# <html><body><h1>Hello, World!</h1></body></html>
install
python3 -m pip install htmlx
run tests
See the Makefile
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
htmlx-0.0.3.tar.gz
(145.5 kB
view details)
Built Distribution
htmlx-0.0.3-py3-none-any.whl
(129.0 kB
view details)
File details
Details for the file htmlx-0.0.3.tar.gz
.
File metadata
- Download URL: htmlx-0.0.3.tar.gz
- Upload date:
- Size: 145.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.26.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55db3fc1234d005d4b1e45fe65544e174c610250ab65a671183baf353b6df374 |
|
MD5 | 83f2d09769bf852136e838156dd46f1b |
|
BLAKE2b-256 | 7e245d577568db06fa480171e64af7fa38d6c7a9427b1ce2f0f702c8f2cbebd0 |
File details
Details for the file htmlx-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: htmlx-0.0.3-py3-none-any.whl
- Upload date:
- Size: 129.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.26.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d710c089d0ce0bdf148adca5a850bfbe6fb97f0fd0324a1ff461a762d415574 |
|
MD5 | 37269e6eebc6693fba80a50556283291 |
|
BLAKE2b-256 | d0910098b457dea97e544244f5b4954fca6ff0583b36f585e99aabe75037bab1 |