Metadata-Version: 2.3
Name: graphql-server
Version: 3.0.0b9
Summary: A library for creating GraphQL APIs
Keywords: graphql,api,rest,starlette,async,fastapi,django,flask,litestar,sanic,channels,aiohttp,chalice,webob,pyright,mypy,codeflash
Author: Syrus Akbary
Author-email: Syrus Akbary <me@syrusakbary.com>
License: MIT
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: License :: OSI Approved :: MIT License
Requires-Dist: graphql-core>=3.2.0,<3.4.0
Requires-Dist: aiohttp>=3.7.4.post0,<4 ; extra == 'aiohttp'
Requires-Dist: starlette>=0.18.0 ; extra == 'asgi'
Requires-Dist: python-multipart>=0.0.7 ; extra == 'asgi'
Requires-Dist: chalice~=1.22 ; extra == 'chalice'
Requires-Dist: channels>=3.0.5 ; extra == 'channels'
Requires-Dist: asgiref~=3.2 ; extra == 'channels'
Requires-Dist: rich>=12.0.0 ; extra == 'debug'
Requires-Dist: libcst ; extra == 'debug'
Requires-Dist: starlette>=0.18.0 ; extra == 'debug-server'
Requires-Dist: uvicorn>=0.11.6 ; extra == 'debug-server'
Requires-Dist: websockets>=15.0.1,<16 ; extra == 'debug-server'
Requires-Dist: python-multipart>=0.0.7 ; extra == 'debug-server'
Requires-Dist: typer>=0.7.0 ; extra == 'debug-server'
Requires-Dist: pygments~=2.3 ; extra == 'debug-server'
Requires-Dist: rich>=12.0.0 ; extra == 'debug-server'
Requires-Dist: libcst ; extra == 'debug-server'
Requires-Dist: django>=3.2 ; extra == 'django'
Requires-Dist: asgiref~=3.2 ; extra == 'django'
Requires-Dist: fastapi>=0.65.2 ; extra == 'fastapi'
Requires-Dist: python-multipart>=0.0.7 ; extra == 'fastapi'
Requires-Dist: flask>=1.1 ; extra == 'flask'
Requires-Dist: litestar>=2 ; python_full_version >= '3.10' and python_full_version < '4' and extra == 'litestar'
Requires-Dist: opentelemetry-api<2 ; extra == 'opentelemetry'
Requires-Dist: opentelemetry-sdk<2 ; extra == 'opentelemetry'
Requires-Dist: pyinstrument>=4.0.0 ; extra == 'pyinstrument'
Requires-Dist: quart>=0.19.3 ; extra == 'quart'
Requires-Dist: sanic>=20.12.2 ; extra == 'sanic'
Requires-Dist: webob>=1.8 ; extra == 'webob'
Requires-Python: >=3.9, <4.0
Project-URL: Changelog, https://github.com/graphql-python/graphql-server/changelog
Project-URL: homepage, https://graphql-server.org/
Project-URL: repository, https://github.com/graphql-python/graphql-server
Provides-Extra: aiohttp
Provides-Extra: asgi
Provides-Extra: chalice
Provides-Extra: channels
Provides-Extra: debug
Provides-Extra: debug-server
Provides-Extra: django
Provides-Extra: fastapi
Provides-Extra: flask
Provides-Extra: litestar
Provides-Extra: opentelemetry
Provides-Extra: pyinstrument
Provides-Extra: quart
Provides-Extra: sanic
Provides-Extra: webob
Description-Content-Type: text/markdown

<img src="https://raw.githubusercontent.com/graphql-python/graphql-server/master/docs/_static/graphql-server-logo.svg" height="128px">

[![PyPI version](https://badge.fury.io/py/graphql-server.svg)](https://badge.fury.io/py/graphql-server)
[![Coverage Status](https://codecov.io/gh/graphql-python/graphql-server/branch/master/graph/badge.svg)](https://codecov.io/gh/graphql-python/graphql-server)

GraphQL-Server is a base library that serves as a helper
for building GraphQL servers or integrations into existing web frameworks using
[GraphQL-Core](https://github.com/graphql-python/graphql-core).
* ✅ It passes all the GraphQL spec tests
* Supports 💾 `Upload`s, 🔁 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](https://github.com/graphql-python/graphql-server/blob/master/docs/aiohttp.md) |
| asgi                       | [asgi](https://github.com/graphql-python/graphql-server/blob/master/docs/asgi.md)     |
| Chalice                       | [chalice](https://github.com/graphql-python/graphql-server/blob/master/docs/chalice.md)     |
| Channels (Django)           | [channels](https://github.com/graphql-python/graphql-server/blob/master/docs/channels.md)     |
| Django                       | [django](https://github.com/graphql-python/graphql-server/blob/master/docs/django.md)     |
| FastAPI                       | [fastapi](https://github.com/graphql-python/graphql-server/blob/master/docs/fastapi.md)     |
| Flask                       | [flask](https://github.com/graphql-python/graphql-server/blob/master/docs/flask.md)     |
| Litestar                       | [litestar](https://github.com/graphql-python/graphql-server/blob/master/docs/litestar.md)     |
| Quart                       | [quart](https://github.com/graphql-python/graphql-server/blob/master/docs/quart.md)     |
| Sanic                       | [sanic](https://github.com/graphql-python/graphql-server/blob/master/docs/sanic.md)     |
| WebOb                       | [webob](https://github.com/graphql-python/graphql-server/blob/master/docs/webob.md)     |

## 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](https://github.com/graphql-python/graphql-server/blob/master/CONTRIBUTING.md)

## Licensing

The code in this project is licensed under MIT license. See [LICENSE](./LICENSE)
for more information.

![Recent Activity](https://images.repography.com/0/graphql-python/graphql-server/recent-activity/d751713988987e9331980363e24189ce.svg)
