Skip to content

Latest commit

 

History

History
75 lines (53 loc) · 1.74 KB

README.rst

File metadata and controls

75 lines (53 loc) · 1.74 KB

anekos

PyPI version info PyPI supported Python versions PyPI Downloads

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