|
2 | 2 | =========================================================================================================
|
3 | 3 |
|
4 | 4 | Graphene is a Python library for building GraphQL schemas/types fast and
|
5 |
| -easily. \* **Easy to use:** It maps the models/fields to internal |
6 |
| -GraphQL objects without effort. \* **Relay:** Graphene has builtin |
7 |
| -support for Relay \* **Django:** Automatic *Django model* mapping to |
8 |
| -Graphene Types. *See an `example |
9 |
| -Django <http://github.com/graphql-python/swapi-graphene>`__ |
| 5 | +easily. \* **Easy to use:** Graphene helps you use GraphQL in Python |
| 6 | +without effort. \* **Relay:** Graphene has builtin support for Relay \* |
| 7 | +**Django:** Automatic *Django model* mapping to Graphene Types. *See an |
| 8 | +`example Django <http://github.com/graphql-python/swapi-graphene>`__ |
10 | 9 | implementation*
|
11 | 10 |
|
| 11 | +*But, what is supported in this Python version?* **Everything**: |
| 12 | +Interfaces, ObjectTypes, Mutations and Relay (Nodes, Connections and |
| 13 | +Mutations). |
| 14 | + |
12 | 15 | Installation
|
13 | 16 | ------------
|
14 | 17 |
|
@@ -53,10 +56,13 @@ Then Querying ``graphene.Schema`` is as simple as:
|
53 | 56 | result = schema.execute(query)
|
54 | 57 |
|
55 | 58 | If you want to learn even more, you can also check the following
|
56 |
| -examples: |
| 59 | +`examples <examples/>`__: |
57 | 60 |
|
58 |
| -- Relay Schema: `Starwars Relay example <examples/starwars_relay>`__ |
59 |
| -- Django: `Starwars Django example <examples/starwars_django>`__ |
| 61 | +- **Basic Schema**: `Starwars example <examples/starwars>`__ |
| 62 | +- **Relay Schema**: `Starwars Relay |
| 63 | + example <examples/starwars_relay>`__ |
| 64 | +- **Django model mapping**: `Starwars Django |
| 65 | + example <examples/starwars_django>`__ |
60 | 66 |
|
61 | 67 | Contributing
|
62 | 68 | ------------
|
|
0 commit comments