🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

graphql-server

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graphql-server

GraphQL Server tools for powering your server

3.0.0b7
PyPI
Maintainers
2

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.

Integrations built with GraphQL-Server

Server integrationDocs
Flaskflask
Sanicsanic
AIOHTTPaiohttp
WebOb (Pyramid, TurboGears)webob

Other integrations built with GraphQL-Server

Server integrationPackage
WSGIwsgi-graphql
Responderresponder.ext.graphql

Other integrations using GraphQL-Core or Graphene

Server integrationPackage
Djangographene-django

Documentation

The graphql_server package provides these public helper functions:

  • run_http_query
  • encode_execution_results
  • load_json_body
  • json_encode
  • json_encode_pretty

NOTE: the json_encode_pretty is kept as backward compatibility change as it uses json_encode with pretty parameter set to True.

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

Keywords

api graphql protocol rest

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts