Skip to main content

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

Test

From the pixivutil-server project root:

uv run --package pixivutil-server-client pytest PixivUtilClient/tests

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pixivutil_server_client-0.1.1.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pixivutil_server_client-0.1.1-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file pixivutil_server_client-0.1.1.tar.gz.

File metadata

  • Download URL: pixivutil_server_client-0.1.1.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pixivutil_server_client-0.1.1.tar.gz
Algorithm Hash digest
SHA256 76c917b76df683227c1a23a6691f454353754f00a8f5676b1a0fed79347dd0f4
MD5 6d101d1723d3af197a149d8c6832fa66
BLAKE2b-256 b11805fcc65219b2a13e0037e8a2b1306da1594c5b8cfd22a11cd47170d9bb23

See more details on using hashes here.

Provenance

The following attestation bundles were made for pixivutil_server_client-0.1.1.tar.gz:

Publisher: publish-client.yml on psilabs-dev/pixivutil-server

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pixivutil_server_client-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for pixivutil_server_client-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a9194f91b9dacf40e2d8f377db0d50585b6b9102fe2e2340f3e143ed6f160119
MD5 1e6e0b22223472f87c4e5b5f3f166486
BLAKE2b-256 eaed6ad77e4d892fe332fc58d37b53e342d0dca1f643c6b1e7c90ef63c2e43a2

See more details on using hashes here.

Provenance

The following attestation bundles were made for pixivutil_server_client-0.1.1-py3-none-any.whl:

Publisher: publish-client.yml on psilabs-dev/pixivutil-server

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page