5 ms·
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:
by emixam 1y ago
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/ https://hyperflask.dev/blog/2025/10/14/launch-annoncement/
I love to hear feedback!
- drunx 1y agoAs a big fan of python and htmx... I'm loving it! Would check it out asap!
- vb-8448 1y agojust out of curiosity: did you consider unpoly.js or alpine-ajax instead of htmx? If yes, why did you choose htmx instead of others?
- emixam 1y agoI knew of unpoly but didn't know about alpine-ajax. My choice was set on htmx since the beginning. I feel it's a more mature solution with more flexibility.
- nodesocket 1y agoThis looks awesome. I’m building an app in pure Flask using Tailwind + DaisyUI + Bootstrap Icons which looks to be the exact stack you’ve gone with. Though admittedly I am just writing raw JavaScript without a JS framework.
- alex_suzuki 1y agoI‘m doing this as well, and I really like the simplicity and „no build steps“ approach. Everything is rendered server-side, with sprinkles of modern JS where needed or useful, powered by some JSON-serving routes in the same flask app. A CSS framework on top to make it look good. Basically more or less how we built web apps 15 years ago. :-)
- elevation 1y agoA colleague built an internal app on flask/htmx/sqlalchemy and had excellent results but couldn't get approval to open source it. Excited to see your work!
- recursivedoubts 1y agoyo, i'm the htmx guy this looks awesome!
- emixam 1y agoThank you so much ! Great work with htmx, I'm a fan. This project is the culmination of a lot of concepts I like from many different stacks coming together.
- mikestorrent 1y agoLove your work. I wanted what it does in like 2007... always felt like extending HTML more was the way it should have gone, instead of the JS hell we spent over a decade in instead. Your work makes me feel like I'm not an idiot, and that my ideas were somewhat valid!
- vladsanchez 1y agoI feel you. Same here... :care:
- rodolphoarruda 1y agoI use it in all my projects. Thank you. The Hypermedia book is incredibly good and "nostalgic" to me, a child of the web 1.0.
- hunvreus 11mo agoDidn't recognize you without the horse picture.
- reality_inspctr 1y agoexcited to try out. flask <> coding agents work really well together.
- librasteve 1y agogreat to see a new framework embrace HTMX ... HTMX is inspiring many new green shoots as alternatives to JS & React I am sure that many will like the blend of Python and Flask - and with server side HTMX I know that components are a key aspect plus you website doesn't hurt my eyes like FastHTML --- here's my comparison to https://harcstack.org https://harcstack.org Language Python vs. Raku Web framework Flask vs. Cro ORM ?? vs. Red Components both HTML template vs. functional CSS DaisyUI/Tailwind/Bootstrap vs. Pico So, I think you have a much wider audience with a very popular set of options - for comparison HARC stack makes more "out there" choices which I hope will appeal to the small group of folks who want to try a new way to go - like the idea of functional code for HTML (think elmlang on the server side) and are a bit allergic to Tailwind denormalization.
- adastra22 1y agoWhy sqlorm and not sqlalchemy? I've been out of the Python dev space for a long time (maybe it shows), but I thought everyone used SQLAlchemy, and I never heard off sqlorm.
- emixam 1y agosqlorm is a new orm developed as part of hyperflask. I use sqlalchemy daily, it's an amazing library, but I wanted something more lightweight and straightforward for this project. I find the unit of work pattern cumbersome
- Induane 1y agoConsidered peewee?
- globular-toast 1y agoI'm surprised an ORM is in scope for this project, but in any case I would have thought a framework would make unit of work not cumbersome. For example you could just tie the unit of work to the request cycle.
- instig007 1y ago> but I wanted something more lightweight it's called "sqlalchemy core" https://docs.sqlalchemy.org/en/20/core/ https://docs.sqlalchemy.org/en/20/core/
- Arch-TK 1y agoSQLAlchemy Core isn't an ORM, it's just a very good query generator. Although nobody seems to use the term ORM correctly any more so it's entirely possible that neither is peewee or sqlorm. The story behind why ORM is nowadays no longer used correctly is kind of funny: 1. Query generator sounds primitive, like cavemen banging rocks together. Software engineers are scared of primitive technologies because it makes their CVs look bad. 2. Actual ORMs attempt to present a relational database as if it was a graph or document database. This fundamentally requires a translation which cannot be made performant automatically and often requires very careful work to make performant (which is a massive source of abstraction leaks in real ORMs). People don't realise the performance hit until they've written a chunk of their application and start getting users. 3. Once enough people encountered this problem, they decided to "improve" ORMs by writing new "ORMs" which "avoid" this problem by just not actually doing any of the heavy mapping. i.e. They're the re-invention of a query generator.
- fithisux 1y agoIs this a one man effort?
- emixam 1y agoIt is for now. Hoping to rally others !
- czhu12 1y agoI’ve been looking for something like this but backend agnostic (library rather than a framework) because we’re already about a million lines deep into a Django project. Anyway to lift this up into something that I can just mount into a Django app?
- emixam 1y agoSome of the sub-projects of hyperflask can be re-used elsewhere but most of it is Flask specific. Notable sub-projects that could be used with Django: - https://github.com/hyperflask/jinja-super-macros https://github.com/hyperflask/jinja-super-macros - https://github.com/hyperflask/jinjapy https://github.com/hyperflask/jinjapy