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
Release files for anekos 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| anekos-2.0.0.tar.gz | 6.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| anekos-2.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.4 kB
Release files / anekos-2.0.0.tar.gz
| Download URL | anekos-2.0.0.tar.gz |
|---|---|
| Size | 6.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e5727709882f6c28136bedfd3146b37ebf7f875d008cb270dce3d5b4cc336a31
|
|
BLAKE2b-256 checksum How to use checksums |
7cd6b56916f6e6201f0dc4824bc7ace1d6491fb4b74dd80ef79e35d8f7f88137
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.7
|
Release files / anekos-2.0.0-py3-none-any.whl
| Download URL | anekos-2.0.0-py3-none-any.whl |
|---|---|
| Size | 7.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6db4d7a9652964e9e768898012c51727262df67cbafdba624f2524cb38e25a38
|
|
BLAKE2b-256 checksum How to use checksums |
94f21ca6ec4f86b76d472464ab157522f0a2228ed4cecce762eb244a415b6731
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.7
|