qqflow-sdk
Typed Python client for qqflow-server — a headless, read-only HTTP/SSE service over local QQ NT chat databases.
Generated from the server's OpenAPI description (types + request plumbing), with a handwritten behavior layer on top: transport failures folded into a proper error tree, readiness polling, pagination helpers, SSE streaming, and media download helpers.
Install
pip install qqflow-sdk
Minimal example
import asyncio
from qqflow_sdk import Client
async def main() -> None:
client = Client(base_url="http://127.0.0.1:5032", token="your-token")
await client.health()
sessions = await client.list_all_sessions()
await client.aclose()
asyncio.run(main())
Need synchronous code? SyncClient mirrors Client method-for-method and drives its own
private event-loop thread — it neither hijacks nor requires a loop in your thread:
from qqflow_sdk import SyncClient
with SyncClient(base_url="http://127.0.0.1:5032", token="your-token") as client:
client.health()
sessions = client.list_all_sessions()
watch_* returns a plain iterator with the same reconnect-replay semantics as the async side.
Scope
The server exposes a strictly read-only surface: accounts, sessions, messages, contacts, group members, media export, and an SSE push stream. This client mirrors that surface one-to-one; see the server repository for the API reference and the interface contract the client is tested against.
License
MIT
Metadata
Release files for qqflow-sdk 0.9.3
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 | |
|---|---|---|---|---|
| qqflow_sdk-0.9.3.tar.gz | 96.9 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| qqflow_sdk-0.9.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 224.0 kB
Release files / qqflow_sdk-0.9.3.tar.gz
| Download URL | qqflow_sdk-0.9.3.tar.gz |
|---|---|
| Size | 96.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4ef4bfd22dac022b28d0fc9e92150dafc682b2f9f2838d95bc5eee7fc9213b8d
|
|
BLAKE2b-256 checksum How to use checksums |
ff58b18a197820aca86b32620aaa681322f249fce4f66faaaa175eb2b6c145b6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 24, 2026.
Transparency logRelease files / qqflow_sdk-0.9.3-py3-none-any.whl
| Download URL | qqflow_sdk-0.9.3-py3-none-any.whl |
|---|---|
| Size | 127.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1cb6d1f3be17d2ff6c072ee0409527f70b915be53627f7f3231bf3d5338038a2
|
|
BLAKE2b-256 checksum How to use checksums |
bbbd80a9a16440b1b9c703d88bfaa79968539e31cfae94efcedb1f72bcd9b6bc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 24, 2026.
Transparency logSecurity for qqflow-sdk 0.9.3
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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for qqflow_sdk-0.9.3.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 24, 2026.
Transparency logA 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.