Skip to content

discord-ram/discord-ram

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Light Logo Dark Logo

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.

Compatibility

Python Status Recommendation
3.10 ⚠️ Untested
3.11 ⚠️ Untested
3.12 ⚠️ Untested
3.13 and above (noGIL, JIT and other experimental features) ❓ Unplanned
Discord API Version Status Recommendation
v6 ⚠️ Untested
v7 ⚠️ Untested
v8 ⚠️ Untested
v9 ⚠️ Untested
v10 ⚠️ Untested

Installation

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

Manual

$ pip install git+https://github.com/discord-ram/discord-ram

Performance advices

  • 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.

Inspiration

Repository Description
hikari-py/hikari A Discord API wrapper for Python and asyncio built on good intentions.

About

An asynchronous, modular, and high-performance framework for building Discord bots with Python 3.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages