Skip to main content

A library setting up a GraphQL server in a variety of frameworks

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

graphql_server-3.0.0.tar.gz (54.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

graphql_server-3.0.0-py3-none-any.whl (89.3 kB view details)

Uploaded Python 3

File details

Details for the file graphql_server-3.0.0.tar.gz.

File metadata

  • Download URL: graphql_server-3.0.0.tar.gz
  • Upload date:
  • Size: 54.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.13

File hashes

Hashes for graphql_server-3.0.0.tar.gz
Algorithm Hash digest
SHA256 a21156ae32448ec46989fcc6f65f4eb966a2f23c15936029b5c56b487b786039
MD5 7b79278398cc5af458ace7bee16f3340
BLAKE2b-256 d1c1d33490424627c99a760059012b3f7524292f799db432757370a6a8071ce0

See more details on using hashes here.

File details

Details for the file graphql_server-3.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for graphql_server-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 98f2259003c404f972479df49b5e019497f44c7ba2f447170a1fb981b4f271d2
MD5 2d3e656c8077dd97e5909436a691a9e3
BLAKE2b-256 ecc839938512c54529107f194aa8fb671435470a23fd35f5833ec8935c951373

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page