Open sourced htmui: a typed HTML component library for Python hypermedia apps.

It has most of the BasecoatUI components (shadcn-like for non-React) plus some utilities.

Also serves as a holm + htmy demo.

https://htmui.vercel.app/

#python #fastapi #htmx #webdev

htmui

While at it, there'll be a new patch version of htmy that removes the async-lru dependency in favor of anyio.
@volfpeter You are really going full stack with that! This now looks like a comprehensive UI framework for Python.

@davidbrochart Yeah, I hope you're enjoying the stack!

I never planned to go this far, but I just couldn't get these out of my head. I was never happy with Jinja/FastHTML.

Sadly I still have ideas (caching and build steps, maybe static site generation too).

But holm + htmy + htmui is a pretty complete now, it serves my needs. More users wouldn't hurt though :)

Btw, how about your anyio PR in htmy? Should we work on that?

@volfpeter Well if you have ideas you should definitely pursue them.
Regarding the AnyIO PR, I think it would be good to get it in, but I don't have much time these days to work on it.

@davidbrochart I'll probably add caching to htmy soon. It's quite simple, I just need to figure out a not too manual but flexible cache interface.

The rest is a very deep rabbit hole, better not to enter :)