1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
3 NAMEBASE= python-graphql-core
7 SDESC[py310]= GraphQL implementation (3.10)
8 SDESC[v11]= GraphQL implementation (3.11)
9 HOMEPAGE= https://github.com/graphql-python/graphql-core
10 CONTACT= Python_Automaton[python@ironwolf.systems]
13 SITES[main]= PYPIWHL/f8/39/e5143e7ec70939d2076c1165ae9d4a3815597019c4d797b7f959cf778600
14 DISTFILE[1]= graphql_core-3.2.3-py3-none-any.whl:main
19 OPTIONS_AVAILABLE= PY310 PY311
20 OPTIONS_STANDARD= none
21 VOPTS[py310]= PY310=ON PY311=OFF
22 VOPTS[v11]= PY310=OFF PY311=ON
24 DISTNAME= graphql_core-3.2.3.dist-info
28 [PY310].USES_ON= python:py310,wheel
30 [PY311].USES_ON= python:v11,wheel
32 [FILE:3072:descriptions/desc.single]
35 GraphQL-core 3 is a Python 3.6+ port of [GraphQL.js],
36 the JavaScript reference implementation for [GraphQL],
37 a query language for APIs created by Facebook.
40 [Documentation Status]
45 The current version 3.2.3 of GraphQL-core is up-to-date with GraphQL.js
48 An extensive test suite with over 2300 unit tests and 100% coverage
50 replication of the complete test suite of GraphQL.js, making sure this port
52 reliable and compatible with GraphQL.js.
54 Note that for various reasons, GraphQL-core does not use SemVer like
55 GraphQL.js. Increases in the major version of GraphQL.js are reflected in
56 the minor version of GraphQL-core instead. This means there can be breaking
57 changes in the API when the minor version changes, and only patch releases
58 are fully backward compatible. Therefore, we recommend something like `=~
59 3.2.0` as version specifier when including GraphQL-core as a dependency.
63 A more detailed documentation for GraphQL-core 3 can be found at
64 [graphql-core-3.readthedocs.io].
66 The documentation for GraphQL.js can be found at [graphql.org/graphql-js/].
68 The documentation for GraphQL itself can be found at [graphql.org].
70 There will be also [blog articles] with more usage
75 A general overview of GraphQL is available in the
77 [Specification for GraphQL]. That overview
78 describes a simple set of GraphQL examples that exist as [tests] in this
79 repository. A good way to get started with this repository is to walk
81 README and the corresponding tests in parallel.
85 GraphQL-core 3 can be installed from PyPI using the built-in pip command:
87 python -m pip install graphql-core
89 You can also use [poetry] for installation in a
96 GraphQL-core provides two important capabilities: building a type schema
98 serving queries against that type schema.
100 First, build a GraphQL type schema which maps to your codebase:
103 from graphql import (
104 GraphQLSchema, GraphQLObjectType, GraphQLField, GraphQLString)
106 schema = GraphQLSchema(
107 query=GraphQLObjectType(
108 name='RootQueryType',
110 'hello': GraphQLField(
112 resolve=lambda obj, info: 'world')
116 This defines a simple schema, with one type and one field, that resolves to
118 value. The `resolve` function can return a value, a co-routine object or a
120 these. It takes two positional arguments; the first one provides the root
122 resolved parent field, the second one provides a `GraphQLResolveInfo`
124 contains information about the execution state of the query, including a
126 attribute holding per-request state such as authentication information or
128 session. Any GraphQL arguments are passed to the `resolve` functions as
132 Note that the signature of the resolver functions is a bit different in
136 5766780452bd5ec8ba133f8bf287dc92713e3868ddd83aee4faab9fc3e303dc3 202921 graphql_core-3.2.3-py3-none-any.whl