Skip to main content

GUI toolkit for building GUI toolkits (and create beautiful applications for mobile, web, and desktop from a single python3 codebase)

Project description

HTag : "[H]TML Tag"

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, in pyscript.... or guy)
  • A lot lot lot better and simpler (better abstractions/code/concepts)
  • "intelligent rendering" (redraw only component on state changes)
  • and it runs in pyscript too ;-)

It's a GUI toolkit for building GUI toolkits ;-)

DEMO/TUTORIAL

Changelog

Available on pypi.org

HTag provides somes runners ootb. But they are just here, for the show. IRL: you should build your own, for your needs.

To have a look

See the demo source code

To try it :

$ pip3 install htag pywebview
$ wget https://raw.githubusercontent.com/manatlan/htag/main/examples/demo.py
$ python3 demo.py

There will be docs in the future ;-)

ROADMAP to 1.0.0

  • rock solid (need more tests)
  • top level api could change (Tag() -> create a Tag, Tag.mytag() -> create a TagBase ... can be a little bit ambiguous)
  • add a runner with WS with stdlib ? (not starlette!)
  • I don't really like the current way to generate js in interaction : need to found something more solid.
  • the current way to initiate the statics is odd (only on real (embedded) Tag's) : should find a better way (static like gtag ?!)

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

htag-0.5.3.tar.gz (16.8 kB view hashes)

Uploaded Source

Built Distribution

htag-0.5.3-py3-none-any.whl (21.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page