Python New Web Frameworks Introduction & Installation | Python 2020 Web Frameworks

preview_player
Показать описание
Join Programming Free Courses

In this video iam going to talk about Python New Web Frameworks Introduction & Installation. also iam going to show you the installation process with examples.

These are the Python Web Frameworks that we are going to talk

1: Starlette

Starlette is a lightweight ASGI framework/toolkit, which is ideal for building high performance asyncio services.

2: Blacksheep

BlackSheep is an asynchronous web framework to build event based, non-blocking Python web applications. It is inspired by Flask, ASP.NET Core, and the work by Yury Selivanov.

3: Sanic

Sanic is a Python 3.6+ web server and web framework that's written to go fast. It allows the usage of the async/await syntax added in Python 3.5, which makes your code non-blocking and speedy.

The project is maintained by the community, for the community. Contributions are welcome!

The goal of the project is to provide a simple way to get up and running a highly performant HTTP server that is easy to build, to expand, and ultimately to scale.

4: FastAPI

FastAPI is a modern, fast (high-performance), web framework for building APIs with Python 3.6+ based on standard Python type hints.

5: Klein

Klein is a micro-framework for developing production-ready web services with Python. It is 'micro' in that it has an incredibly small API similar to Bottle and Flask. It is not 'micro' in that it depends on things outside the standard library. This is primarily because it is built on widely used and well tested components like Werkzeug and Twisted.

A Klein bottle is an example of a non-orientable surface, and a glass Klein bottle looks like a twisted bottle or twisted flask. This, of course, made it too good of a pun to pass up.

Klein's documentation can be found at Read The Docs.

6: Quart

Quart is a Python ASGI web microframework. It is intended to provide the easiest way to use asyncio functionality in a web context, especially with existing Flask apps. This is possible as the Quart API is a superset of the Flask API.

Quart aims to be a complete web microframework, as it supports HTTP/1.1, HTTP/2 and websockets. Quart is very extendable and has a number of known extensions and works with many of the Flask extensions.

Check our blog

#Python#WebFrameworks#Python2020
Рекомендации по теме
Комментарии
Автор

Wow, Sanic looks really intuitive! Anything changed since this video?

For the web development, it seems javascript is the basis for many platforms (NuxtJs, ElectronJs, etc). Any suggestions on a cross-platform mobile development? Dart/Flutter, C#/Xamarin, Fyne, DeskGap?

For example, I understand ElectronJs relies on Chromium.. which may be problematic from licensing as well as security. Any thoughts on tauri or neutralinojs v2? Are there any downsides to these new frameworks that don't have a backend? For example, can it create/debug desktop apps that access hardware (like a usb/serial port)? I can't seem to find too much documentation on this! I like NuxtJs, but the (little) documentation and (slow) performance is a turn off.

bennguyen
Автор

some of these python packages not work ... with python 3.x < 3.6 and linux distro like Ubuntu!

catafest-work
Автор

you missed d in websocket.sen(d). That's why Lifespan is not instantiated.

orlanino
Автор

Didn't explain anything... waste of time

carteiraricaeducacaoeinter