Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

Awesome Lists containing this project

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