You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-14Lines changed: 2 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,22 +48,10 @@ This example demonstrates the seamless integration of [FastAPI](https://fastapi.
48
48
with [Pydantic 2.0](https://github.com/pydantic/pydantic), a robust and powerful data validation library.
49
49
The integration is further enhanced by the use of [SQLAlchemy ORM](https://www.sqlalchemy.org/), a popular and feature-rich Object-Relational Mapping tool,
50
50
and [PostgreSQL17](https://www.postgresql.org/docs/17/release.html) relational database.
51
-
52
51
The entire stack is connected using the [asyncpg](https://github.com/MagicStack/asyncpg) Database Client Library,
53
52
which provides a robust and efficient way to interact with PostgreSQL databases in Python,
54
53
leveraging the power of asyncio and event loops.
55
54
56
-
Notably, this example showcases the latest and greatest versions of SQLAlchemy and psycopg,
57
-
which are renowned for their robustness, power, and speed. The inclusion of FastAPI adds a modern, fast, and high-performance web framework to the mix
58
-
allowing for the rapid development of APIs with Python 3.13.
59
-
60
-
FastAPI has received significant recognition in the industry, including a review on thoughtworks Technology Radar in April 2021,
61
-
where it was classified as a Trial technology, with comments praising its performance, ease of use,
62
-
and features such as API documentation using OpenAPI. Additionally, FastAPI was recognized in the Python Developers Survey 2023 Results,
63
-
conducted by the Python Software Foundation and JetBrains, where it was reported that 1 in 4 Python developers use FastAPI,
64
-
with a 4 percentage point increase from the previous year.
65
-
66
-
67
55
### Built With
68
56
[![FastAPI][fastapi.tiangolo.com]][fastapi-url]
69
57
[![Pydantic][pydantic.com]][pydantic-url]
@@ -106,7 +94,7 @@ Next models were generated with https://github.com/agronholm/sqlacodegen
106
94
107
95
To elevate the logging capabilities beyond simple colored output,
108
96
this project has transitioned to [Rotoger](https://github.com/tinyplugins/rotoger).
109
-
This powerful library provides a comprehensive, production-ready logging setup for modern asynchronous applications,
97
+
This tiny library provides a comprehensive, production-ready logging setup for modern asynchronous applications,
110
98
addressing challenges like log management, performance, and readability.
111
99
112
100
Rotoger is built upon the excellent [structlog](http://structlog.org/) library and brings several key advantages:
@@ -218,7 +206,7 @@ I've included a few of my favorites to kick things off!
218
206
219
207
## Change Log
220
208
<details>
221
-
<summary>2025 (3 changes)</summary>
209
+
<summary>2025 (7 changes)</summary>
222
210
<ul>
223
211
<li>[SEP 2 2025] add sample high availability with nginx as load balancer</li>
Copy file name to clipboardExpand all lines: pyproject.toml
+30-33Lines changed: 30 additions & 33 deletions
Original file line number
Diff line number
Diff line change
@@ -1,47 +1,44 @@
1
1
[project]
2
2
name = "fastapi-sqlalchemy-asyncpg"
3
-
version = "0.22.0"
3
+
version = "1.22.0"
4
4
description = "A modern FastAPI application with SQLAlchemy 2.0 and AsyncPG for high-performance async database operations. Features include JWT authentication with Redis token storage, password hashing, connection pooling, data processing with Polars, Rich logging, task scheduling with APScheduler, and Shakespeare datasets integration."
0 commit comments