awesome-fastapi
databases
awesome-fastapi | databases | |
---|---|---|
5 | 15 | |
7,494 | 3,700 | |
- | 0.4% | |
4.8 | 5.8 | |
about 2 months ago | 22 days ago | |
Python | ||
Creative Commons Zero v1.0 Universal | BSD 3-clause "New" or "Revised" 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.
awesome-fastapi
-
What are some amazing, great python external modules, libraries to explore?
Aweome asyncio Awesome Django Awesome FastAPI
-
Flask Allowed Me to Implement My Startup for only $12.
This list has a lot of goodies
-
⚡ FastAPI Websocket RPC and Pub/Sub packages
Was just about to suggest you add it to the Awesome FastAPI but another contributor already did. This looks very cool and I will definitely try it out on a project I am working on currently. Thank you!
-
Project structure for scalable fastapi project.
You can find a number of large open source projects here: https://github.com/mjhea0/awesome-fastapi#open-source-projects.
- Good Resources for Learning FastAPI ?
databases
- Whats the standard way for interacting with a DB.
-
Getting Started with Fast-Api 🏎️ and Docker🐳
In the code ,we are using SQLAlchemy as our ORM(Object Relational Mapper) and Databases as our query builder.
-
A Deep Dive into Connecting FastAPI with SingleStore.
MySQL is a powerful and popular database, and it's well-suited for use with Python. In the following section, we are going through how to set up a connection to a MySQL database in an asynchronous manner using the create_asynchrouns_engine function from SQLAlchemy. We'll also use the databases package and the aiomysql extra dependency. We'll also adapt the SQLAlchemy declarative approach to defining our users' table.
-
Django 4.1 alpha 1 released
To take an example: I switched a service over from doing synchronous (plain def everywhere) to async (async def and await everywhere, with async DB, and saw… basically no performance improvement.
- PostgREST v9.0.0
-
python asyncio, how to prevent the other functions "block" themselves when connecting to db?
No, as I said, async db connection is the key. You can do that with SQLAlchemy using the databases library, but since you are not using SQLAlchemy it makes more sense to use the underlying db driver, aiomysql, directly.
- Database library
-
Best approach for async SQLAlchemy in FastAPI
Using the encode/databases library and forgoing SQLAlchemy's ORM
-
FastAPI + Ormar + Alembic setup
ormar is a mini async ORM for python. It uses sqlalchemy for building queries, databases for asynchronous execution of queries, and pydantic for data validation. You can create an ormar model and generate pydantic models from it.
-
async sqlalchemy question db question
works but there seems to be a difference between the regular slqalchemy syntax from what https://github.com/encode/databases/ is using in the docs?
What are some alternatives?
fastapi-boilerplate - A template repository to start your FastAPI backend projects.
aiomysql - aiomysql is a library for accessing a MySQL database from the asyncio
awesome-nodejs - :zap: Delightful Node.js packages and resources
aiosql - Simple SQL in Python
fastapi_websocket_pubsub - Fork of https://github.com/permitio/fastapi_websocket_pubsub
asyncmy - A fast asyncio MySQL/MariaDB driver with replication protocol support
the-book-of-secret-knowledge - A collection of inspiring lists, manuals, cheatsheets, blogs, hacks, one-liners, cli/web tools and more.
alembic - A database migrations tool for SQLAlchemy.
fastango - Simplifies class-based views for more organized and maintainable code in FastAPI ✨
fastapi-users - Ready-to-use and customizable users management for FastAPI
Pyrsistent - Persistent/Immutable/Functional data structures for Python
full-stack-fastapi-template - Full stack, modern web application template. Using FastAPI, React, SQLModel, PostgreSQL, Docker, GitHub Actions, automatic HTTPS and more.