Dataclass-driven Discord API Wrapper in Python
Project description
ScurryPy
✨ Clarity over magic: a sandbox for Discord's API where you control everything ✨
ScurryPy is a fully extensible foundation for building bots, frameworks, and tools. You design the architecture.
Features
The following are baked into ScurryPy:
- Lightweight core
- Rate limit handling
- Automatic session & gateway management
- Automatic sharding
- Predictable event models and resource classes
Your focus is building what you want.
Who ScurryPy is for
ScurryPy is for developers who want full control of Discord API usage, design their own frameworks, or learn how bots work under the hood. If you want ready-made commands, consider using ScurryKit or another framework.
Installation
Install ScurryPy with pip:
pip install scurrypy
Quick Start
# --- Core library imports ---
from scurrypy import Client, ReadyEvent
# --- Setup bot ---
client = Client(token=TOKEN)
async def on_ready(event: ReadyEvent):
print("Bot is online!")
client.add_event_listener("READY", on_ready)
# --- Run the bot ---
client.run()
What You Can Build
ScurryPy's clean architecture supports:
- Custom command frameworks
- Multi-bot orchestration systems
- Discord API explorers and tools
- Bots with complex state management
- Your own discord.py alternative
Check out ScurryKit - a batteries-included framework built entirely on ScurryPy.
Dependencies
ScurryPy has exactly 3 required dependencies:
- aiohttp (HTTP client)
- websockets (Gateway connection)
- aiofiles (Async file operations)
That's it. No bloat, no surprises, no supply-chain concerns. These dependencies are automatically installed with ScurryPy's pip package.
Like What You See?
Explore the full documentation for more examples, guides, and API reference.
Switching from discord.py? Check out the Migration Guide to see the difference.
Got some questions? Check out the FAQ page for commonly asked questions!
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file scurrypy-0.15.0.tar.gz.
File metadata
- Download URL: scurrypy-0.15.0.tar.gz
- Upload date:
- Size: 44.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
16cf9b8297e3e78fed4e9ef546fed00d0806fa98ec40e6047edec183801cf751
|
|
| MD5 |
a0f605b06c19376d2d62aaa2306a632e
|
|
| BLAKE2b-256 |
f2e98e87be9f5ddc37664bfc87a9327df5f3269047ff4b9314375c74c5108489
|
File details
Details for the file scurrypy-0.15.0-py3-none-any.whl.
File metadata
- Download URL: scurrypy-0.15.0-py3-none-any.whl
- Upload date:
- Size: 62.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e1454f9d01967db8148db805bcc37a2e016cd2ddeb1a125678ebd4d7aa03ef14
|
|
| MD5 |
0d42ef91d3ad81070b8a0034f47682d1
|
|
| BLAKE2b-256 |
f83a42b37794742696b17f2460dcc7b3bfac767424143ae18289700ea86797b9
|