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.2.tar.gz (3.4 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.2-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pixivutil_server_client-0.1.2.tar.gz
  • Upload date:
  • Size: 3.4 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.2.tar.gz
Algorithm Hash digest
SHA256 ef60dd3c7ed657588e5ab796e3b87fd2615eb0758f457d6125b477f0327b9c24
MD5 55337f1fab7ba86e7beae2b001c9beeb
BLAKE2b-256 a436ef14c5fce40393763a0956128107f6b073fd8677ddc02d53d282a03b9adb

See more details on using hashes here.

Provenance

The following attestation bundles were made for pixivutil_server_client-0.1.2.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.2-py3-none-any.whl.

File metadata

File hashes

Hashes for pixivutil_server_client-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8144280a093cb5a3419042b8aa9ac35ebfd1a6d9deea02bfc1abbf3f04753337
MD5 98fdb9d9d5607e006f85aa1950cc5cfc
BLAKE2b-256 c01a472b7cdb4e8a5770e327c4b6a7fac01d417bfd98083e483247aa938bfd31

See more details on using hashes here.

Provenance

The following attestation bundles were made for pixivutil_server_client-0.1.2-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