HTML element objects to use in pure Python server side rendering
Project description
HTML Elements
HTML Elements allows you to write HTML website while staying completely in Python. This will allow you to create SPA-like components, but keep your presentation layer in Python.
Because it is in pure Python, it allows to use all the Python goodies such as functions, linting, type checking.
Check out the complete documentation here
Example
To create this form (made with Bulma)
--8<-- "docs_code/index/index.html"
You write
--8<-- "docs_code/index/index.py"
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
html_elements-0.1.0.tar.gz
(10.1 kB
view hashes)
Built Distribution
Close
Hashes for html_elements-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9919f6f91788d76e7f85c0969e24e31f2a4d5295815aff20f1fb6f6659b161ac |
|
MD5 | 5cb294934ffa55430d147909d6a34ac8 |
|
BLAKE2b-256 | 0acf074345db1bf6fad663a265b2920863daae0f5dd617edbfd0f7b747686a58 |