awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
coleifer avatar

coleifer/peewee

0
View on GitHub↗
11,971 stars·1,385 forks·Python·MIT·26 viewsdocs.peewee-orm.com↗

Peewee

Peewee is a SQL object-relational mapper and query builder that provides an object-oriented interface for mapping application classes to relational database tables. It functions as a relational database toolkit for managing schemas, executing migrations, and handling complex table relationships.

The project distinguishes itself by providing an asyncio database driver for non-blocking database operations, ensuring event loop responsiveness. It also supports semi-structured data storage, allowing the storage and querying of flexible JSON documents within traditional relational database systems.

The toolkit covers a broad set of capabilities, including the construction of complex SQL queries via a composable programmatic interface and the management of many-to-many relationships and foreign key resolution. It includes utilities for bulk data operations, full-text search, and database introspection to generate models from existing schemas. Connection management is handled through pooling and transaction control to ensure data integrity.

Features

  • Object-Relational Mappers - Provides an object-oriented interface to map application classes to relational database tables and execute SQL queries.
  • Object-Relational Mapping - Implements an object-oriented interface that maps application classes to relational database tables.
  • Asynchronous Database Command Execution - Enables non-blocking execution of database commands to maintain event loop responsiveness.
  • Asynchronous Database Drivers - Provides non-blocking database drivers designed for high-concurrency asyncio environments.
  • Database Query Execution - Executes database queries and model methods asynchronously to keep the event loop responsive.
  • Database Record Querying - Provides structured mechanisms for retrieving records from tables using filters, sorting, and pagination.
  • Fluent Query APIs - Offers a fluent API for retrieving data with support for filtering, joining, and ordering.
  • Hybrid Relational-JSON Storage - Allows storing and querying flexible JSON documents within traditional relational database systems.
  • Code-to-Relational Mappings - Maps high-level class definitions to relational database tables for automated schema management.
  • SQL Query Builders - Ships a composable programmatic interface for constructing complex SQL queries.
  • Asynchronous Drivers - Provides an asyncio database driver for non-blocking operations to ensure event loop responsiveness.
  • Bulk Data Operations - Supports high-performance bulk inserts and updates to reduce database round-trips.
  • Semi-Structured Data Integration - Integrates flexible JSON and HStore data formats into relational tables for semi-structured storage.
  • Database Connection Managers - Manages the opening, closing, and pooling of connections to various database backends.
  • Database Driver Abstractions - Abstracts database-specific syntax through a common API layer for multiple SQL dialects.
  • Database Introspection Tools - Performs low-level reflection to discover table structures and constraints across different platforms.
  • Connection Pool Managers - Manages database connection lifecycles and pooling to optimize resource utilization.
  • Database Schema Migrations - Includes tools for evolving table structures and columns without losing existing data.
  • Schema Introspection - Analyzes existing database layouts to dynamically create corresponding model classes.
  • Database Transaction Management - Controls atomic blocks of work using transactions and savepoints to ensure data integrity.
  • Document Storage - Provides storage for flexible JSON documents within a traditional relational database system.
  • Lazy Loading Patterns - Supports deferred loading of foreign key relationships to optimize initial query performance.
  • Many-to-Many Relationship Managers - Provides specialized support for managing associations between entities through intermediate pivot tables.
  • Relation Loading Strategies - Implements lazy loading and eager prefetching strategies for fetching associated entity data.
  • Relational Database Connectors - Provides a comprehensive set of tools for connecting to and performing operations on relational databases.
  • Schema Generators - Provides utilities to automatically generate model code by scanning existing database schemas.
  • Database Connectivity Drivers - Interfaces with various database engines using both synchronous and asynchronous drivers.
  • Database Clients - Small, expressive ORM for multiple SQL databases.
  • Database ORMs - Listed in the “Database ORMs” section of the Awesome Python awesome list.
  • Object Relational Mappers - Small and expressive ORM.
  • ORM Frameworks - Small, expressive ORM.

Star history

Star history chart for coleifer/peeweeStar history chart for coleifer/peewee

