engine-less html generation from python
Project description
Render html stright from python without involving another language or ‘engine’. Sometimes, you just don’t want to involve these constructs just to generate some html.
Note: this renderer generates ugly, invalid html. It’s only good for quick’n’dirty personal reporting. For externally visible documents, use one of the many production worthy templating engines.
- ### Usage
- with r.Table():
- for k,v in data.items():
- with r.Tr():
- with r.Td():
r.text(k)
- with r.Td():
r.text(v)
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
renderwith-0.0.2.tar.gz
(2.1 kB
view details)
File details
Details for the file renderwith-0.0.2.tar.gz
.
File metadata
- Download URL: renderwith-0.0.2.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43db8545545f0d8ca7150df26aeb7fdc5615b5c8c55202bbeb2c1513acecc03f |
|
MD5 | 5525bb08fde4b2188f6760d707d3d160 |
|
BLAKE2b-256 | 802116d31b124b3273f2f2310665a5aaf0609529d3734882c0b2f3322393b853 |