Pre-release
This release is a pre-release and may not be stable for production use.
kozumikku.py
An asynchronous library for interacting with the Kozumikku API.
Read the docs.
Key Features
- Modern Pythonic API using
asyncandawait - Sane Error handling
- Correct authentication
Installing
Python 3.8 or higher is required
Installing the library without HTTP speedups:
# Linux/MacOS
python3 -m pip install -U kozumikku.py
# Windows
py -3 -m pip install -U kozumikku.py
Otherwise, to get the HTTP speedups, run the following command:
# Linux/MacOS
python3 -m pip install -U kozumikku.py[speedups]
# Windows
py-3 -m pip install -U kozumikku.py[speedups]
Examples
from kozumikku import KozumikkuClient
client = KozumikkuClient("API-TOKEN-HERE")
# get an api token here: https://www.kozumikku.tech/api/
# Requesting endpoints
## Say we have an endpoint in the /image/ category, and we need to
## request the /flip/ endpoint for it. We can simply run this:
image: bytes = await client.image("flip", url="image-url")
# Read the docs for more information
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
kozumikku.py-1.0.0a0.tar.gz
(4.5 kB
view details)
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 kozumikku.py-1.0.0a0.tar.gz.
File metadata
- Download URL: kozumikku.py-1.0.0a0.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/3.3.0 pkginfo/1.7.0 requests/2.24.0 setuptools/54.2.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
13d9bc1edeea209e6d6a820dc43468d93c6cb2a754a90bdb7bd30683f80a25c3
|
|
| MD5 |
ecb64d2f62fb066ef561db8cb8d711fa
|
|
| BLAKE2b-256 |
f7b1c4149cc5aa1acf83dcf659fe874efe6061261939397f3f93ecd3166d543c
|
File details
Details for the file kozumikku.py-1.0.0a0-py3-none-any.whl.
File metadata
- Download URL: kozumikku.py-1.0.0a0-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/3.3.0 pkginfo/1.7.0 requests/2.24.0 setuptools/54.2.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
552b64a40ecb19d81476e14e7c693b64a5522489df9c13a4d5fedcd1444586fe
|
|
| MD5 |
742f0f89bda3d6b4f2f8ede2db487ac0
|
|
| BLAKE2b-256 |
f751a72eaf6cacfc2f9de0cccb67279ced3b6cdc401961057eeebed82b55c65c
|