How this analysis was created: This summary and feature list were written by an AI model that read the project's README and public documentation pages. Each feature links to the documentation it came from; stars, license and language come straight from the GitHub API. The model does not read the source code, and the analysis is refreshed when the project is re-analysed. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to Peewee

Similar open-source projects, ranked by how many features they share with Peewee.
  • sqlalchemy/sqlalchemysqlalchemy avatar

    sqlalchemy/sqlalchemy

    11,612View on GitHub↗

    SQLAlchemy is a comprehensive Python SQL toolkit and object-relational mapper that provides a full suite of tools for interacting with relational databases. It serves as a foundational layer for database connectivity, offering both a high-level object-oriented interface for data persistence and a programmatic SQL expression language for constructing complex, dialect-agnostic queries. The project distinguishes itself through its sophisticated unit of work persistence, which coordinates atomic transactions and tracks object state changes to minimize redundant database operations. It provides a

    Pythonpythonsqlsqlalchemy
    View on GitHub↗11,612
  • dotnet/efcoredotnet avatar

    dotnet/efcore

    14,587View on GitHub↗

    Entity Framework Core is an object-relational mapper that enables developers to interact with database systems using strongly-typed code. It serves as a comprehensive data access framework, providing a unified interface for mapping application objects to relational and non-relational database schemas while managing the lifecycle of data operations through a central context. The project distinguishes itself through a provider-based architecture that decouples core data access logic from specific database engines, allowing for consistent interaction across diverse storage systems. It features a

    C#aspnet-productc-sharpdatabase
    View on GitHub↗14,587
  • dapperlib/dapperDapperLib avatar

    DapperLib/Dapper

    18,331View on GitHub↗

    Dapper is a lightweight object-relational mapper for .NET that functions as a high-performance data access library. It operates by extending standard database connection interfaces, allowing developers to execute raw SQL queries while automating the mapping of database results to strongly-typed objects. The library distinguishes itself through its use of runtime code generation, which creates high-performance instructions to map database rows to object properties with minimal overhead. It provides flexible data retrieval options, supporting both memory-buffered loading for speed and row-by-ro

    C#ado-netdappersql
    View on GitHub↗18,331
  • ponyorm/ponyponyorm avatar

    ponyorm/pony

    3,822View on GitHub↗

    Pony is a Python object-relational mapper that maps classes to relational database tables using an object-oriented interface. It serves as a relational database toolkit providing the means to manage database transactions, identity mapping, and the lazy loading of related records. The project is distinguished by a SQL query translator that converts Python generator expressions into optimized SQL queries by analyzing the abstract syntax tree. It also includes a visual database schema designer for creating entity-relationship diagrams to automatically generate and synchronize relational database

    Pythoncockroachcockroachdbmysql
    View on GitHub↗3,822
See all 30 alternatives to Peewee→

Frequently asked questions

What does coleifer/peewee do?

Peewee is a SQL object-relational mapper and query builder that provides an object-oriented interface for mapping application classes to relational database tables. It functions as a relational database toolkit for managing schemas, executing migrations, and handling complex table relationships.

What are the main features of coleifer/peewee?

The main features of coleifer/peewee are: Object-Relational Mappers, Object-Relational Mapping, Asynchronous Database Command Execution, Asynchronous Database Drivers, Database Query Execution, Database Record Querying, Fluent Query APIs, Hybrid Relational-JSON Storage.

What are some open-source alternatives to coleifer/peewee?

Open-source alternatives to coleifer/peewee include: sqlalchemy/sqlalchemy — SQLAlchemy is a comprehensive Python SQL toolkit and object-relational mapper that provides a full suite of tools for… dotnet/efcore — Entity Framework Core is an object-relational mapper that enables developers to interact with database systems using… dapperlib/dapper — Dapper is a lightweight object-relational mapper for .NET that functions as a high-performance data access library. It… ponyorm/pony — Pony is a Python object-relational mapper that maps classes to relational database tables using an object-oriented… fastapi/sqlmodel — SQLModel is a type-safe object-relational mapping library for Python that integrates database schema definitions with… tortoise/tortoise-orm — Tortoise ORM is an asynchronous object-relational mapper for Python that mirrors Django's model and queryset API while…