pkge-client
Unofficial Python client for the pkge.net API.
Installation
pip install pkge-client
Usage
import asyncio
from pkge import PkgeClient
async def main():
client = PkgeClient()
# 1. Fetch initial tracking payload
data = await client.get_tracking_initial("00340434694908615482")
print(data)
# 2. Trigger an update
update_res = await client.request_update("00340434694908615482")
print(update_res)
# 3. Poll for status using the hash from the initial data
if "hash" in data:
status_data = await client.get_tracking_status("00340434694908615482", data["hash"])
print(status_data)
await client.close()
asyncio.run(main())
Metadata
Release files for pkge-client 0.1.0
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 |
|---|---|---|---|---|
| pkge_client-0.1.0.tar.gz | 4.7 kB | Without provenance | Details for pkge_client-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pkge_client-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for pkge_client-0.1.0-py3-none-any.whl |
Total release size: 9.5 kB
Release files / pkge_client-0.1.0.tar.gz
| Download URL | pkge_client-0.1.0.tar.gz |
|---|---|
| Size | 4.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
522aaa672155b0e59274014af171c5effb2ef34cebaa27596c3dc99cb2617cf6
|
|
BLAKE2b-256 checksum How to use checksums |
53421cefa89d0cd5a3fac993c2dd2204259b1df3f2e6f2e4bbacf4ecb684eca1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.13
|
Release files / pkge_client-0.1.0-py3-none-any.whl
| Download URL | pkge_client-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
81a45f9b164b318f1889c2d3b22b22045f17b77ae988173e28156a38d8a623db
|
|
BLAKE2b-256 checksum How to use checksums |
352281c9372fdc05c8884509b1c52536670f218dadb5754c7da43c493de13284
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.13
|
Security for pkge-client 0.1.0
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.