3 रिपॉजिटरी
Declarative definitions of database tables as Python classes with typed fields and relations, automatically generating schema.
Distinct from Python Data Class Declarations: Distinct from Python Data Class Declarations: focuses on ORM model definitions with database schema generation, not general-purpose data classes.
Explore 3 awesome GitHub repositories matching data & databases · ORM Model Declarations. Refine with filters or upvote what's useful.
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
Defines database tables as Python classes with typed fields and relations, automatically generating schema.
Flask-SQLAlchemy is a toolkit that integrates the SQLAlchemy relational database toolkit with the Flask web framework. It enables relational data modeling by defining database table structures as Python classes and manages the persistence and retrieval of database records within a web application. The project binds database session lifecycles to the active application request context to ensure automatic connection cleanup. It provides specialized utilities for web data access, including query result pagination and a mechanism to automatically trigger 404 Not Found responses when a requested d
Creates table structures using declarative classes that map application objects to database rows.
Flask-SQLAlchemy is a relational database toolkit that integrates the SQLAlchemy object-relational mapper into web applications. It serves as a database session manager and schema toolkit, providing the necessary infrastructure to define data models and execute queries within a request lifecycle. The project is distinguished by its multi-database routing engine, which uses bind-keys to map different models to multiple distinct database engines. It also includes a SQL query auditing tool that captures and logs executed statements and timing data for a single request to identify performance bot
Uses a declarative class system to automatically manage database metadata and naming conventions.