Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tallstreet/graphql-parser-python
A GraphQL parser for python
https://github.com/tallstreet/graphql-parser-python
Last synced: about 1 month ago
JSON representation
A GraphQL parser for python
- Host: GitHub
- URL: https://github.com/tallstreet/graphql-parser-python
- Owner: tallstreet
- License: bsd-2-clause
- Created: 2015-08-28T07:13:41.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-08-30T09:29:53.000Z (over 9 years ago)
- Last Synced: 2024-08-01T22:50:59.434Z (4 months ago)
- Language: Python
- Size: 254 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-graphql - graphql-parser-python - A python wrapper around libgraphqlparser. (Libraries / Python Libraries)
- awesome-graphql - graphql-parser-python - A python wrapper around libgraphqlparser. (Libraries / Python Libraries)
README
# graphql for Python
This uses the python bindings for [libgraphqlparser](https://github.com/graphql/libgraphqlparser) to generate a GraphQL parser which generates a python data-structure
# Usage
```
git clone https://github.com/tallstreet/graphql-parser-python.git
cd graphql-parser-python
git submodule init
git submodule update
cd libgraphqlparser
cmake .
make
cp libgraphqlparser.* ..
./example_run.py
export PYTHONPATH=$PYTHONPATH:.
python test/graphql_test.py
```