awesome-repositories.com
Blog
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectAboutHow we rankPressMCP server
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
graphql-python avatar

graphql-python/graphene

0
View on GitHub↗
8,238 stars·820 forks·Python·MIT·12 viewsgraphene-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 history

Star history chart for graphql-python/grapheneStar history chart for graphql-python/graphene

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Frequently asked questions

What does graphql-python/graphene do?

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.

What are the main features of graphql-python/graphene?

The main features of graphql-python/graphene are: GraphQL APIs, GraphQL Frameworks, Server Libraries, Backend Data Access Layers, GraphQL Mutation Implementations, GraphQL Mutation Management, Class-Based Schema Mapping, Resolver-Based Fetching.

What are some open-source alternatives to graphql-python/graphene?

Open-source alternatives to graphql-python/graphene include: 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…

Open-source alternatives to Graphene

Similar open-source projects, ranked by how many features they share with Graphene.
  • strawberry-graphql/strawberrystrawberry-graphql avatar

    strawberry-graphql/strawberry

    4,674View on 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
    View on GitHub↗4,674
  • rmosolgo/graphql-rubyrmosolgo avatar

    rmosolgo/graphql-ruby

    5,448View on 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
    View on GitHub↗5,448
  • async-graphql/async-graphqlasync-graphql avatar

    async-graphql/async-graphql

    3,671View on 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
    View on GitHub↗3,671
  • graphql-python/graphene-djangographql-python avatar

    graphql-python/graphene-django

    4,390View on 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
    View on GitHub↗4,390
  • See all 30 alternatives to Graphene→