1
- Please read `UPGRADE-v1.0.md `_ to learn how to upgrade to Graphene ``1.0 ``.
1
+ Please read `UPGRADE-v1.0.md </UPGRADE-v1.0.md >`__ to learn how to
2
+ upgrade to Graphene ``1.0 ``.
2
3
3
4
--------------
4
5
5
- |Graphene Logo | `Graphene `_ |Build Status | |PyPI version | |Coverage Status |
6
- ===========================================================================
6
+ |Graphene Logo | `Graphene < http://graphene-python.org >`__ |Build Status | |PyPI version | |Coverage Status |
7
+ =========================================================================================================
7
8
8
- `Graphene `_ is a Python library for building GraphQL schemas/types fast
9
- and easily.
9
+ `Graphene < http://graphene-python.org >`__ is a Python library for
10
+ building GraphQL schemas/types fast and easily.
10
11
11
12
- **Easy to use: ** Graphene helps you use GraphQL in Python without
12
13
effort.
13
14
- **Relay: ** Graphene has builtin support for Relay
14
15
- **Data agnostic: ** Graphene supports any kind of data source: SQL
15
- (Django, SQLAlchemy), NoSQL, custom Python objects, etc. We believe that
16
- by providing a complete API you could plug Graphene anywhere your
17
- data lives and make your data available through GraphQL.
16
+ (Django, SQLAlchemy), NoSQL, custom Python objects, etc. We believe
17
+ that by providing a complete API you could plug Graphene anywhere
18
+ your data lives and make your data available through GraphQL.
18
19
19
20
Integrations
20
21
------------
21
22
22
23
Graphene has multiple integrations with different frameworks:
23
24
24
- +---------------------+-------------------------------------+
25
- | integration | Package |
26
- +=====================+=====================================+
27
- | Django | `graphene-django `_ |
28
- +---------------------+-------------------------------------+
29
- | SQLAlchemy | `graphene-sqlalchemy `_ |
30
- +---------------------+-------------------------------------+
31
- | Google App Engine | `graphene-gae `_ |
32
- +---------------------+-------------------------------------+
33
- | Peewee | *In progress * (`Tracking Issue `_ ) |
34
- +---------------------+-------------------------------------+
25
+ +---------------------+---------------------------------------------------------------------------------------------- +
26
+ | integration | Package |
27
+ +=====================+============================================================================================== +
28
+ | Django | `graphene-django < https://github.com/graphql-python/graphene-django/ >`__ |
29
+ +---------------------+---------------------------------------------------------------------------------------------- +
30
+ | SQLAlchemy | `graphene-sqlalchemy < https://github.com/graphql-python/graphene-sqlalchemy/ >`__ |
31
+ +---------------------+---------------------------------------------------------------------------------------------- +
32
+ | Google App Engine | `graphene-gae < https://github.com/graphql-python/graphene-gae/ >`__ |
33
+ +---------------------+---------------------------------------------------------------------------------------------- +
34
+ | Peewee | *In progress * (`Tracking Issue < https://github.com/graphql-python/graphene/issues/289 >`__ ) |
35
+ +---------------------+---------------------------------------------------------------------------------------------- +
35
36
36
37
Installation
37
38
------------
@@ -45,7 +46,8 @@ For instaling graphene, just run this command in your shell
45
46
1.0 Upgrade Guide
46
47
-----------------
47
48
48
- Please read `UPGRADE-v1.0.md `_ to learn how to upgrade.
49
+ Please read `UPGRADE-v1.0.md </UPGRADE-v1.0.md >`__ to learn how to
50
+ upgrade.
49
51
50
52
Examples
51
53
--------
@@ -74,10 +76,11 @@ Then Querying ``graphene.Schema`` is as simple as:
74
76
result = schema.execute(query)
75
77
76
78
If you want to learn even more, you can also check the following
77
- `examples `_ :
79
+ `examples < examples/ >`__ :
78
80
79
- - **Basic Schema **: `Starwars example `_
80
- - **Relay Schema **: `Starwars Relay example `_
81
+ - **Basic Schema **: `Starwars example <examples/starwars >`__
82
+ - **Relay Schema **: `Starwars Relay
83
+ example <examples/starwars_relay> `__
81
84
82
85
Contributing
83
86
------------
@@ -94,15 +97,24 @@ After developing, the full test suite can be evaluated by running:
94
97
95
98
python setup.py test # Use --pytest-args="-v -s" for verbose mode
96
99
97
- .. _UPGRADE-v1.0.md : /UPGRADE-v1.0.md
98
- .. _Graphene : http://graphene-python.org
99
- .. _graphene-django : https://github.com/graphql-python/graphene-django/
100
- .. _graphene-sqlalchemy : https://github.com/graphql-python/graphene-sqlalchemy/
101
- .. _graphene-gae : https://github.com/graphql-python/graphene-gae/
102
- .. _Tracking Issue : https://github.com/graphql-python/graphene/issues/289
103
- .. _examples : examples/
104
- .. _Starwars example : examples/starwars
105
- .. _Starwars Relay example : examples/starwars_relay
100
+ Documentation
101
+ ~~~~~~~~~~~~~
102
+
103
+ The documentation is generated using the excellent
104
+ `Sphinx <http://www.sphinx-doc.org/ >`__ and a custom theme.
105
+
106
+ The documentation dependencies are installed by running:
107
+
108
+ .. code :: sh
109
+
110
+ cd docs
111
+ pip install -r requirements.txt
112
+
113
+ Then to produce a HTML version of the documentation:
114
+
115
+ .. code :: sh
116
+
117
+ make html
106
118
107
119
.. |Graphene Logo | image :: http://graphene-python.org/favicon.png
108
120
.. |Build Status | image :: https://travis-ci.org/graphql-python/graphene.svg?branch=master
0 commit comments