Skip to content

Commit 0f5277c

Browse files
committed
Updated main documentation mentioning SQLAlchemy support
1 parent 08a957a commit 0f5277c

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
- **Relay:** Graphene has builtin support for Relay
88
- **Django:** Automatic *Django model* mapping to Graphene Types. Check a fully working [Django](http://github.com/graphql-python/swapi-graphene) implementation
99

10+
Graphene also supports *SQLAlchemy*!
1011

1112
*What is supported in this Python version?* **Everything**: Interfaces, ObjectTypes, Scalars, Unions and Relay (Nodes, Connections), in addition to queries, mutations and subscriptions.
1213

@@ -18,8 +19,10 @@ For instaling graphene, just run this command in your shell
1819

1920
```bash
2021
pip install graphene
21-
# Or in case of need Django model support
22+
# In case of need Django model support
2223
pip install graphene[django]
24+
# Or in case of need SQLAlchemy support
25+
pip install graphene[sqlalchemy]
2326
```
2427

2528

@@ -59,6 +62,7 @@ If you want to learn even more, you can also check the following [examples](exam
5962
* **Basic Schema**: [Starwars example](examples/starwars)
6063
* **Relay Schema**: [Starwars Relay example](examples/starwars_relay)
6164
* **Django model mapping**: [Starwars Django example](examples/starwars_django)
65+
* **SQLAlchemy model mapping**: [Flask SQLAlchemy example](examples/flask_sqlalchemy)
6266

6367

6468
## Contributing

README.rst

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ building GraphQL schemas/types fast and easily.
1212
`Django <http://github.com/graphql-python/swapi-graphene>`__
1313
implementation
1414

15+
Graphene also supports *SQLAlchemy*!
16+
1517
*What is supported in this Python version?* **Everything**: Interfaces,
1618
ObjectTypes, Scalars, Unions and Relay (Nodes, Connections), in addition
1719
to queries, mutations and subscriptions.
@@ -27,8 +29,10 @@ For instaling graphene, just run this command in your shell
2729
.. code:: bash
2830
2931
pip install graphene
30-
# Or in case of need Django model support
32+
# In case of need Django model support
3133
pip install graphene[django]
34+
# Or in case of need SQLAlchemy support
35+
pip install graphene[sqlalchemy]
3236
3337
Examples
3438
--------
@@ -70,6 +74,8 @@ If you want to learn even more, you can also check the following
7074
example <examples/starwars_relay>`__
7175
- **Django model mapping**: `Starwars Django
7276
example <examples/starwars_django>`__
77+
- **SQLAlchemy model mapping**: `Flask SQLAlchemy
78+
example <examples/flask_sqlalchemy>`__
7379

7480
Contributing
7581
------------

0 commit comments

Comments
 (0)