Skip to content

django-graph-api/graphql-py

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

graphql-py

https://travis-ci.org/ivelum/graphql-py.svg?branch=master

GraphQL lexer and parser written in pure Python, produces AST. Features:

Installation

$ pip install graphql-py

Usage

from graphql.parser import GraphQLParser

parser = GraphQLParser()
ast = parser.parse("""
{
  user(id: 4) {
    id
    name
    profilePic
    avatar: profilePic(width: 30, height: 30)
  }
}
""")
print(ast)

License

MIT

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%