A blazingly fast image board library.
Project description
🦀 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 Fast™️
- 🐍 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
🔎 Basic Search
📝 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())
🔍 Basic Multi-Booru Search
📝 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())
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
cunnypy-3.0.0.tar.gz
(21.0 kB
view details)
Built Distribution
cunnypy-3.0.0-py3-none-any.whl
(21.1 kB
view details)
File details
Details for the file cunnypy-3.0.0.tar.gz
.
File metadata
- Download URL: cunnypy-3.0.0.tar.gz
- Upload date:
- Size: 21.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.10.12 Linux/5.15.90.1-microsoft-standard-WSL2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e56302223f8be9300cdbda33ad557996784df25439e566a91a0dc21fe5ba21ce |
|
MD5 | 02b84b664fc7bdfda21290701491d6b3 |
|
BLAKE2b-256 | 7a1e02fb062b88e59b976c9ec60f92f27e79c794c941a60530c8140227466f39 |
File details
Details for the file cunnypy-3.0.0-py3-none-any.whl
.
File metadata
- Download URL: cunnypy-3.0.0-py3-none-any.whl
- Upload date:
- Size: 21.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.10.12 Linux/5.15.90.1-microsoft-standard-WSL2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8527f3773da0f4ca2d05187a048f9503b130c27163167e87530b9a178d426882 |
|
MD5 | 08795251613cf521105f383f2c57a731 |
|
BLAKE2b-256 | f07770d59b5f2f3c3e68eddcf35a4797a9d667027cddfbc5332d062b0eaa3f7d |