1
1
Fork
You've already forked Cunnypy
0
🔥 A Blazingly Fast Image Board Library
  • Python 100%
cunnyarc 70c0ba3058 3.0 ( #1 )
Reviewed-on: #1
Co-authored-by: cunnyarc <glitchy@cunny.social>
Co-committed-by: cunnyarc <glitchy@cunny.social>
2023年09月19日 19:56:25 +00:00
cunnypy 3.0 ( #1 ) 2023年09月19日 19:56:25 +00:00
tests 3.0 ( #1 ) 2023年09月19日 19:56:25 +00:00
.editorconfig 3.0 ( #1 ) 2023年09月19日 19:56:25 +00:00
.gitignore 3.0 ( #1 ) 2023年09月19日 19:56:25 +00:00
LICENSE Initial Commit 2022年11月17日 15:51:04 -05:00
poetry.lock 3.0 ( #1 ) 2023年09月19日 19:56:25 +00:00
pyproject.toml 3.0 ( #1 ) 2023年09月19日 19:56:25 +00:00
README.md 3.0 ( #1 ) 2023年09月19日 19:56:25 +00:00

🦀 Cunny.py 🦀

🔥A Blazingly Fast Image Board Library🔥


📥Installation | 🌟Features | ⚙️Usage


📥Installation

Getting started with Cunny.py is quick and easy! Simply install the package using your favorite tool.

📥Using pip:

pip install cunnypy

🪶Using poetry:

poetry add cunnypy

🌟Features

  • 🔥 Blazingly FastTM️
  • 🐍 Modern and Pythonic API.
  • 🚀 Supports AnyIO, AsyncIO, and Trio.
  • 💯 15 boorus supported.
  • 🆔 Support for aliases.
  • 🎲 Randomize posts with the gatcha parameter.
  • 🔍 Autocomplete support for all boorus.
  • 🔢 Search any combination of boors at once.

⚙️Usage

📝 Note: You can specify additional parameters in the search function.

import asyncio
import cunnypy
async def main():
 posts = await cunnypy.search("gelbooru", "megumin")
 print(posts)
asyncio.run(main())

📝 Note: To add credential support import the Booru class.

import asyncio
import cunnypy
async def main():
 posts = await cunnypy.ms(["gel", "safe"], "megumin")
 print(posts)
asyncio.run(main())

🤖 Autocomplete

import asyncio
import cunnypy
async def main():
 auto = await cunnypy.autocomplete("gel", "megumi*")
 print(auto)
asyncio.run(main())