HackerTrans
TopNewTrendsCommentsPastAskShowJobs

emixam

no profile record

Submissions

Blending SQL and Python with Sqlorm

hyperflask.dev
66 points·by emixam·8 miesięcy temu·25 comments

Sqlorm – Python ORM with a focus on SQL

github.com
3 points·by emixam·9 miesięcy temu·0 comments

Hyperflask – Full stack Flask and Htmx framework

hyperflask.dev
364 points·by emixam·9 miesięcy temu·154 comments

comments

emixam
·8 miesięcy temu·discuss
Hello, author here. It is actually possible to use return instead with a different set of decorators: check out the first "tip" block on this page: https://hyperflask.github.io/sqlorm/sql-functions/
emixam
·9 miesięcy temu·discuss
Some 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/jinjapy
emixam
·9 miesięcy temu·discuss
It is for now. Hoping to rally others !
emixam
·9 miesięcy temu·discuss
sqlorm 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
emixam
·9 miesięcy temu·discuss
I would be glad having some users on this project but that would definitely kill it !
emixam
·9 miesięcy temu·discuss
It's in sync with the Locality of Behavior [0] principle that htmx follows.

It's inspired by Astro Pages [1] which are the same thing in the javascript world. I really liked the developer experience working with them.

[0] https://htmx.org/essays/locality-of-behaviour/ [1] https://docs.astro.build/fr/basics/astro-pages/
emixam
·9 miesięcy temu·discuss
Thank 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.
emixam
·9 miesięcy temu·discuss
I 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.
emixam
·9 miesięcy temu·discuss
There is Flask-Admin but it's more bare bone than Django Admin. I plan to tackle the problem in the future.
emixam
·9 miesięcy temu·discuss
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
emixam
·9 miesięcy temu·discuss
I've built SQLify with it: https://sqlify.me
emixam
·9 miesięcy temu·discuss
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!
emixam
·9 miesięcy temu·discuss
The framework is composed from many extensions indeed. You can use them independently though!

The component system is not fully independent because it depends on multiple other extensions but it mostly is as this extension: https://github.com/hyperflask/flask-super-macros

On the GitHub organization there is a list of all the extensions that are built as part of the project: https://github.com/hyperflask
emixam
·12 lat temu·discuss
83 already exists in France. It's called "Adopte un mec" (translation: adopt a guy) and it's very successful (http://www.adopteunmec.com). It ysed to target a yound adult crowd with some funky design but the UX and design god much better over the years so they may be moving up.