Bunny
A modern, open-source Python framework for Minecraft bot development inspired by Mineflayer, designed from the ground up for Python developers.
Philosophy
"If Mineflayer is the Node.js standard, Bunny should become the Python standard."
Bunny prioritizes:
- Beginner friendly - Simple API for newcomers
- Fully typed - Type hints throughout
- Async-first - Built on asyncio for performance
- Modular - Plugin-based architecture
- Cross-platform - Works everywhere Python does
- AI-ready - Perfect for AI agents and reinforcement learning
- Production quality - Robust and well-tested
Installation
pip install bunny-mc
For development with optional dependencies:
pip install bunny-mc[dev,uvloop,nbt]
Quick Start
import asyncio
from bunny_mc import Bot
async def main():
bot = Bot()
@bot.on("spawn")
async def on_spawn():
print("Bot spawned!")
bot.chat("Hello, world!")
await bot.connect(
host="localhost",
port=25565,
username="Steve"
)
asyncio.run(main())
Features
- Event System - Async event handlers with priorities and filters
- Plugin API - Extensible plugin ecosystem
- World System - Complete world representation
- Entity System - Track players, mobs, and items
- Inventory API - Manage items and equipment
- Pathfinding - A* with advanced movement
- Physics - Minecraft-accurate movement
- Navigation - High-level movement commands
- Combat - PvP and PvE support
- Mining - Automated mining strategies
- Building - Blueprint-based construction
- Farming - Automated farming
- Crafting - Recipe-based crafting
- Chat API - Chat and command handling
- Authentication - Offline and Microsoft OAuth
Documentation
Full documentation is available at docs.bunny-mc.dev
Contributing
Contributions are welcome! Please see our contributing guidelines.
License
MIT License - see LICENSE file for details.
Release files for bunny-mc 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| bunny_mc-0.1.0.tar.gz | 7.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| bunny_mc-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.4 kB
Release files / bunny_mc-0.1.0.tar.gz
| Download URL | bunny_mc-0.1.0.tar.gz |
|---|---|
| Size | 7.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f7264de47b74f159e75092eeabe21a23a0184357a0e826fe8ee1407638875300
|
|
BLAKE2b-256 checksum How to use checksums |
9dcf9a22b8af0c531cd1be534a20a7bbd9ea713eef6be516b136644fa56f8dab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.2
|
Release files / bunny_mc-0.1.0-py3-none-any.whl
| Download URL | bunny_mc-0.1.0-py3-none-any.whl |
|---|---|
| Size | 7.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2e0a815f42fcf7188a0230d3f077b9ad6ef97bb2e632ef031980240859c88269
|
|
BLAKE2b-256 checksum How to use checksums |
bafaf76e29f518225c06c9c333627c6173a1b2dcbbfbfccf18caa7d4ac8f00d4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.2
|