Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

graphql-python/graphql-server

Repository files navigation

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

About

This is the core package for using GraphQL in a custom server easily

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors 21

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /