pygraphy:现代Pythonic GraphQL实现

时间:2021-02-04 03:05:17
【文件属性】:
文件名称:pygraphy:现代Pythonic GraphQL实现
文件大小:245KB
文件格式:ZIP
更新时间:2021-02-04 03:05:17
python graphql python3 graphql-server asyncio 写 现代的pythonic GraphQL实现,为Pythonista提供了无痛的GraphQL开发经验。 文件 参见。 快速复审 烙印的所有行为与您的直觉没有区别。 import asyncio import pygraphy from typing import List , Optional from starlette . applications import Starlette import uvicorn app = Starlette ( debug = True ) class Episode ( pygraphy . Enum ): NEWHOPE = 4
【文件预览】:
pygraphy-master
----setup.py(1KB)
----.gitignore(1KB)
----Makefile(281B)
----.travis.yml(343B)
----pygraphy()
--------__init__.py(517B)
--------context.py(384B)
--------static()
--------types()
--------utils.py(2KB)
--------introspection.py(9KB)
--------view.py(3KB)
--------exceptions.py(249B)
--------encoder.py(538B)
----LICENSE(1KB)
----setup.cfg(67B)
----examples()
--------__init__.py(0B)
--------starwars()
--------simple_example.py(567B)
--------complex_example.py(890B)
----README.md(4KB)
----tests()
--------test_introspection.py(2KB)
--------__init__.py(0B)
--------test_view.py(1KB)
--------introspection_result(41KB)
--------test_asyncio.py(875B)
--------test_utils.py(748B)
--------test_recursive_def.py(383B)
--------test_definition.py(6KB)
--------test_execution.py(6KB)
--------subscription_introspection(17KB)
--------test_websocket.py(3KB)
----mkdocs.yml(606B)
----benchmark()
--------test_pygraphy.py(811B)
--------test_strawberry.py(805B)
----docs()
--------introspection.md(897B)
--------declaration.md(7KB)
--------index.md(2KB)
--------context.md(1KB)
--------executor.md(3KB)
--------static()
--------subscription.md(2KB)
--------app.md(850B)
----tox.ini(393B)

网友评论