Skip to main content

PyPI version Coverage Status

GraphQL-Server is a base library that serves as a helper for building GraphQL servers or integrations into existing web frameworks using GraphQL-Core.

  • ✅ It passes all the GraphQL spec tests
  • Supports 💾 Uploads, 🔁 Sync, 🔀 Async views and 🔄 Subscriptions through WebSockets.
  • 🚀 It integrates seamlessly with all HTTP/Websocket Python servers

Integrations built with GraphQL-Server

Server integration Docs
aiohttp aiohttp
asgi asgi
Chalice chalice
Channels (Django) channels
Django django
FastAPI fastapi
Flask flask
Litestar litestar
Quart quart
Sanic sanic
WebOb webob

Documentation

The graphql_server package provides these public helper functions:

  • execute
  • execute_sync
  • subscribe

All functions in the package are annotated with type hints and docstrings, and you can build HTML documentation from these using bin/build_docs.

You can also use one of the existing integrations listed above as blueprint to build your own integration or GraphQL server implementations.

Please let us know when you have built something new, so we can list it here.

Contributing

See CONTRIBUTING.md

Licensing

The code in this project is licensed under MIT license. See LICENSE for more information.

Recent Activity

Release files for graphql-server 3.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for graphql-server 3.0.0
File Size Uploaded
graphql_server-3.0.0.tar.gz 54.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for graphql-server 3.0.0
File Interpreter ABI Platform
graphql_server-3.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 143.7 kB

Release files / graphql_server-3.0.0.tar.gz

Download URL graphql_server-3.0.0.tar.gz
Size 54.4 kB
Tags Source
SHA-256 checksum
How to use checksums
a21156ae32448ec46989fcc6f65f4eb966a2f23c15936029b5c56b487b786039
BLAKE2b-256 checksum
How to use checksums
d1c1d33490424627c99a760059012b3f7524292f799db432757370a6a8071ce0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.13

Release files / graphql_server-3.0.0-py3-none-any.whl

Download URL graphql_server-3.0.0-py3-none-any.whl
Size 89.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
98f2259003c404f972479df49b5e019497f44c7ba2f447170a1fb981b4f271d2
BLAKE2b-256 checksum
How to use checksums
ecc839938512c54529107f194aa8fb671435470a23fd35f5833ec8935c951373
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.13
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page