Talkweb
Assemble pages.
Talkweb makes a Object tree of html and allows addition, insertion and deletion to the tree like DOM.
from talkweb import *
roots = h2o(htmlfile)
#assuming htmlfile has <!Doctype html><html><div id="x"></div></html>
#cell is a node
roots[1].findcellbyid("x")
widget = h2o(widgethtmlfile)
roots[1].addcell(widget)
html=''
for root in roots:
html += root.html()
print(html)
Like it, then you will like to develop with talkweb. If not, leave you to templates and it's rules.
Metadata
Release files for talkweb 1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| talkweb-1.3.tar.gz | 8.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| talkweb-1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.7 kB
Release files / talkweb-1.3.tar.gz
| Download URL | talkweb-1.3.tar.gz |
|---|---|
| Size | 8.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a1915b9ecebe795e1d0041b5be015fe3f2f2d4578555f10cdfaf9714a4e31e52
|
|
BLAKE2b-256 checksum How to use checksums |
b0df23dca2e98f9708bbeeba3a4718a373d796588e47e9e4ed51ec7a2701b5eb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.8.0
|
Release files / talkweb-1.3-py3-none-any.whl
| Download URL | talkweb-1.3-py3-none-any.whl |
|---|---|
| Size | 8.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
88e2c32c8ea9953adb6dd84237a5730da0f6bf937ad05c8b6798939c50e6d431
|
|
BLAKE2b-256 checksum How to use checksums |
395470a44570b6021933da9c2df2d7656d3724b6fe64b09e4b387a2e574e8bc0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.8.0
|