文件名称:python-graphql-client:在python中向graphQL服务器发出请求的简单模块
文件大小:21KB
文件格式:ZIP
更新时间:2024-05-27 10:01:02
python graphql-client graphql python-graphql-client Python
Python GraphQL客户端 用于向graphql服务器发出请求的简单程序包。 安装 pip install python-graphql-client 用法 查询/突变 from python_graphql_client import GraphqlClient # Instantiate the client with an endpoint. client = GraphqlClient ( endpoint = "https://countries.trevorblades.com" ) # Create the query string and variables required for the request. query = """ query countryQuery($countryCode: String) { country(code
【文件预览】:
python-graphql-client-master
----.gitignore(1KB)
----setup.cfg(137B)
----README.md(3KB)
----CHANGELOG.md(1KB)
----.makefile.identity.inc(1KB)
----.github()
--------workflows()
--------pull_request_template.md(384B)
--------ISSUE_TEMPLATE()
----.pre-commit-config.yaml(473B)
----tests()
--------test_graphql_client.py(12KB)
----.gitchangelog.rc(10KB)
----docs()
--------CONTRIBUTING.md(3KB)
--------CODE_OF_CONDUCT.md(3KB)
----LICENSE(1KB)
----.makefile.inc(620B)
----python_graphql_client()
--------__init__.py(136B)
--------graphql_client.py(3KB)
----setup.py(1KB)
----Makefile(626B)