An asynchronous, modular, and high-performance framework for building Discord bots with Python 3.
The project follows the principles of modularity and efficient use of the programming language to achieve the full performance capabilities of Python 3. The main architectural principle is the separation of the abstraction-driven, functional framework from the underlying structures and bare implementations. This approach lets developers either tap into the magic of automated abstractions to speed up their workflow, or work with bare implementations to bring their own ideas to life.
Python | Status | Recommendation |
---|---|---|
3.10 | ||
3.11 | ✅ | |
3.12 | ✅ | |
3.13 and above (noGIL, JIT and other experimental features) | ❓ Unplanned |
Discord API Version | Status | Recommendation |
---|---|---|
v6 | ||
v7 | ||
v8 | ||
v9 | ||
v10 | ✅ |
Warning
The framework is in an alpha stage and cannot yet be installed via standard package managers. Manual installation is possible, but it may be unstable. If you decide to try it, we welcome all issues and pull requests.
$ pip install discord-ram # `ramx` will be installed
$ pip install git+https://github.com/discord-ram/discord-ram
- Use uvloop (for Windows winloop): drop-in replacement for the default asyncio event loop for lower latency and higher throughput.
- Run your project with
-OO
optimization flag (PEP 488): this removes assertions and docstrings in runtime, which slightly reduces memory usage and improves performance.
Repository | Description |
---|---|
hikari-py/hikari | A Discord API wrapper for Python and asyncio built on good intentions. |