Skip to main content

kawaiipy – async wrapper for Kawaii API

Project description

kawaiipy – async wrapper for Kawaii API.

Install

pip install kawaiipy

Usage example

import asyncio
from kawaiipy import KawaiiAPI

api: KawaiiAPI = KawaiiAPI()


async def main() -> None:
    """Get image of hugs!"""
    image: str = await api.get("gif", "hug")
    print(image)


if __name__ == "__main__":
    asyncio.run(main())

Recommendation

Use the -O and -OO flags to ignore docstrings and assertions while interpretation process.

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

kawaiipy-0.1.0.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

kawaiipy-0.1.0-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file kawaiipy-0.1.0.tar.gz.

File metadata

  • Download URL: kawaiipy-0.1.0.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.14 Linux/6.5.0-1022-azure

File hashes

Hashes for kawaiipy-0.1.0.tar.gz
Algorithm Hash digest
SHA256 04d8032d4cb93fa50efd8c1009c87043be1c6d6b4419bb5490fbe93e7ad80b58
MD5 a85b9c3ae64d9efc960ceddeddd22326
BLAKE2b-256 21945a987204273ab6e22e26d2e5645f6bf45413bfbd074c7fd1f3d199b41525

See more details on using hashes here.

File details

Details for the file kawaiipy-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: kawaiipy-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.14 Linux/6.5.0-1022-azure

File hashes

Hashes for kawaiipy-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 72a257dfba93d8ff4f33177d0266d96c0f2004a06d2a6652bda685eb26cdef26
MD5 ce418b163b3083ff5cb80c50622c33fe
BLAKE2b-256 b497b45f4546db3ef9e1cacd5e49f97fa18d52be313be37fea7c6208790a2ab8

See more details on using hashes here.

Supported by

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