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

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


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.0.tar.gz (3.3 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.0-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

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

Hashes for pixivutil_server_client-0.1.0.tar.gz
Algorithm Hash digest
SHA256 98e2982e2d5828e3e60b2e4c05a6d24283dea0bb7d6a3589147c82890a38585c
MD5 f42ba01cbf486fabf91e6ee1cd547e45
BLAKE2b-256 8bcaa61afbbbfe2c2261e372cf4ea70010e7d38abe340535cac3a19ac28960e1

See more details on using hashes here.

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

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.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pixivutil_server_client-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e911e98da2a610b820956a9e214ae085572d91dd93ba90a78640478d4a2a7f0c
MD5 bd14706fbc91e32eeda2851ea1db6961
BLAKE2b-256 8d799c81ed0619e713b14671bf1e44a19d22c429c8ea6e485beddc608c8a08fc

See more details on using hashes here.

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

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