Live data from Hacker News

Hyperflask – Full stack Flask and Htmx framework

hyperflask.dev

51–60 of 160 posts

Re: Hyperflask – Full stack Flask and Htmx framework

#51
I poked around at the code and I like some of the concepts here. Introducing jinjapy as a jinja template with frontmatter allowing me to write python code is useful in some scenarios.

I got most excited about sqlorm (https://github.com/hyperflask/sqlorm). It is way too early to feel comfortable adopting this, but I really like the concepts. I use pydantic a lot, I would love to see the SQL as docstrings as a pydantic extension. I get tired of writing serializers everywhere and would prefer to have a single pydantic model to reference throughout my codebase. Primarily I use Django, but these days am using less and less of the framework batteries outside of the ORM.

Re: Hyperflask – Full stack Flask and Htmx framework

#52

Earlier quoted context omitted.

https://github.com/pallets-eco/flask-pydantic https://luolingchun.github.io/flask-openapi3/v4.x/ > dependency injection While nice I never found this to be a critical deciding factor of using a technology. > real async If you really want it there is Quart which is real async https://github.com/pallets/quart I'm not a huge async fan in python anymore so not it's not a huge issue for me. But there are definitely option…

flask-openapi3 looks good but has only 246 stars. Would be worried using it in production. flask-pydantic has no openapi tie-in. Oh look, there's me bumping the openapi request that's been an issue since 2020: https://github.com/pallets-eco/flask-pydantic/issues/17 which has an open PR since 2022. It's possible between Quart and svcs (for DI) and some Pydantic/Marshmallow/OpenAPI extension you might be able to mimic…

At $JOB we're using both flask-pydantic and flask-openapi via those libraries and they are serving us just fine.

But yes async does not matter to me.

Re: Hyperflask – Full stack Flask and Htmx framework

#53
post #17

Hello, author of hyperflask here. I'm happy to finally announce this project as I've been working on it for quite some time. I made an announcement post here: https://hyperflask.dev/blog/2025/10/14/launch-annoncement/ I love to hear feedback!

yo, i'm the htmx guy

this looks awesome!

Re: Hyperflask – Full stack Flask and Htmx framework

#54
post #2

For some reason every time project has a starfield demo, I keep looking for the speed toggle somewhere, and I also expect it to follow my mouse cursor. Maybe in the next version of the Hyperflask website! However, the project itself looks great. I love Htmx, although I have to admit I started looking at Datastar recently.

https://nova.app/ still the best I've seen.

Re: Hyperflask – Full stack Flask and Htmx framework

#55

Earlier quoted context omitted.

Flask is missing... pydantic, dependency injection, openapi, swagger, real async.

https://github.com/pallets-eco/flask-pydantic https://luolingchun.github.io/flask-openapi3/v4.x/ > dependency injection While nice I never found this to be a critical deciding factor of using a technology. > real async If you really want it there is Quart which is real async https://github.com/pallets/quart I'm not a huge async fan in python anymore so not it's not a huge issue for me. But there are definitely option…

Of course you can assemble FastAPI scrim scratch, that’s not the point. The selling point is everything integrated, like Django.

Re: Hyperflask – Full stack Flask and Htmx framework

#56
post #2

For some reason every time project has a starfield demo, I keep looking for the speed toggle somewhere, and I also expect it to follow my mouse cursor. Maybe in the next version of the Hyperflask website! However, the project itself looks great. I love Htmx, although I have to admit I started looking at Datastar recently.

You mean like this one? https://data-star.dev/

Spot on! That's why I remembered it so well and I guess associated it with HTMX

Re: Hyperflask – Full stack Flask and Htmx framework

#59
post #51

I poked around at the code and I like some of the concepts here. Introducing jinjapy as a jinja template with frontmatter allowing me to write python code is useful in some scenarios. I got most excited about sqlorm ( https://github.com/hyperflask/sqlorm ). It is way too early to feel comfortable adopting this, but I really like the concepts. I use pydantic a lot, I would love to see the SQL as docstrings as a pydant…

Thanks ! I've introduced a lot of stuff with this project and I'm glad someone noticed :D

I've also submitted SQLORM on HN if it's of interest to others: https://news.ycombinator.com/item?id=45607688

Re: Hyperflask – Full stack Flask and Htmx framework

#60

In my experience with Django the admin scaffolding saves a lot of work building UI for diagnostic and customer service workflows. Projects on other frameworks that I've been involved with end up rebuilding a lot of that stuff in their own codebase, more work and often not as good of a result. There are a lot of aspects of frameworks like Hyperflask that look attractive relative to Django but foregoing the admin frame…

There is Flask-Admin but it's more bare bone than Django Admin. I plan to tackle the problem in the future.
Post reply on HN