21 个仓库
Libraries for database access, modeling, and schema management.
Explore 21 awesome GitHub repositories matching part of an awesome list · Database ORMs. Refine with filters or upvote what's useful.
Django is a full-stack web framework designed for rapid backend development. It provides an integrated environment for building data-driven applications by combining an object-relational mapping layer for database management with a modular request-response pipeline for handling HTTP traffic. The framework emphasizes security and maintainability, offering a suite of tools to protect against common web vulnerabilities while decoupling site structure from implementation through a centralized URL routing system. A defining characteristic of the framework is its ability to generate production-read
Listed in the “Database ORMs” section of the Awesome Python awesome list.
Prisma is a database toolkit that provides a unified access layer for interacting with relational and document databases. It centers on a declarative schema modeling approach, where developers define their data structures in a human-readable language. This schema serves as the single source of truth, from which the toolkit automatically generates type-safe database clients that provide compile-time validation and editor autocomplete for all data operations. The project distinguishes itself through a high-performance, Rust-based query engine that handles query planning and connection pooling o
Modern database access toolkit for Node.js and TypeScript.
TypeORM is an object-relational mapper for TypeScript and JavaScript that bridges the gap between object-oriented application code and relational database tables. It provides a comprehensive data persistence layer that allows developers to define database entities using class decorators or configuration objects, enabling seamless interaction with data through object-oriented patterns. The project distinguishes itself through a flexible architecture that supports both the data mapper and repository patterns, alongside a fluent query builder that translates high-level method calls into platform
ORM supporting multiple SQL databases and WebSQL.
SQLModel is a type-safe object-relational mapping library for Python that integrates database schema definitions with data validation logic. By combining these two roles into a single class, it allows developers to manage relational data structures and enforce data integrity for web APIs simultaneously. The framework is built to support asynchronous database operations, enabling high-performance applications to execute queries and transactions without blocking the main execution thread. The library distinguishes itself by leveraging Python type hints to provide IDE autocompletion and compile-
Listed in the “Database ORMs” section of the Awesome Python awesome list.
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.
Listed in the “Database ORMs” section of the Awesome Python awesome list.
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
Listed in the “Database ORMs” section of the Awesome Python awesome list.
Mikro-ORM is a TypeScript-based object-relational mapping system that provides a unified persistence layer for Node.js applications. It translates TypeScript entities into relational or document-based database schemas, supporting a variety of engines including PostgreSQL, MySQL, MariaDB, MS SQL Server, SQLite, and MongoDB. The project implements the data mapper pattern to decouple in-memory domain models from the database persistence layer. It utilizes a unit of work pattern to track entity changes in memory and commit them in a single coordinated database transaction. The library covers com
ORM based on Data Mapper and Unit of Work patterns.
Tortoise ORM is an asynchronous object-relational mapper for Python that mirrors Django's model and queryset API while running on asyncio. It defines database tables as Python classes with typed fields and supports foreign key, many-to-many, and one-to-one relations, providing a chainable query API for filtering, annotating, grouping, and prefetching related objects without blocking the event loop. The ORM includes a built-in migration engine that detects model changes, generates migration files, and applies or reverts schema changes through a command-line tool. It connects to PostgreSQL, MyS
Listed in the “Database ORMs” section of the Awesome Python awesome list.
该项目是一个 SQL 数据访问层和模式生成器,允许通过将表视为简单数据结构来读取和写入关系数据库中的记录。它作为一个自动模式生成器,根据传入数据的结构即时创建数据库表和列。 该工具提供了一个高性能批量加载器,使用分组原子事务导入大数据集以确保数据一致性。它还包括一个记录 Upsert 机制,根据唯一标识符确定是更新现有行还是插入新行。 该系统涵盖动态模式管理,包括隐式列解析和表配置。它还提供了一个基于集合的查询接口,用于检索记录或提取唯一值,而无需编写手动查询。
Listed in the “Database ORMs” section of the Awesome Python awesome list.
MongoEngine 是一个 Python 对象文档映射器(ODM),它将数据库记录转换为对象,从而为数据持久化提供面向对象的接口。它作为 MongoDB 的文档管理器和模式验证器,将类映射到文档以强制执行数据类型和验证规则。 该项目提供了一个延迟加载的 QuerySet 系统,用于使用 Pythonic 语法过滤、排序和聚合集合。它通过文档继承、递归嵌入式文档处理和基于引用的对象链接等功能管理复杂数据结构。 该库涵盖了广泛的功能,包括模式迁移、全文搜索以及通过 GridFS 文件系统管理大二进制文件。它还包括用于数据库索引优化、查询性能分析和基于信号的生命周期钩子的工具,以在文档事件期间自动化逻辑。
Listed in the “Database ORMs” section of the Awesome Python awesome list.
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
Listed in the “Database ORMs” section of the Awesome Python awesome list.
Full-stack CRUD, simplified, with SSOT TypeScript entities
End-to-end type-safe CRUD and model sharing.
A curated list of awesome tools for SQLAlchemy
Listed in the “Database ORMs” section of the Awesome Python awesome list.
Asynchronous Python ODM for MongoDB
Listed in the “Database ORMs” section of the Awesome Python awesome list.
A pythonic interface to Amazon's DynamoDB
Listed in the “Database ORMs” section of the Awesome Python awesome list.
TypeScript VIN decoder with optimized SQLite database.
⚡️ Neuledge streamlines database modeling with clear data entity definitions, customizable validation, and advanced business-logic representation.
Universal language for database modeling and validation.
Node.js ORM written in TypeScript for type lovers.
ORM using GraphQL as a schema definition language.