Skip to main content

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


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 hashes)

Uploaded Source

Built Distribution

cunnypy-3.0.0-py3-none-any.whl (21.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page