awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
graphql-python avatar

graphql-python/graphene

0
View on GitHub↗
8,238 星标·820 分支·Python·MIT·11 次浏览graphene-python.org↗

Graphene

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 broad range of API development capabilities, including the management of data mutations, custom scalar mapping, and the integration of multiple backend data sources into a unified data layer.

Features

  • GraphQL APIs - Provides a full framework for building type-safe GraphQL APIs and schemas using Python.
  • GraphQL Frameworks - Acts as a primary framework for building type-safe GraphQL APIs and schemas using Python.
  • Server Libraries - Provides the backend infrastructure to process GraphQL queries and execute Python resolvers.
  • Backend Data Access Layers - Connects Python-based data models and backend databases to a GraphQL API layer.
  • GraphQL Mutation Implementations - Provides a mechanism to define and execute mutations that modify server-side data.
  • GraphQL Mutation Management - Provides a standardized interface for implementing server-side data mutations and returning updated results.
  • Class-Based Schema Mapping - Uses Python classes to define the structure of GraphQL object types and fields.
  • Resolver-Based Fetching - Uses resolver functions to map schema fields to data retrieval logic from various sources.
  • Field Resolvers - Implements a resolver-based system to fetch specific values for API fields from root objects.
  • Query Execution Engines - Processes GraphQL queries by validating them against the schema before execution.
  • GraphQL Execution Engines - Includes an execution engine that resolves GraphQL query strings against a typed schema.
  • GraphQL Schema Construction - Offers a programmatic way to define the types, queries, and mutations that constitute a GraphQL schema.
  • GraphQL Schema Definitions - Provides a class-based system for mapping internal Python data models to typed GraphQL schemas.
  • GraphQL Schema Generation - Implements a system for defining structured GraphQL schemas and reusable types using Python objects.
  • Custom Scalar Marshaling - Maps internal Python types to standardized GraphQL scalars using conversion functions.
  • Custom Scalars - Supports the definition of custom scalar types to enforce specific data formats like UUIDs.
  • Interface-Based Type Inheritance - Supports interface-based inheritance to maintain consistent field sets across different object types.
  • Cursor Pagination - Implements the Relay specification for cursor-based pagination to handle large datasets.
  • Global Object Identifiers - Implements the Relay global node fetching pattern using unique identifiers for individual objects.
  • GraphQL Input Type Definitions - Provides a system for defining complex input objects used as arguments for queries and mutations.
  • GraphQL Interface Type Definitions - Implements GraphQL interfaces that mandate specific fields across multiple object types.
  • Relay Specification Implementations - Provides a full implementation of the Relay specification for standardized pagination and identification.
  • Relay Specifications - Implements the full Relay specification for global object identification and cursor-based pagination.
  • GraphQL - GraphQL 框架。
  • Python GraphQL Tools - Pythonic library for building GraphQL schemas and types.
  • Web Frameworks - GraphQL framework for Python.

Star 历史

graphql-python/graphene 的 Star 历史图表graphql-python/graphene 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

Graphene 的开源替代方案

相似的开源项目,按与 Graphene 的功能重合度排序。
  • strawberry-graphql/strawberrystrawberry-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
  • rmosolgo/graphql-rubyrmosolgo 的头像

    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
  • async-graphql/async-graphqlasync-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
  • graphql-python/graphene-djangographql-python 的头像

    graphql-python/graphene-django

    4,390在 GitHub 上查看↗

    Graphene-Django is a GraphQL integration framework and schema mapper used to build typed APIs for Django applications. It functions as a database API layer that transforms Django model fields and relationships into a graph schema, allowing clients to request specific data in a single call. The project implements the Relay specification, providing tools for global object identification and standardized connection-based pagination to manage large datasets. It distinguishes itself by mapping database models, forms, and serializers directly into GraphQL object types and mutations. The framework

    Python
    在 GitHub 上查看↗4,390
查看 Graphene 的所有 30 个替代方案→

常见问题解答

graphql-python/graphene 是做什么的?

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.

graphql-python/graphene 的主要功能有哪些?

graphql-python/graphene 的主要功能包括:GraphQL APIs, GraphQL Frameworks, Server Libraries, Backend Data Access Layers, GraphQL Mutation Implementations, GraphQL Mutation Management, Class-Based Schema Mapping, Resolver-Based Fetching。

graphql-python/graphene 有哪些开源替代品?

graphql-python/graphene 的开源替代品包括: strawberry-graphql/strawberry — Strawberry is a type-safe GraphQL library for Python that enables the design of schemas using Python type annotations… rmosolgo/graphql-ruby — GraphQL-Ruby is a Ruby library for building GraphQL APIs with a strongly typed schema and a dedicated query execution… async-graphql/async-graphql — async-graphql is a type-safe framework for building specification-compliant GraphQL servers in Rust. It uses… graphql-python/graphene-django — Graphene-Django is a GraphQL integration framework and schema mapper used to build typed APIs for Django applications.… graphql-go/graphql — This project is a GraphQL implementation for Go, providing a complete suite for building GraphQL servers. It includes… michallytek/type-graphql — Type-graphql is a toolkit and framework for creating type-safe GraphQL APIs. It functions as a schema generator and…