Async aiohttp client SDK for PixivUtil Server
Project description
pixivutil-server-client
Async aiohttp client SDK for PixivUtil Server.
Example
import asyncio
from pixivutil_client import PixivAsyncClient
async def main() -> None:
async with PixivAsyncClient(
base_url="http://localhost:8000",
api_key="your-api-key",
) as client:
health = await client.health()
print(health)
queued = await client.queue_download_artwork(123456)
print(queued.task_id)
asyncio.run(main())
Install
From PyPI:
uv pip install pixivutil-server-client
From the pixivutil-server project root:
uv pip install -e ./PixivUtilClient
From Git (published as a subdirectory):
uv pip install "git+https://github.com/psilabs-dev/pixivutil-server.git@dev-2.4.0/main#subdirectory=PixivUtilClient"
Test
From the pixivutil-server project root:
uv run --package pixivutil-server-client pytest PixivUtilClient/tests
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pixivutil_server_client-0.1.0.tar.gz.
File metadata
- Download URL: pixivutil_server_client-0.1.0.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
98e2982e2d5828e3e60b2e4c05a6d24283dea0bb7d6a3589147c82890a38585c
|
|
| MD5 |
f42ba01cbf486fabf91e6ee1cd547e45
|
|
| BLAKE2b-256 |
8bcaa61afbbbfe2c2261e372cf4ea70010e7d38abe340535cac3a19ac28960e1
|
Provenance
The following attestation bundles were made for pixivutil_server_client-0.1.0.tar.gz:
Publisher:
publish-client.yml on psilabs-dev/pixivutil-server
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pixivutil_server_client-0.1.0.tar.gz -
Subject digest:
98e2982e2d5828e3e60b2e4c05a6d24283dea0bb7d6a3589147c82890a38585c - Sigstore transparency entry: 953353318
- Sigstore integration time:
-
Permalink:
psilabs-dev/pixivutil-server@5caa8320e9cb176d92b057772eda3ee09c6b3c05 -
Branch / Tag:
refs/tags/client-v0.1.0 - Owner: https://github.com/psilabs-dev
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-client.yml@5caa8320e9cb176d92b057772eda3ee09c6b3c05 -
Trigger Event:
push
-
Statement type:
File details
Details for the file pixivutil_server_client-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pixivutil_server_client-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e911e98da2a610b820956a9e214ae085572d91dd93ba90a78640478d4a2a7f0c
|
|
| MD5 |
bd14706fbc91e32eeda2851ea1db6961
|
|
| BLAKE2b-256 |
8d799c81ed0619e713b14671bf1e44a19d22c429c8ea6e485beddc608c8a08fc
|
Provenance
The following attestation bundles were made for pixivutil_server_client-0.1.0-py3-none-any.whl:
Publisher:
publish-client.yml on psilabs-dev/pixivutil-server
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pixivutil_server_client-0.1.0-py3-none-any.whl -
Subject digest:
e911e98da2a610b820956a9e214ae085572d91dd93ba90a78640478d4a2a7f0c - Sigstore transparency entry: 953353320
- Sigstore integration time:
-
Permalink:
psilabs-dev/pixivutil-server@5caa8320e9cb176d92b057772eda3ee09c6b3c05 -
Branch / Tag:
refs/tags/client-v0.1.0 - Owner: https://github.com/psilabs-dev
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-client.yml@5caa8320e9cb176d92b057772eda3ee09c6b3c05 -
Trigger Event:
push
-
Statement type: