THAG : "[T]he [H]TML [A]ttributs [G]UI"
The descendant of gtag ... but :
- Not tied to guy
- Able to be used in anything which can display html/js/css (pywebview, cefpython3, a browser, ....)
- A lot lot lot better and simpler (better abstractions/code/concepts)
- "intelligent rendering" (redraw only component with states changes)
It's a GUI toolkit for building GUI toolkits ;-)
Thag provides somes runners ootb. But they are here just for the show. IRL, you should build your own, for your needs.
In French
Sorte de FWK (orienté composants), où on code (coté backend) des objets python (en fait des objets "Tag"), qui ont une representation HTML avec des interactions, qui peuvent s'executer dans tout ce qui est capable d'afficher du html/js/css (pywebview, cefpython3, a browser, ....)
Les "interactions" sont des actions émanants de la partie front vers le back, pour synchroniser l'état de l'objet (côté back), et retourner sa nouvelle représentation front.
La nature de ces interactions dépendent du runner utilisé (browser>ajax|websocket, guy>Websocket, pywebview>inproc)
Le fwk permet surtout de fabriquer ses composants ... et il faudrait utiliser ces composants dans une appli.
Autant le fwk permet des interactions avec js/front ... autant, il ne faudrait pas en faire dans les composants finaux : l'idée, c'est d'abstraire toutes interactions js : de manière à ce que ça soit totallement transparent dans les composants finaux.
Metadata
Release files for thag 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| thag-0.0.5.tar.gz | 11.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| thag-0.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 27.2 kB
Release files / thag-0.0.5.tar.gz
| Download URL | thag-0.0.5.tar.gz |
|---|---|
| Size | 11.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
13e38d45afa0c296eab9c8c4a27c64905f7baf059a4f3299f780bbb1c9102862
|
|
BLAKE2b-256 checksum How to use checksums |
2dc93ecdb35e3485b511f27e33c2a01206522705647d131035c69b6cd4dd8804
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.5 CPython/3.8.10 Linux/5.13.0-35-generic
|
Release files / thag-0.0.5-py3-none-any.whl
| Download URL | thag-0.0.5-py3-none-any.whl |
|---|---|
| Size | 15.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c8294d4db8b15977779181f1501fb347f0cf3f35fa0d4073721d2c9ac1fbba76
|
|
BLAKE2b-256 checksum How to use checksums |
2ce574305d42b1ab07c33ebe0775a83844cbc0ee9f84510e9b0426d3e6b6c5a8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.5 CPython/3.8.10 Linux/5.13.0-35-generic
|