News for hackers. Stuff that matters.
Re:Bottle: Python Web Framework by kyahwill on Saturday October 21, 2023 @12:29AM (#37964085)
whats the differene with this from flask?
Re:Bottle: Python Web Framework by ddejohn on Saturday October 21, 2023 @01:13AM (#37964274)
Looks like its only dependencies are the standard library. So it appears to be a more lightweight Flask. Should've been called phial :D
Re:Bottle: Python Web Framework by andreareina on Saturday October 21, 2023 @06:20AM (#37965561)
Bottle came first, flask was a play on the name.
Re:Bottle: Python Web Framework by bumblebeast on Saturday October 21, 2023 @10:27AM (#37967029)
Flask was a joke it really got out of hand
Re:Bottle: Python Web Framework by smitty1e on Sunday October 22, 2023 @06:57AM (#37974337)
Flask is a high-level wrapper around werkzeug, with some stock components like jinja2 thrown in.

Basically the Ikea of web site tools.

If that seems a hassle, go Django.

Re:Bottle: Python Web Framework by ddejohn on Saturday October 21, 2023 @08:13PM (#37971688)
TIL. Didn't realize this wasn't a new project (but also didn't read past "WSGI").
Re:Bottle: Python Web Framework by iamcreasy on Saturday October 21, 2023 @01:34AM (#37964349)
Second line of the page:

It(bottle.py) is distributed as a single file module and has no dependencies other than the Python Standard Library.

Re:Bottle: Python Web Framework by jslakro on Saturday October 21, 2023 @06:40AM (#37965656)
In comparison, flask is more like express for the javascript ecosystem. You can cover simple scenarios with bottle, its usage is straightforward