Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

For lightweight in Python, I started on Bottle, but found Flask to be more to my liking for very small projects/web services.

Mostly Django here; if you know the framework well, most things are very quick, but I wouldn't particularly call it "streamlined." Plus that up-front time to get to know it might disqualify it, and lightweight it definitely is not.

My Ruby friends tend toward Sinatra for small projects.



Please note Flask isn't only for very small projects/web services.

Seriously, Flask can be used for huge projects too.



Do you have any good examples? I'd like to try Flask, but the only examples on the flask site are very, very small sites, and don't help at all with learning to structure something larger.


https://github.com/mitsuhiko/flask/wiki/Large-app-how-to

Please note, flask code is easy to read, and you can change anything you want. Flask will not limit you, you can be sure in that.


FLask is my go-to choice as well, the one I write before the write (that was never written so far).


*the one I write "before the rewrite"




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: