Updated READMES

This commit is contained in:
Syrus Akbary 2015-10-30 00:01:44 -07:00
parent 6fe2750c6b
commit a682ef8bc3
2 changed files with 22 additions and 12 deletions

View File

@ -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

View File

@ -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
------------