HTML in Python
Project description
htpy - HTML in Python
This project makes it possible to express HTML directly as Python code.
Development environment
- Create a virtualenv:
python -m venv .venv
- Install dependencies:
pip install .[dev]
- Run tests/checks:
./test
Examples
Flask with htmx
See examples/htmx_flask.py. Run with:
$ pip install flask
$ python examples/htmx_flask.py
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
htpy-24.3.2.tar.gz
(11.6 kB
view hashes)
Built Distribution
htpy-24.3.2-py3-none-any.whl
(5.8 kB
view hashes)