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

Even better: Bottle.py; single-file dependency, includes routing and a simple templating engine.


Not sure if bottle is really "better" — it has different pros and cons compared to Flask, so whether it is better depends entirely on the usecase.

If you e.g. have a use case where your dependency-situation is one where you won't benefit from bottle being single-file (because you e.g. have a ton of other non-single file dependecies), then choosing it over the widely used Flask might not be show you any benefits at all.


I was responding to the request in the top comment for something simpler that can be used for weekend projects. In this case, Bottle.py is "better" in that it is more simple than Flask; not that Bottle.py as a web framework is objectively better than Flask.

For the record, I've used both, and Bottle is much faster to get started with. The docs are also much leaner.




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

Search: