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

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

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

graphql-python/graphene-django

0
View on GitHub↗
4,390 نجوم·766 تفرعات·Python·MIT·7 مشاهداتdocs.graphene-python.org/projects/django/en/latest↗

Graphene Django

Graphene-Django هو إطار عمل لتكامل GraphQL ومحول مخطط يُستخدم لبناء واجهات برمجة تطبيقات مكتوبة (typed) لتطبيقات Django. يعمل كطبقة API لقاعدة البيانات تحول حقول وعلاقات نموذج Django إلى مخطط رسومي، مما يسمح للعملاء بطلب بيانات محددة في استدعاء واحد.

ينفذ المشروع مواصفات Relay، ويوفر أدوات لتحديد الكائنات العالمية والترقيم القائم على الاتصال الموحد لإدارة مجموعات البيانات الكبيرة. يتميز بربط نماذج قاعدة البيانات، والنماذج (forms)، والمُسلسلات (serializers) مباشرة بأنواع كائنات GraphQL والطفرات (mutations).

يغطي إطار العمل مجموعة واسعة من الإمكانيات، بما في ذلك التحكم في الوصول على مستوى الحقل، واعتراض الطلبات القائم على البرمجيات الوسيطة، والتعامل مع العمليات في الوقت الفعلي عبر توجيه WebSocket. كما يتضمن أدوات لفحص أداء SQL وتغليف معاملات الطفرة لضمان سلامة البيانات أثناء التحديثات.

يتم توفير عميل اختبار متخصص للتحقق من استجابات API وتنفيذ الاستعلامات مقابل نقطة النهاية.

Features

  • GraphQL API Implementations - Implements a full server-side GraphQL interface to expose Django data models and logic via a typed schema.
  • GraphQL APIs - Provides a framework for exposing Django data models through automatically generated GraphQL interfaces.
  • GraphQL Schema Definitions - Implements the core process of mapping internal Django data models to a typed GraphQL schema.
  • API Result Filters - Provides capabilities to restrict API response sets using model field filters and custom lookup logic.
  • Foreign Key Constraints - Maps foreign keys between database entities to enable nested data retrieval through a graph schema.
  • GraphQL Data Mappers - Maps relational database tables and ORM models to GraphQL types with optimized query resolution.
  • GraphQL Integrations - Bridges Django database schemas with GraphQL APIs by mapping models to a typed graph schema.
  • GraphQL Mutation Implementations - Implements server-side logic for creating and updating database records via GraphQL mutations.
  • Object Relational Mappings - Provides frameworks for defining and managing relationships between Django models and GraphQL object types.
  • Queryset Filtering Backends - Controls database record visibility and ownership at the GraphQL type level using custom queryset filtering logic.
  • Related Object Retrievers - Traverses foreign key and many-to-many relationships to retrieve nested linked data in a single GraphQL request.
  • Result Ordering and Limiting - Allows clients to specify model fields for sorting the sequence of returned database records.
  • Custom Object Types - Defines plain object types to decouple the external data structure from the internal database schema.
  • Data Set Pagination - Implements standardized patterns for page-based navigation and result set limits in GraphQL queries.
  • Authentication-Based Visibility Controls - Limits returned objects based on user authentication, visibility rules, and custom business logic.
  • Resolver-to-Method Mapping - Maps GraphQL query and mutation objects to specific data fetching methods to define the API structure.
  • Django Model Mappings - Automatically transforms database models and relationships into a graph schema to expose backend data via an API.
  • GraphQL HTTP Endpoints - Exposes the GraphQL schema via a single HTTP endpoint and provides an interactive browser interface for testing.
  • Model List Exposure - Returns collections of database objects as GraphQL lists based on the model's default data set.
  • Model-to-Type Mapping - Transforms Django database model fields into GraphQL object types to expose data structures via a graph schema.
  • Model-to-Type Mappings - Automatically transforms Django database model fields into GraphQL object types to expose data structures.
  • Relay Specification Implementations - Ensures compliance with Relay standards for connections, edges, and global object identification.
  • Relay Specifications - Implements standardized cursor-based pagination and global unique identifiers following the Relay specification.
  • Database APIs - Acts as a programmatic interface that exposes database records and relationships as a queryable graph.
  • Pagination Connection Limits - Enforces maximum limits on the number of objects requested in a Relay connection to ensure efficient pagination.
  • Application-to-Database Enum Mapping - Transforms database field options into typed GraphQL enums to ensure valid input selection.
  • Choice Field Enums - Automatically generates typed GraphQL enums from Django model choice fields using standard naming patterns.
  • GraphQL Schema Exports - Enables printing the GraphQL schema as SDL or JSON for use with external tools and plugins.
  • Transactional Data Mutations - Ensures that a set of mutation fields within a single request are executed within a transaction for atomic success or rollback.
  • GraphQL Middleware Interceptors - Runs a sequence of middleware classes for every incoming query to handle authentication and other cross-cutting concerns.
  • API Access Restrictions - Controls which users can query or mutate specific data fields using integrated authorization logic.
  • Field-Level Access Controls - Hides or exposes specific model fields in the API using inclusion or exclusion lists based on permissions.
  • Permission-Based Access Control - Restricts access to GraphQL queries and mutations based on user roles and specific permissions.
  • Form-to-Mutation Generation - Derives mutation input arguments and validation logic directly from existing Django model forms.
  • GraphQL Testing - Verifies response data and error states by executing queries against the API using a specialized test client.
  • API Response Verifications - Simulates network requests using mock data to verify that GraphQL queries and mutations return expected results.
  • Form-to-Mutation Mappings - Generates GraphQL mutation input arguments and validation logic directly from existing Django forms.
  • Relay Mutation Generation - Generates mutation fields and payload objects that comply with the Relay specification for client-side tracking.
  • Request Interception Middlewares - Provides a middleware pipeline to intercept incoming GraphQL queries for authentication and cross-cutting concerns.
  • Serializer-to-Mutation Mappings - Utilizes existing Django REST framework serializers to handle input validation and verification for GraphQL mutations.
  • API Development - GraphQL integration for Django models.
  • Python GraphQL Tools - Django integration for the Graphene library.

سجل النجوم

مخطط تاريخ النجوم لـ graphql-python/graphene-djangoمخطط تاريخ النجوم لـ graphql-python/graphene-django

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

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

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

Start searching with AI

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

ما هي وظيفة graphql-python/graphene-django؟

Graphene-Django هو إطار عمل لتكامل GraphQL ومحول مخطط يُستخدم لبناء واجهات برمجة تطبيقات مكتوبة (typed) لتطبيقات Django. يعمل كطبقة API لقاعدة البيانات تحول حقول وعلاقات نموذج Django إلى مخطط رسومي، مما يسمح للعملاء بطلب بيانات محددة في استدعاء واحد.

ما هي الميزات الرئيسية لـ graphql-python/graphene-django؟

الميزات الرئيسية لـ graphql-python/graphene-django هي: GraphQL API Implementations, GraphQL APIs, GraphQL Schema Definitions, API Result Filters, Foreign Key Constraints, GraphQL Data Mappers, GraphQL Integrations, GraphQL Mutation Implementations.

ما هي البدائل مفتوحة المصدر لـ graphql-python/graphene-django؟

تشمل البدائل مفتوحة المصدر لـ graphql-python/graphene-django: rmosolgo/graphql-ruby — GraphQL-Ruby is a Ruby library for building GraphQL APIs with a strongly typed schema and a dedicated query execution… graphql-python/graphene — Graphene is a library and framework for building type-safe GraphQL APIs and schemas using Python objects and… strawberry-graphql/strawberry — Strawberry is a type-safe GraphQL library for Python that enables the design of schemas using Python type annotations… async-graphql/async-graphql — async-graphql is a type-safe framework for building specification-compliant GraphQL servers in Rust. It uses… graphql-dotnet/graphql-dotnet — GraphQL.NET is a server-side framework for building and executing GraphQL APIs within C# applications. It provides a… hayes/pothos — Pothos is a code-first GraphQL schema builder and framework designed for type-safe development. It allows developers…

بدائل مفتوحة المصدر لـ Graphene Django

مشاريع مفتوحة المصدر مشابهة، مرتبة حسب عدد الميزات المشتركة مع Graphene Django.
  • rmosolgo/graphql-rubyالصورة الرمزية لـ rmosolgo

    rmosolgo/graphql-ruby

    5,448عرض على GitHub↗

    GraphQL-Ruby is a Ruby library for building GraphQL APIs with a strongly typed schema and a dedicated query execution engine. It provides a comprehensive framework for mapping application objects to a formal type system, enabling structured data fetching through defined resolvers. The project distinguishes itself with advanced performance and delivery mechanisms, including a data loader for batching and caching to prevent N+1 query patterns. It supports high-performance data delivery through incremental response streaming, deferred query responses, and parallel data fetching using fibers. Add

    Ruby
    عرض على GitHub↗5,448
  • graphql-python/grapheneالصورة الرمزية لـ graphql-python

    graphql-python/graphene

    8,238عرض على GitHub↗

    Graphene is a library and framework for building type-safe GraphQL APIs and schemas using Python objects and resolvers. It provides a system for mapping internal data models to typed GraphQL schemas, enabling the creation of servers that process queries and execute resolvers to return structured data. The project includes a full implementation of the Relay specification, providing standardized patterns for global object identification and cursor-based pagination. It utilizes a class-based approach to schema definition and supports interface-based type inheritance. The framework covers a broa

    Python
    عرض على GitHub↗8,238
  • strawberry-graphql/strawberryالصورة الرمزية لـ strawberry-graphql

    strawberry-graphql/strawberry

    4,674عرض على GitHub↗

    Strawberry is a type-safe GraphQL library for Python that enables the design of schemas using Python type annotations and dataclasses. It functions as an asynchronous GraphQL server and execution engine, providing a bridge to expose schemas across ASGI-compliant web frameworks such as FastAPI, Django, Flask, and Litestar. The project implements GraphQL Federation, allowing for the creation of distributed schemas and entities that merge into a unified supergraph across multiple services. It also includes a dedicated toolkit for the Relay specification, supporting global object identification a

    Pythonasgiasynciodjango
    عرض على GitHub↗4,674
  • async-graphql/async-graphqlالصورة الرمزية لـ async-graphql

    async-graphql/async-graphql

    3,671عرض على GitHub↗

    async-graphql is a type-safe framework for building specification-compliant GraphQL servers in Rust. It uses procedural macros to automatically generate schemas from native language structures, ensuring consistency between the data model and the API specification. The project provides native support for Apollo Federation v2, allowing entities and fields to be shared and resolved across multiple distributed subgraphs. It also implements real-time data streaming via WebSocket subscriptions and asynchronous event streams. The framework includes a wide array of capabilities for schema design, su

    Rust
    عرض على GitHub↗3,671
عرض جميع البدائل الـ 30 لـ Graphene Django→