This release is a pre-release and may not be stable for production use.
Qlient AIOHTTP: Python GraphQL Client
A blazingly fast and modern graphql client based on qlient-core and aiohttp
Key Features
- Compatible with Python 3.7 and above
- Build on top of
qlient-coreandaiohttp - support for subscriptions
Help
See the documentation for more details.
Quick Preview
This preview is using the official github/graphql/swapi-graphql graphql api.
import asyncio
from qlient.aiohttp import AIOHTTPClient, GraphQLResponse
async def main():
async with AIOHTTPClient("https://swapi-graphql.netlify.app/.netlify/functions/index") as client:
result: GraphQLResponse = await client.query.film(
["title", "id"], # fields selection
id="ZmlsbXM6MQ==" # query arguments
)
print(result.request.query)
print(result.data)
asyncio.run(main())
Which results in the following query being sent to the server
query film($id: ID) {
film(id: $id) {
title
id
}
}
And returns the body below
{
"film": {
"title": "A New Hope",
"id": "ZmlsbXM6MQ=="
}
}
Metadata
Release files for qlient-aiohttp 0.1.0b2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| qlient-aiohttp-0.1.0b2.tar.gz | 5.1 kB | Without provenance | Details for qlient-aiohttp-0.1.0b2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| qlient_aiohttp-0.1.0b2-py3-none-any.whl | Python 3 | none | any | Details for qlient_aiohttp-0.1.0b2-py3-none-any.whl |
Total release size: 10.7 kB
Release files / qlient-aiohttp-0.1.0b2.tar.gz
| Download URL | qlient-aiohttp-0.1.0b2.tar.gz |
|---|---|
| Size | 5.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
12bc9aeb947df3b620094af5d3dd698a2f42970b8b378aa3041e3215c7789f8e
|
|
BLAKE2b-256 checksum How to use checksums |
13ed7bc7ca788fc36a0900e30d2084509f0c52497a131e24f23cd3bea39349ef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.13 CPython/3.9.13 Linux/5.13.0-1031-azure
|
Release files / qlient_aiohttp-0.1.0b2-py3-none-any.whl
| Download URL | qlient_aiohttp-0.1.0b2-py3-none-any.whl |
|---|---|
| Size | 5.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b7fd0c72ae351fe863bee9d0a9bb61ec4f00e76c0f83d29e49938538d9da1f29
|
|
BLAKE2b-256 checksum How to use checksums |
3fafd4097c607a3e328a8cc7f67d88afcb6b3464f11c056ad2424ddeee98b60f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.13 CPython/3.9.13 Linux/5.13.0-1031-azure
|
Security for qlient-aiohttp 0.1.0b2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.