A library setting up a GraphQL server in a variety of frameworks
Project description
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:
executeexecute_syncsubscribe
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a21156ae32448ec46989fcc6f65f4eb966a2f23c15936029b5c56b487b786039
|
|
| MD5 |
7b79278398cc5af458ace7bee16f3340
|
|
| BLAKE2b-256 |
d1c1d33490424627c99a760059012b3f7524292f799db432757370a6a8071ce0
|
File details
Details for the file graphql_server-3.0.0-py3-none-any.whl.
File metadata
- Download URL: graphql_server-3.0.0-py3-none-any.whl
- Upload date:
- Size: 89.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
98f2259003c404f972479df49b5e019497f44c7ba2f447170a1fb981b4f271d2
|
|
| MD5 |
2d3e656c8077dd97e5909436a691a9e3
|
|
| BLAKE2b-256 |
ecc839938512c54529107f194aa8fb671435470a23fd35f5833ec8935c951373
|