https://github.com/remorses/async-graphql
Async graphql client for python
https://github.com/remorses/async-graphql
Last synced: 7 months ago
JSON representation
Async graphql client for python
- Host: GitHub
- URL: https://github.com/remorses/async-graphql
- Owner: remorses
- License: mit
- Created: 2019-03-15T17:45:03.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-07-14T06:39:05.000Z (over 6 years ago)
- Last Synced: 2025-05-28T09:32:27.498Z (8 months ago)
- Language: Python
- Size: 48.8 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://circleci.com/gh/remorses/async-graphql/tree/master)
Make graphql requests asynchronously, python 2.7 and more required.
Soon will come graphql subscriptions.
The library is tiny, memory usage loading the module is also is good:
```
Line # Mem usage Increment Line Contents
================================================
12 10.9 MiB 10.9 MiB @profile
13 def profiled():
14 13.0 MiB 2.1 MiB import asyncio
15 13.0 MiB 0.0 MiB async def main(loop):
16 13.5 MiB 0.5 MiB from async_graphql import Client, errors
```
This is good when using graphql in lots of replicated micro-services to not go out of memory.