Domilite
Domilite is a lightweight (0-dependency) Python library for creating and manipulating HTML elements.
It takes inspiration from dominate, a great library for creating HTML elements in Python. Domilite aims to simplify the interface from dominate, providing a smaller set of APIs while maintaining general compatibility with the library.
Create HTML elements from code, and render them formatted:
from domilite import tags
html = tags.html(tags.head(tags.title('welcome')))
html.add(tags.body(tags.h1('welcome to domilite', id='title')))
html[1].classes.add('style-from-code')
print(html)
This produces
<html>
<head><title>welcome</title></head>
<body class="style-from-code">
<h1 id="title">welcome to domilite</h1>
</body>
</html>
You can find the docs at https://domilite.readthedocs.io/en/latest/
Metadata
Release files for domilite 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| domilite-0.1.4.tar.gz | 18.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| domilite-0.1.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 40.7 kB
Release files / domilite-0.1.4.tar.gz
| Download URL | domilite-0.1.4.tar.gz |
|---|---|
| Size | 18.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c60cde1a0a5333c38c74794cb0ac54b44d08e093828e56df64f01ba9301206b5
|
|
BLAKE2b-256 checksum How to use checksums |
979cad455905b79a29788298286b8ee62ff8194f29d0f83b231a24aa6158c8a1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 7, 2026.
Transparency logRelease files / domilite-0.1.4-py3-none-any.whl
| Download URL | domilite-0.1.4-py3-none-any.whl |
|---|---|
| Size | 21.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a3f001aa5ed2fb306bc1a599dbae74653e20c7731358058638466c59cd7c6505
|
|
BLAKE2b-256 checksum How to use checksums |
31be8d92ee39958c89acf94f40fa94774d913cf5338d3a7222c96ea24c7e00c2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 7, 2026.
Transparency log