awesome-repositories.com
المدونة
awesome-repositories.com

اكتشف أفضل مستودعات المصادر المفتوحة باستخدام بحث مدعوم بالذكاء الاصطناعي.

استكشفعمليات بحث منسقةبدائل مفتوحة المصدربرمجيات ذاتية الاستضافةالمدونةخريطة الموقع
المشروعحولكيفية ترتيب النتائجالصحافةخادم MCP
قانونيالخصوصيةالشروط
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
pallets-eco avatar

pallets-eco/flask-sqlalchemy

0
View on GitHub↗
4,314 نجوم·908 تفرعات·Python·BSD-3-Clause·3 مشاهداتflask-sqlalchemy.readthedocs.io↗

Flask Sqlalchemy

Flask-SQLAlchemy هي مجموعة أدوات تدمج مجموعة أدوات قاعدة البيانات العلائقية SQLAlchemy مع إطار عمل الويب Flask. تتيح نمذجة البيانات العلائقية من خلال تعريف هياكل جداول قاعدة البيانات كفئات Python وتدير استمرارية واسترجاع سجلات قاعدة البيانات داخل تطبيق ويب.

يربط المشروع دورات حياة جلسة قاعدة البيانات بسياق طلب التطبيق النشط لضمان تنظيف الاتصال تلقائياً. يوفر أدوات مساعدة متخصصة للوصول إلى بيانات الويب، بما في ذلك ترقيم نتائج الاستعلام وآلية لتشغيل استجابات 404 Not Found تلقائياً عند فقدان سجل قاعدة بيانات مطلوب.

يغطي الامتداد نطاقاً واسعاً من قدرات إدارة قاعدة البيانات، بما في ذلك تعيين النموذج التصريحي، وانعكاس المخطط (schema reflection)، وتوليد هياكل الجداول الفيزيائية. يدعم إدارة الاتصال المتقدمة من خلال توجيه الاستعلام متعدد الربط (multi-bind) ويوفر أدوات مراقبة لتدقيق أداء استعلام SQL وتوقيت التنفيذ.

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.

سجل النجوم

مخطط تاريخ النجوم لـ pallets-eco/flask-sqlalchemyمخطط تاريخ النجوم لـ pallets-eco/flask-sqlalchemy

بحث بالذكاء الاصطناعي

استكشف المزيد من المستودعات الرائعة

صف ما تحتاجه بلغة بسيطة — وسيقوم الذكاء الاصطناعي بترتيب آلاف المشاريع مفتوحة المصدر المنسقة حسب الصلة.

Start searching with AI

الأسئلة الشائعة

ما هي وظيفة pallets-eco/flask-sqlalchemy؟

Flask-SQLAlchemy هي مجموعة أدوات تدمج مجموعة أدوات قاعدة البيانات العلائقية SQLAlchemy مع إطار عمل الويب Flask. تتيح نمذجة البيانات العلائقية من خلال تعريف هياكل جداول قاعدة البيانات كفئات Python وتدير استمرارية واسترجاع سجلات قاعدة البيانات داخل تطبيق ويب.

ما هي الميزات الرئيسية لـ pallets-eco/flask-sqlalchemy؟

الميزات الرئيسية لـ pallets-eco/flask-sqlalchemy هي: 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.

ما هي البدائل مفتوحة المصدر لـ pallets-eco/flask-sqlalchemy؟

تشمل البدائل مفتوحة المصدر لـ pallets-eco/flask-sqlalchemy: 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…

بدائل مفتوحة المصدر لـ Flask Sqlalchemy

مشاريع مفتوحة المصدر مشابهة، مرتبة حسب عدد الميزات المشتركة مع Flask Sqlalchemy.
  • mitsuhiko/flask-sqlalchemyالصورة الرمزية لـ mitsuhiko

    mitsuhiko/flask-sqlalchemy

    4,311عرض على GitHub↗

    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
    عرض على GitHub↗4,311
  • tortoise/tortoise-ormالصورة الرمزية لـ tortoise

    tortoise/tortoise-orm

    5,582عرض على GitHub↗

    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
    عرض على GitHub↗5,582
  • diesel-rs/dieselالصورة الرمزية لـ diesel-rs

    diesel-rs/diesel

    14,021عرض على GitHub↗

    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
    عرض على GitHub↗14,021
  • dapperlib/dapperالصورة الرمزية لـ DapperLib

    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
عرض جميع البدائل الـ 30 لـ Flask Sqlalchemy→