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
This example demonstrates the seamless integration of [FastAPI](https://fastapi.tiangolo.com/), a modern, high-performance web framework,
45
46
with [Pydantic 2.0](https://github.com/pydantic/pydantic), a robust and powerful data validation library.
46
47
The integration is further enhanced by the use of [SQLAlchemy ORM](https://www.sqlalchemy.org/), a popular and feature-rich Object-Relational Mapping tool,
47
-
and [PostgreSQL16](https://www.postgresql.org/about/news/postgresql-16-released-2715/) relational database.
48
+
and [PostgreSQL17](https://www.postgresql.org/docs/17/release.html) relational database.
48
49
49
50
The entire stack is connected using the [asyncpg](https://github.com/MagicStack/asyncpg) Database Client Library,
50
51
which provides a robust and efficient way to interact with PostgreSQL databases in Python,
@@ -56,7 +57,7 @@ allowing for the rapid development of APIs with Python 3.8+.
56
57
57
58
FastAPI has received significant recognition in the industry, including a review on thoughtworks Technology Radar in April 2021,
58
59
where it was classified as a Trial technology, with comments praising its performance, ease of use,
59
-
and features such as API documentation using OpenAPI. Additionally, FastAPI was recognized in the Python Developers Survey 2022 Results,
60
+
and features such as API documentation using OpenAPI. Additionally, FastAPI was recognized in the Python Developers Survey 2023 Results,
60
61
conducted by the Python Software Foundation and JetBrains, where it was reported that 1 in 4 Python developers use FastAPI,
61
62
with a 4 percentage point increase from the previous year.
62
63
@@ -86,7 +87,8 @@ To build , run and test and more ... use magic of make help to play with this pr
86
87
4. make docker-feed-database
87
88
```
88
89
89
-
90
+
### Adjust make with just
91
+
[//]: #(TODO: switch form make to just)
90
92
<palign="right">(<ahref="#readme-top">back to top</a>)</p>
91
93
92
94
### How to feed database
@@ -126,15 +128,11 @@ he following steps were taken to integrate [rich](https://github.com/Textualize/
126
128
127
129
Setup user authentication with JWT and Redis as token storage.
128
130
129
-
### Local development with poetry
130
-
131
-
```shell
132
-
pyenv install 3.13 && pyenv local 3.13
133
-
```
131
+
### Setup local env with uv
134
132
```shell
135
-
poetry install --with dev
133
+
uv sync
134
+
source .venv/bin/activate
136
135
```
137
-
Hope you enjoy it.
138
136
139
137
### Import xlsx files with polars and calamine
140
138
Power of Polars Library in data manipulation and analysis.
@@ -165,6 +163,16 @@ It is implemented as a singleton to ensure that only one SMTP connection is main
165
163
throughout the application lifecycle, optimizing resource usage.
166
164
167
165
166
+
<palign="right">(<ahref="#readme-top">back to top</a>)</p>
0 commit comments