21 个仓库
Frameworks and utilities for GraphQL development in Python.
Explore 21 awesome GitHub repositories matching part of an awesome list · Python GraphQL Tools. Refine with filters or upvote what's useful.
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
Provides the backend infrastructure to process GraphQL queries and execute Python resolvers.
Strawberry 是一个用于 Python 的类型安全 GraphQL 库,支持使用 Python 类型注解和数据类(dataclasses)来设计 Schema。它作为一个异步 GraphQL 服务器和执行引擎,提供了将 Schema 暴露给 ASGI 兼容 Web 框架(如 FastAPI、Django、Flask 和 Litestar)的桥梁。 该项目实现了 GraphQL Federation,允许创建分布式 Schema 和实体,并将它们合并为跨多个服务的统一超图(supergraph)。它还包含一个专用的 Relay 规范工具包,支持全局对象标识和基于连接的分页。 该框架涵盖了广泛的能力,包括通过 WebSocket 和服务器发送事件(SSE)进行实时数据流传输、Pydantic 模型映射以及自动代码生成。它为安全性和可观测性提供了集成工具,例如查询复杂度限制、基于角色的访问控制(RBAC)和执行指标追踪。 开发者可以使用内置的开发服务器和交互式 Schema 检查界面进行原型设计。
Modern GraphQL library using Python type hints.
Graphene-Django 是一个 GraphQL 集成框架和模式映射器,用于为 Django 应用程序构建类型化 API。它作为一个数据库 API 层,将 Django 模型字段和关系转换为图模式,允许客户端在单次调用中请求特定数据。 该项目实现了 Relay 规范,提供用于全局对象标识和标准化基于连接的分页的工具,以管理大型数据集。它通过将数据库模型、表单和序列化器直接映射到 GraphQL 对象类型和变更(Mutations)中而脱颖而出。 该框架涵盖了广泛的能力,包括字段级访问控制、基于中间件的请求拦截以及通过 WebSocket 路由处理实时操作。它还包括用于 SQL 性能检查和变更事务包装的实用程序,以确保更新期间的数据完整性。 提供了一个专门的测试客户端来验证 API 响应并针对端点执行查询。
Django integration for the Graphene library.
Schema-first library for asynchronous GraphQL servers.
Adds GraphQL support to your Flask application.
Flask framework integration for GraphQL.
GraphQL Engine built with Python 3.6+ / asyncio
Schema-first GraphQL implementation for Python 3.6+.
Simple GraphQL Client
Simple GraphQL client for handling API responses.
A Python 3 port of the GraphQL.js reference implementation of GraphQL.
Core GraphQL implementation based on the reference specification.
Django registration and authentication with GraphQL.
Django registration and authentication for GraphQL.
GraphQL Starwars API using Graphene and Django
Example GraphQL schema and server using Graphene.
Simple GraphQL client for Python 2.7+
Simple GraphQL client for Python.
A library to help construct a graphql-py server supporting react-relay
Relay support for Python GraphQL servers.
GraphQL Support for Google AppEngine DEPRECATED - Looking for maintainers
Google AppEngine integration for Graphene.
Turms is a pure python implementation of the awesome graphql-codegen library, following a simliar extensible design.
Pythonic GraphQL code generator using Pydantic.
(UNMAINTAINED. FEEL FREE TO FORK) 🐍A Pythonic way to provide JWT authentication for Flask-GraphQL
Authentication library for Flask GraphQL APIs.
tartiflette-aiohttp is a wrapper of aiohttp which includes the Tartiflette GraphQL Engine, do not hesitate to take a look of the Tartiflette project.
Aiohttp wrapper for Tartiflette GraphQL APIs.
GraphQL parser for Python
GraphQL query parser for Python.
DEPRECATED | Use graphene-django package Integrate GraphiQL easily into your Django project
GraphiQL integration for Django projects.
rath is an apollo-like graphql client that supports links, multipart uploads, websocket subscriptions with sync and async interface
Apollo-like GraphQL client with async support.
A GraphQL parser for python
Python wrapper for the C++ GraphQL parser.