Flask is simple and lightweight and as you said it give you flexibility. But if you want to have something that give you more flexibility and control over everything else besides the routing and server loop I would suggest bottle. It is a microframework, it is faster than flask and it is even more lightweight compared the other two I mentioned. But bare in mind that using bottle you have to proper select other... - Source: Reddit / 5 months ago
If you want an even more trimmed down Flask, you can use Bottle. - Source: Reddit / 5 months ago
Ok. Switch to python web framework and be happy. For example look at the Bottle - https://bottlepy.org/docs/dev/. - Source: Reddit / 7 months ago
You should also take a look at Bottle. It's like mini-Flask, except the library is a single .py file. Great for doing one-off web dashboards, embedded web UI etc. https://bottlepy.org/docs/dev/. - Source: Hacker News / 9 months ago
Took a quick look at the docs... You'll have to open port 8080... - Source: Reddit / 10 months ago
Once mastered, frameworks like Django, Flask, Web2Py, and Bottle can significantly ease the life of a Python developer. Moreover, Python frameworks allow you to build an application prototype fast, as it essentially eliminates the need for repetitive input code. - Source: dev.to / 10 months ago
Import osdef populate(): python_cat = add_cat('Python') add_page(cat=python_cat, title="Official Python Tutorial", url="http://docs.python.org/2/tutorial/") add_page(cat=python_cat, title="How to Think like a Computer Scientist", url="http://www.greenteapress.com/thinkpython/") add_page(cat=python_cat, title="Learn Python in 10 minutes", ... - Source: Reddit / about 1 year ago
-Bottleis another lightweight framework for web development that was originally meant for building APIs. Its unique features are that it has no dependencies other than the Python Standard Library and it implements everything in a single source file. - Source: dev.to / about 1 year ago
If you are new to python-based API development and need a free host to get started with a proof-of-concept API project try out PythonAnywhere. They support python-based APIs built using: django, flask, bottle and web2py. - Source: Reddit / about 1 year ago
Set up a website with a bottle server for personal use? or. - Source: Reddit / about 1 year ago
A better approach would be to build a modern web-based app that looks good if you're on a phone, tablet, or computer. In our household of six, we have both Android and iOS devices; I built some home automation systems and did exactly this using Bottle as the web framework and Bootstrap as the CSS that does a great job of adapting between platforms. It might not work for very sophisticated apps or UIs, but for... - Source: Reddit / about 1 year ago
I usually add bottle.py[0] in my project (it's single file!) and add a simple HTML form with submit button. When I need to show a UI, I start a server, open up the URL and when the form is submitted, I shutdown the server and continue executing the script. Using HTML means I can start off with plain HTML and no style (except user-agent) and add some later on (change font, center it in the page, etc.). I can keep... - Source: Hacker News / over 1 year ago
There are web frameworks like Flask and Bottle. Or Brython which allows you to run python scripts from within HTML. - Source: Reddit / over 1 year ago
Bottle for really quick web backends (think "flask lite"). - Source: Reddit / almost 2 years ago
I suggest you take a look at bottle. It’s a micro framework that inspired flask, and it’s quite similar in most aspects. However, it has no dependencies and is contained within a single file. It’s therefore quite nice if you want to get an impression of how a WSGI implementation looks like. - Source: Reddit / almost 2 years ago
Do you know an article comparing Bottle to other products?
Suggest a link to a post with product alternatives.