Will chime in and mention aiohttp[1]. It's lightweight, fun, and the API is very user-friendly for those willing to work on a slightly lower level. I use it to build speedy APIs, and coupled with a good ORM (peewee? [2]) it's pretty dope. 1. https://aiohttp.readthedocs.io/en/stable/ 2. http://docs.peewee-orm.com/en/latest/
A Beginner’s Introduction to Python Web Frameworks (2018)
81–90 of 168 posts
Re: A Beginner’s Introduction to Python Web Frameworks (2018)
#82This is a short list I have compiled a few months ago, FWIW: New kids on the block: - Starlette https://www.starlette.io - Vibora https://vibora.io - Xweb https://github.com/gaojiuli/xweb - Storm https://github.com/jiajunhuang/storm - Responder http://python-responder.org - Quart https://pgjones.gitlab.io/quart/ - Sanic https://sanic.readthedocs.io - Bocadillo https://bocadilloproject.github.io/ - Japronto https://gi…
Re: A Beginner’s Introduction to Python Web Frameworks (2018)
#83This is a great resource, and there are some neat inclusions like Falcon, but I find the main trouble when building python web apps is deployment. I always feel like I've duct-taped my carefully written app to the web-server.
Re: A Beginner’s Introduction to Python Web Frameworks (2018)
#84Earlier quoted context omitted.
Django is a pretty big omission from your list.
Especially considering Django powers Instagram and Pinterest's backends. At some point, Python's creator Guido van Rossum also said "My personal favorite -- and I expect that that will remain a personal favorite for a long time -- is something named Django. ... I highly recommend it." Personally, I use Django with REST Framework ( https://www.django-rest-framework.org ). I've enjoyed using it tremendously for the pas…
Have you looked at Django-channels?
Re: A Beginner’s Introduction to Python Web Frameworks (2018)
#85Re: A Beginner’s Introduction to Python Web Frameworks (2018)
#86I was forced to encounter Web2Py in an open-source project several years ago. It was awful. Besides the fact that it's stuck in Python 2 (seriously, even today?), it had a lot of bizarre design decisions. For instance, it loaded controllers by concatenating files in a directory - alphabetically. I know Python's import system can confuse some folks, but surely there was a better way. The whole thing left a very sour t…
Re: A Beginner’s Introduction to Python Web Frameworks (2018)
#87Earlier quoted context omitted.
Why, a Docker container. Yes, even on Windows. Pack up everything into a single image, downloadable from nearly anywhere. Your web server (which likely also terminates TLS) has to have fastcgi support, you configure the fastcgi and database ports, maybe mount a directory with config files into the container, and that's it.
>Yes, even on Windows. This would require you to run your containers on Windows servers right? Not much reason to do that anymore. Instead should just containerize as part of deployment pipeline
Re: A Beginner’s Introduction to Python Web Frameworks (2018)
#88Earlier quoted context omitted.
Docker on Windows can run linux containers just the same as docker on linux.. it uses a virtualbox vm with linux and runs containers inside that
This is not the case. It uses Hyper-V (which is multitudes faster in every benchmark I’ve seen and much more stable) https://docs.docker.com/machine/get-started/
Re: A Beginner’s Introduction to Python Web Frameworks (2018)
#89Re: A Beginner’s Introduction to Python Web Frameworks (2018)
#90Earlier quoted context omitted.
Django is a pretty big omission from your list.
Especially considering Django powers Instagram and Pinterest's backends. At some point, Python's creator Guido van Rossum also said "My personal favorite -- and I expect that that will remain a personal favorite for a long time -- is something named Django. ... I highly recommend it." Personally, I use Django with REST Framework ( https://www.django-rest-framework.org ). I've enjoyed using it tremendously for the pas…