An unofficial asynchronous wrapper for nekos.life API
Project description
anekos
An asynchronous wrapper for nekos.life API
Features
You can download the images! (using aiofile)
Easy to use with an object-oriented design.
Install
# Linux/macOS
python3 -m pip install -U anekos
# Windows
py -3 -m pip install -U anekos
To install the development version, do the following:
$ git clone https://github.com/Nekos-life/Async-nekos.life-wrapper.git
$ cd Async-nekos.life-wrapper
$ python3 -m pip install -U .
Optional Packages
Quick Example
from anekos import NekosLifeClient, SFWImageTags
from asyncio import get_event_loop
client = NekosLifeClient()
async def main():
result = await client.image(SFWImageTags.WALLPAPER)
print(result.url)
loop = get_event_loop()
loop.run_until_complete(main())
Links
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
anekos-2.0.0.tar.gz
(6.8 kB
view details)
Built Distribution
File details
Details for the file anekos-2.0.0.tar.gz
.
File metadata
- Download URL: anekos-2.0.0.tar.gz
- Upload date:
- Size: 6.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e5727709882f6c28136bedfd3146b37ebf7f875d008cb270dce3d5b4cc336a31 |
|
MD5 | f73691005ecb3e5cee8cd5683b7f3923 |
|
BLAKE2b-256 | 7cd6b56916f6e6201f0dc4824bc7ace1d6491fb4b74dd80ef79e35d8f7f88137 |
File details
Details for the file anekos-2.0.0-py3-none-any.whl
.
File metadata
- Download URL: anekos-2.0.0-py3-none-any.whl
- Upload date:
- Size: 7.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6db4d7a9652964e9e768898012c51727262df67cbafdba624f2524cb38e25a38 |
|
MD5 | 631961f86d67c22a62ce0b5ddfb3a1cf |
|
BLAKE2b-256 | 94f21ca6ec4f86b76d472464ab157522f0a2228ed4cecce762eb244a415b6731 |