ORMs for Python
Lightweight Async ORM
★ 4.3
Small Expressive ORM
★ 4.6
pip install ormpip install peeweepip install ormpip install peeweePython data engineers building async data APIs with FastAPI or Starlette use the `databases` (Encode ORM) library to perform non-blocking database operations. It replaces synchronous `psycopg2` calls with awaitable async queries, keeping the event loop unblocked during database I/O in high-concurrency ingestion endpoints.
Peewee is the ORM of choice for lightweight Python data scripts and microservices. Engineers define model classes for their tables and use the query API to read, insert, and update records — it is particularly popular for SQLite-backed data tools and scripts where the full weight of SQLAlchemy is unnecessary.
Individual Tool Pages