|4 days ago||4 days ago|
|MIT License||MIT License|
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Strict Python Function Parameters
4 projects | news.ycombinator.com | 23 Jan 2022
Slightly off-topic, but everyone writing modern Python should be familiar with Pydantic and similar libraries that use type hints for validation and parsing:
We're using Pydantic for Robusta (https://github.com/robusta-dev/robusta) and absolutely love it. You get the best of traditional Python (rapid prototyping and no boilerplate) while still being able to scale your codebase and keep it maintainable. Robusta is the first large project I've written in Python where I'm not encountering type errors at runtime left and right.
Enable feature-rich Logging for FastAPI on Google Cloud Logging
1 project | dev.to | 22 Jan 2022
I recently evaluated some of the typical Python web frameworks for a small REST API project. Previously I worked with Flask, but something caught me to try another framework this time. To put it very briefly - this time, I decided to use FastAPI, a modern and high-speed framework for use with REST APIs. FastAPI also has other advantages. For example, the documentation of the endpoints is already automatically generated in OpenAPI format and output as a Swagger interface. Smart!
Too many emojis in 'Concurrency and async / await' explanation
2 projects | news.ycombinator.com | 21 Jan 2022
The surprising part is that they were added in a PR, the original documentation didn't have them: https://github.com/tiangolo/fastapi/commit/741de7f92745d9549...2 projects | news.ycombinator.com | 21 Jan 20222 projects | reddit.com/r/programmingcirclejerk | 20 Jan 2022
Xpresso is an ASGI web framework built on top of Starlette, Pydantic and di, with heavy inspiration from FastAPI.
1 project | reddit.com/r/Python | 20 Jan 2022
This started as a PR to FastAPI that didn't gain traction: https://github.com/tiangolo/fastapi/pull/3641
Trying to get (bearer) headers from requests
1 project | reddit.com/r/FastAPI | 19 Jan 2022
Bad news is, It isn't possible according to #4246.
How to Build a Machine Learning Demo in 2022
7 projects | dev.to | 16 Jan 2022
The goal of the back end is to act as a wrapper for a model so that it can be queried via HTTP requests from the front end, something referred to as model serving. In order to do so, one would typically use a web framework. For a long time, Flask was the standard for Python-based web frameworks, and is indeed still very popular. However, FastaAPI is quickly becoming the new favorite, thanks to impressive performance and native support for asynchronous operations. This article is a good starting point to understand how a simple model can be deployed using FastAPI, while this tutorial provides a complete overview of all the steps required to serve a PyTorch model with GPU support.
Generate customizable FastAPI projects for high-performance applications. Based on MVC, WSGI + ASGI with tests, pipeline, utilities, helm, and more.
6 projects | reddit.com/r/Python | 13 Jan 2022
As of today, FastAPI doesn't have any project generator like other known web frameworks ex: Django, Rails, etc., which makes creating new projects based on it that much more time-consuming. The idea behind this package is that one can generate a new project with one command and then start implementing endpoints logic straightaway, rather than creating the whole project from scratch. Moreover, the project is structured in MVC architectural pattern to help developers who don't know FastAPI yet but are familiar with MVC to get up to speed quickly.
AtlasHackathon - A Quiz API using MongoDB and FastAPI
2 projects | dev.to | 12 Jan 2022
strawberry VS ariadne - a user suggested alternative
2 projects | 9 Jan 2022
Is Django 4.0 "fine" to start a personal project today or I should wait couple of weeks/months for a more stable release? I am wondering if current release is more for "enthusiast" who wants to hunt down bugs or it is alright to work with it for all developers?
1 project | reddit.com/r/django | 2 Jan 2022
Try strawberry graphql. We're using it at work and it's really good. https://strawberry.rocks/
Graphene VS strawberry - a user suggested alternative
2 projects | 7 Oct 2021
As for 'Fast API', GraphQL server by Graphene has been deprecated, and now using Strawberry for GraphQL.
ROUTING with Django + separate Vue frontend
3 projects | reddit.com/r/vuejs | 11 Sep 2021
Here’s what can get you started: GraphQL for Python: Strawberry Django Integration (optional) -> Strawberry Django Strawberry Discord (awesome and helpful community - see you there) As for Vue you can check out Vue-Apollo Urql
Does an ASGI(Asynchronous Server Gateway Interface) provide any benefit in Rust?
4 projects | reddit.com/r/rust | 26 Jun 2021
Say I've written a REST api using e.g. FastAPI and want to add GraphQL support with e.g. Strawberry. Without ASGI, I'd gave to run two seperate server processes, plus nginx/caddy/whatever, deal with the routing rules in multiple places, etc.
Python graphql API's
1 project | reddit.com/r/graphql | 25 Apr 2021
The library I’m working on (https://strawberry.rocks/) supports FastAPI (via ASGI), Flask and Django :)
Building GraphQL APIs in Django with Graphene
5 projects | reddit.com/r/django | 27 Mar 2021
https://strawberry.rocks feels a lot more pythonic using dataclassed, typing for GraphQL schema building.
Graphql with python and django
3 projects | reddit.com/r/django | 27 Feb 2021
strawberrycan be a good alternative. It has great documentation and IDEA support. It little bit is similar to graphene, but has better API. One example of good integration of library with Django is PyCon Italia website
What are some alternatives?
AIOHTTP - Asynchronous HTTP client/server framework for asyncio and Python
Tornado - Tornado is a Python web framework and asynchronous networking library, originally developed at FriendFeed.
Flask - The Python micro framework for building web applications.
Django - The Web framework for perfectionists with deadlines.
HS-Sanic - Async Python 3.6+ web server/framework | Build fast. Run fast. [Moved to: https://github.com/sanic-org/sanic]
vibora - Fast, asynchronous and elegant Python web framework.
starsessions - Pluggable sessions support for Starlette and FastAPI.
ariadne - A fancy diagnostics & error reporting crate
Pyramid - Pyramid - A Python web framework
flask-restx - Fork of Flask-RESTPlus: Fully featured framework for fast, easy and documented API development with Flask
CherryPy - CherryPy is a pythonic, object-oriented HTTP framework. https://cherrypy.dev
ariadne-extended - niceties when working with ariadne and Django