awesome-repositories.com
Blog
awesome-repositories.com

Entdecke die besten Open-Source-Repositories mit KI-gestützter Suche.

EntdeckenKuratierte SuchenOpen-Source-AlternativenSelf-hosted SoftwareBlogSitemap
ProjektÜber unsRanking-MethodikPresseMCP-Server
RechtlichesDatenschutzAGB
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
pallets-eco avatar

pallets-eco/flask-sqlalchemy

0
View on GitHub↗
4,314 Stars·908 Forks·Python·BSD-3-Clause·3 Aufrufeflask-sqlalchemy.readthedocs.io↗

Flask Sqlalchemy

Flask-SQLAlchemy ist ein Toolkit, das das relationale Datenbank-Toolkit SQLAlchemy mit dem Flask-Web-Framework integriert. Es ermöglicht relationale Datenmodellierung durch die Definition von Datenbanktabellenstrukturen als Python-Klassen und verwaltet die Persistenz und den Abruf von Datenbankdatensätzen innerhalb einer Webanwendung.

Das Projekt bindet Datenbank-Sitzungslebenszyklen an den aktiven Anwendungs-Request-Kontext, um eine automatische Verbindungsbereinigung sicherzustellen. Es bietet spezialisierte Utilities für den Web-Datenzugriff, einschließlich Query-Result-Pagination und einen Mechanismus, um automatisch 404-Not-Found-Antworten auszulösen, wenn ein angeforderter Datenbankdatensatz fehlt.

Die Erweiterung deckt ein breites Spektrum an Datenbankverwaltungsfunktionen ab, einschließlich deklarativem Modell-Mapping, Schema-Reflektion und der Generierung physischer Tabellenstrukturen. Sie unterstützt fortgeschrittenes Verbindungsmanagement durch Multi-Bind-Query-Routing und bietet Observability-Tools zur Prüfung der SQL-Abfrageleistung und Ausführungszeit.

Features

  • ORM Model Declarations - Creates table structures using declarative classes that map application objects to database rows.
  • Flask Integrations - Integrates the SQLAlchemy relational database toolkit with the Flask web framework for data persistence.
  • Database Connection Configurations - Provides support for defining connection URIs and engine options for primary and secondary data stores.
  • Database Query Execution - Runs selection queries to retrieve specific records or collections of data from the database.
  • Record Creations and Updates - Performs create, update, and delete operations on model objects and persists changes through a session.
  • Relational Data Modeling - Defines database table structures as Python classes to map application objects to relational database rows.
  • Database Session Lifecycles - Automatically manages database connection and transaction lifecycles within the scope of a web request.
  • Request-Bound Session Management - Binds database sessions to the active application request lifecycle to ensure automatic connection cleanup after responses.
  • Application-Context Session Scoping - Binds database sessions to the active application context for automatic connection cleanup.
  • Web Data Access Utilities - Implements specialized utilities for web data access, including query pagination and automatic 404 responses for missing records.
  • Multi-Bind Schema Management - Enables creating or dropping tables across all configured database connections or targeting a specific subset.
  • Database Table Generation - Provides utilities to automatically generate physical database table structures from defined model classes.
  • Model-Based Query Routing - Directs database queries to specific data stores by associating model classes with designated database engines.
  • Paginated Results - Splits large datasets into numbered chunks with metadata for request-parameter based navigation.
  • Custom Query Interface Methods - Supports adding custom methods to the query interface globally or on a per-model basis.
  • Query Performance Monitors - Records SQL execution time and application location for every query to identify performance bottlenecks.
  • Single Record Retrievers - Provides a utility to retrieve a single database record or automatically trigger a 404 Not Found response.
  • SQL Query Debuggers - Provides tools for monitoring executed SQL statements and recording performance metadata to identify bottlenecks.
  • Model-Engine Routing - Maps specific models or tables to different database engines to manage data across distinct stores.
  • Database Connection Pooling - Manages a pool of database connections with recycling and pre-ping checks to maintain stability across HTTP requests.
  • Connection Stability Features - Prevents connection timeouts and handles disconnects using pool recycling and pre-ping checks.
  • Database Schema Reflection - Inspects existing database structures at runtime to automatically generate application-level metadata and models.

