graphql-parser:适用于Python的GraphQL解析器

时间:2021-05-26 13:25:23
【文件属性】:
文件名称:graphql-parser:适用于Python的GraphQL解析器
文件大小:4KB
文件格式:ZIP
更新时间:2021-05-26 13:25:23
Python 图形解析器 这是的Python解析器。 缺乏规范,该解析器仅用于根据GraphQL的示例和其他实现来解析代码。 用法 from graphql_parser import parse QUERY = '''{ user(1) { name, email, profile_pic.size(64) { date_added } } } ''' parse ( QUERY ) 产生: { 'type' : 'block' , 'children' : [ { 'type' : 'call' , 'chain' : [ 'user' ], 'arguments' : [ '1' ], 'body' : { 'type' : 'block' ,
【文件预览】:
graphql-parser-master
----setup.py(446B)
----.gitignore(5B)
----requirements.txt(15B)
----graphql_parser()
--------transform.py(877B)
--------__init__.py(237B)
--------parser.py(794B)
----.travis.yml(98B)
----README.md(1KB)
----tests()
--------__init__.py(0B)
--------graphql_parser_tests.py(1KB)

网友评论