ORMs for Python
Small Expressive ORM
★ 4.6
Object Interface to Database
★ 4.2
pip install peeweepip install sqlobjectpip install peeweepip install sqlobjectPeewee 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.
SQLObject is used in legacy Python data applications and scripts where a simple active-record pattern is sufficient. Engineers define model classes with typed columns, and SQLObject handles table creation, CRUD operations, and basic query building — making it straightforward to read and write database rows with minimal boilerplate.
Individual Tool Pages