Skip to main content

Dataclass-driven Discord API Wrapper in Python

Project description

ScurryPy

PyPI version Discord

Fire-breathing squirrel

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.

See the manifesto section for details!

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!

Looking for changes? See the Changelog.

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

scurrypy-1.1.0.tar.gz (57.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

scurrypy-1.1.0-py3-none-any.whl (83.4 kB view details)

Uploaded Python 3

File details

Details for the file scurrypy-1.1.0.tar.gz.

File metadata

  • Download URL: scurrypy-1.1.0.tar.gz
  • Upload date:
  • Size: 57.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for scurrypy-1.1.0.tar.gz
Algorithm Hash digest
SHA256 1e2e6f85b3d8e507ecfd4584753207b185c6c713f0a11705a4a2de52b5e5153c
MD5 780c16ac8eb45e695e7631eaba5d586b
BLAKE2b-256 5bc7135431f0725cf0ea23d8a2203e278f880822be387bc6d8e10e1460beece0

See more details on using hashes here.

File details

Details for the file scurrypy-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: scurrypy-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 83.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for scurrypy-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dc3a5454e9cb4a58092b037647cd352b8571f96eaff02fc5f88350f13c46b04c
MD5 ed2c1a1f32f9ab51815b514c6fd3dfbd
BLAKE2b-256 1ec55ec77773a4facfd85f093ced85a9bd33cff3d1d9e0987f6496f3d665ec3b

See more details on using hashes here.

Supported by

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