mirror of
https://github.com/graphql-python/graphene.git
synced 2024-11-26 03:23:55 +03:00
Updated READMES
This commit is contained in:
parent
6fe2750c6b
commit
a682ef8bc3
12
README.md
12
README.md
|
@ -2,11 +2,14 @@
|
|||
|
||||
|
||||
Graphene is a Python library for building GraphQL schemas/types fast and easily.
|
||||
* **Easy to use:** It maps the models/fields to internal GraphQL objects without effort.
|
||||
* **Easy to use:** Graphene helps you use GraphQL in Python without effort.
|
||||
* **Relay:** Graphene has builtin support for Relay
|
||||
* **Django:** Automatic *Django model* mapping to Graphene Types. *See an [example Django](http://github.com/graphql-python/swapi-graphene) implementation*
|
||||
|
||||
|
||||
*But, what is supported in this Python version?* **Everything**: Interfaces, ObjectTypes, Mutations and Relay (Nodes, Connections and Mutations).
|
||||
|
||||
|
||||
## Installation
|
||||
|
||||
For instaling graphene, just run this command in your shell
|
||||
|
@ -49,10 +52,11 @@ query = '''
|
|||
result = schema.execute(query)
|
||||
```
|
||||
|
||||
If you want to learn even more, you can also check the following examples:
|
||||
If you want to learn even more, you can also check the following [examples](examples/):
|
||||
|
||||
* Relay Schema: [Starwars Relay example](examples/starwars_relay)
|
||||
* Django: [Starwars Django example](examples/starwars_django)
|
||||
* **Basic Schema**: [Starwars example](examples/starwars)
|
||||
* **Relay Schema**: [Starwars Relay example](examples/starwars_relay)
|
||||
* **Django model mapping**: [Starwars Django example](examples/starwars_django)
|
||||
|
||||
|
||||
## Contributing
|
||||
|
|
22
README.rst
22
README.rst
|
@ -2,13 +2,16 @@
|
|||
=========================================================================================================
|
||||
|
||||
Graphene is a Python library for building GraphQL schemas/types fast and
|
||||
easily. \* **Easy to use:** It maps the models/fields to internal
|
||||
GraphQL objects without effort. \* **Relay:** Graphene has builtin
|
||||
support for Relay \* **Django:** Automatic *Django model* mapping to
|
||||
Graphene Types. *See an `example
|
||||
Django <http://github.com/graphql-python/swapi-graphene>`__
|
||||
easily. \* **Easy to use:** Graphene helps you use GraphQL in Python
|
||||
without effort. \* **Relay:** Graphene has builtin support for Relay \*
|
||||
**Django:** Automatic *Django model* mapping to Graphene Types. *See an
|
||||
`example Django <http://github.com/graphql-python/swapi-graphene>`__
|
||||
implementation*
|
||||
|
||||
*But, what is supported in this Python version?* **Everything**:
|
||||
Interfaces, ObjectTypes, Mutations and Relay (Nodes, Connections and
|
||||
Mutations).
|
||||
|
||||
Installation
|
||||
------------
|
||||
|
||||
|
@ -53,10 +56,13 @@ Then Querying ``graphene.Schema`` is as simple as:
|
|||
result = schema.execute(query)
|
||||
|
||||
If you want to learn even more, you can also check the following
|
||||
examples:
|
||||
`examples <examples/>`__:
|
||||
|
||||
- Relay Schema: `Starwars Relay example <examples/starwars_relay>`__
|
||||
- Django: `Starwars Django example <examples/starwars_django>`__
|
||||
- **Basic Schema**: `Starwars example <examples/starwars>`__
|
||||
- **Relay Schema**: `Starwars Relay
|
||||
example <examples/starwars_relay>`__
|
||||
- **Django model mapping**: `Starwars Django
|
||||
example <examples/starwars_django>`__
|
||||
|
||||
Contributing
|
||||
------------
|
||||
|
|
Loading…
Reference in New Issue
Block a user