Star-Verlauf

Star-Verlauf für pallets-eco/flask-sqlalchemyStar-Verlauf für pallets-eco/flask-sqlalchemy

KI-Suche

Entdecke weitere awesome Repositories

Beschreibe in einfachen Worten, was du brauchst — die KI bewertet tausende kuratierte Open-Source-Projekte nach Relevanz.

Start searching with AI

Open-Source-Alternativen zu Flask Sqlalchemy

Ähnliche Open-Source-Projekte, sortiert nach der Anzahl der gemeinsamen Funktionen mit Flask Sqlalchemy.
  • mitsuhiko/flask-sqlalchemyAvatar von mitsuhiko

    mitsuhiko/flask-sqlalchemy

    4,311Auf GitHub ansehen↗

    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

    Python
    Auf GitHub ansehen↗4,311
  • tortoise/tortoise-ormAvatar von tortoise

    tortoise/tortoise-orm

    5,582Auf GitHub ansehen↗

    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

    Pythonasyncasynciomysql
    Auf GitHub ansehen↗5,582
  • diesel-rs/dieselAvatar von diesel-rs

    diesel-rs/diesel

    14,021Auf GitHub ansehen↗

    This project is a type-safe database toolkit and object-relational mapper designed to enforce structural consistency between database schemas and application code. By leveraging compile-time validation, it ensures that SQL queries and data structures remain synchronized, preventing common errors before the application executes. It provides a comprehensive framework for relational data modeling, allowing developers to define table associations and map database results directly into strongly-typed language objects. The library distinguishes itself through its focus on compile-time safety and au

    Rustmysqlormpostgresql
    Auf GitHub ansehen↗14,021
  • dapperlib/dapperAvatar von DapperLib

    DapperLib/Dapper

    18,331Auf GitHub ansehen↗

    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
    Auf GitHub ansehen↗18,331
Alle 30 Alternativen zu Flask Sqlalchemy anzeigen→

Häufig gestellte Fragen

Was macht pallets-eco/flask-sqlalchemy?

Flask-SQLAlchemy ist ein Toolkit, das das relationale Datenbank-Toolkit SQLAlchemy mit dem Flask-Web-Framework integriert. Es ermöglicht relationale Datenmodellierung durch die Definition von Datenbanktabellenstrukturen als Python-Klassen und verwaltet die Persistenz und den Abruf von Datenbankdatensätzen innerhalb einer Webanwendung.

Was sind die Hauptfunktionen von pallets-eco/flask-sqlalchemy?

Die Hauptfunktionen von pallets-eco/flask-sqlalchemy sind: ORM Model Declarations, Flask Integrations, Database Connection Configurations, Database Query Execution, Record Creations and Updates, Relational Data Modeling, Database Session Lifecycles, Request-Bound Session Management.

Welche Open-Source-Alternativen gibt es zu pallets-eco/flask-sqlalchemy?

Open-Source-Alternativen zu pallets-eco/flask-sqlalchemy sind unter anderem: mitsuhiko/flask-sqlalchemy — Flask-SQLAlchemy is a relational database toolkit that integrates the SQLAlchemy object-relational mapper into web… tortoise/tortoise-orm — Tortoise ORM is an asynchronous object-relational mapper for Python that mirrors Django's model and queryset API while… diesel-rs/diesel — This project is a type-safe database toolkit and object-relational mapper designed to enforce structural consistency… dapperlib/dapper — Dapper is a lightweight object-relational mapper for .NET that functions as a high-performance data access library. It… seaql/sea-orm — Sea-ORM is an asynchronous SQL object-relational mapper and database toolkit for mapping relational tables to strongly… sqlpad/sqlpad — Sqlpad is a web-based SQL client and multi-tenant workbench used for writing, executing, and saving queries across…