Our great sponsors
- Sonar - Write Clean Python Code. Always.
- CodiumAI - TestGPT | Generating meaningful tests for busy devs
- ONLYOFFICE ONLYOFFICE Docs — document collaboration in your environment
- InfluxDB - Access the most powerful time series database as a service
|20 days ago||about 23 hours 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.
How does Depends with SQLAlchemy session work?
2 projects | reddit.com/r/FastAPI | 27 Nov 2022
I, too, have encountered something similar. In my opinion, abandoning this function and such a solution, for example, solves the problem.
Getting Started: Monitoring a FastAPI App with Grafana and Prometheus - A Step-by-Step Guide
7 projects | dev.to | 28 May 2023
How to Connect a FastAPI Server to PostgreSQL and Deploy on GCP Cloud Run
7 projects | dev.to | 26 May 2023
When I was building Ballistic, I chose for FastAPI as the web framework for my backend API in Python, since it had gained significant popularity in the Python community in a very short amount of time. Apart from its performance, powered by the usage of the asyncio library, I was convinced by the core integration of type annotations and the well-built documentation. Take into account that good documentation and a broad community can save you tons of time when developing your backend.
Investigating Pydantic v2's Bold Performance Claims
5 projects | dev.to | 17 May 2023
If you work with backend APIs in Python, you've probably used or heard of Pydantic, perhaps from FastAPI. The library advertises itself as "data validation and settings management using Python type annotations" and it makes (de)serialization of data a breeze.1
Ask HN: How do I make a website in 2023?
11 projects | news.ycombinator.com | 16 May 2023
It's simple. Just take the hydraulic react redux emulator, and attach it to the transdimensional photon nodejs emitter. Bam! New website.
But seriously, nerds these days don't make it easy. Pretty sure they revel in the complexity. The nicest simple stack I've found is this:
1. FastAPI backend - this is almost really good for getting a simple backend running. Some downsides:
- some astonishments, bugs:  
- it's coupled with Pydantic, which can get confusing because you end up with basically two sets of models if you use an ORM: your ORM "actual models" and then your Pydantic validation models. Just got a little confusing
- uvicorn? gunicorn? unicorn? WSGI? who?
- it's python, so you'll have to deal with cringe and blue-pilled dependency management, among other things
2. Vanilla HTML, CSS, and JS - nice thing about FastAPI is you can be flexible with how you implement the frontend. I've used it to make everything from simple SPA's using vanilla web components to traditional templated SSR sites, and mixes therein.
What's the process behind reddit schedulers (websites)?
3 projects | reddit.com/r/redditdev | 13 May 2023
Because you are already using python I'd recommend having a look at https://fastapi.tiangolo.com/. With this you can write a API that your website can use.
Ask HN: What is the best product documentation you’ve ever seen?
5 projects | news.ycombinator.com | 6 May 2023
Cerbos + FastAPI + AWS Cognito: Do not reinvent user permissions
3 projects | reddit.com/r/FastAPI | 28 Apr 2023
In this tutorial, we're building a simple application which integrates Cerbos with a FastAPI server using AWS Cognito for authentication. FastAPI provides us with the `OAuth2PasswordRequestForm` middleware, which extracts the credentials from the form on the UI, and makes them available within the `form_data` object.
Is there any open source project that uses FasAPI?
8 projects | reddit.com/r/FastAPI | 25 Apr 2023
[Python] NiceGUI: Lassen Sie jeden Browser das Frontend für Ihren Python-Code sein
9 projects | reddit.com/r/aufdeutsch | 25 Apr 2023
NiceGUI runs on top of FastAPI which allows you to add authentication, routing, OpenAPI specs, and other backend functionality to your projects. The frontend is implemented using Vue, Quasar, and Tailwind, but you don’t need to be familiar with these technologies to create beautiful user interfaces. NiceGUI prioritizes simplicity and user-friendliness, while still offering the option for advanced customization through its extensibility.
2 projects | reddit.com/r/Slovenia | 21 Apr 2023
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.
HS-Sanic - Async Python 3.6+ web server/framework | Build fast. Run fast. [Moved to: https://github.com/sanic-org/sanic]
django-ninja - 💨 Fast, Async-ready, Openapi, type hints based framework for building APIs
Flask - The Python micro framework for building web applications.
Django - The Web framework for perfectionists with deadlines.
django-rest-framework - Web APIs for Django. 🎸
BentoML - Unified Model Serving Framework 🍱
vibora - Fast, asynchronous and elegant Python web framework.
starlette - The little ASGI framework that shines. 🌟
sanic - Accelerate your web app development | Build fast. Run fast.