awesome-repositories.com
博客
MCP
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
coleifer avatar

coleifer/peewee

0
View on GitHub↗
11,971 星标·1,385 分支·Python·MIT·6 次浏览docs.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 历史

coleifer/peewee 的 Star 历史图表coleifer/peewee 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

常见问题解答

coleifer/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.

coleifer/peewee 的主要功能有哪些?

coleifer/peewee 的主要功能包括: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。

coleifer/peewee 有哪些开源替代品?

coleifer/peewee 的开源替代品包括: 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…

Peewee 的开源替代方案

相似的开源项目,按与 Peewee 的功能重合度排序。
  • sqlalchemy/sqlalchemysqlalchemy 的头像

    sqlalchemy/sqlalchemy

    11,612在 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
    在 GitHub 上查看↗11,612
  • dotnet/efcoredotnet 的头像

    dotnet/efcore

    14,587在 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
    在 GitHub 上查看↗14,587
  • dapperlib/dapperDapperLib 的头像

    DapperLib/Dapper

    18,331在 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
    在 GitHub 上查看↗18,331
  • ponyorm/ponyponyorm 的头像

    ponyorm/pony

    3,822在 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
    在 GitHub 上查看↗3,822
  • 查看 Peewee 的所有 30 个替代方案→