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
Nils Philippsen edited this page Jun 23, 2022
·
1 revision
Python 3.8+
Version 3.8 of Python or later is required to run Duffy because previous versions have neither typing.Literal (which is used in some type hints and API models) nor unittest.mock.AsyncMock (which is used to mock asynchronous code in tests).
FastAPI, an asynchronous Python web framework, is used as the basis for the current and legacy API web apps. Uvicorn is the ASGI web server running these apps.
SQLAlchemy is an SQL toolkit and object relational mapper. To be future-proof, Duffy uses the new-style query API of upcoming SQLAlchemy 2.0 which is first available in version 1.4 of SQLAlchemy.
Alembic is the database migration toolkit for SQLAlchemy.