Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Grace Framework

Build powerful Discord bots, without the boilerplate.

Static Badge Join on Discord Tests

What is Grace Framework

Grace Framework is an opinionated, extensible Discord bot framework built on top of discord.py. It comes with a various tools designed to help you rapidly build scalable, feature-rich Discord bots with minimal boilerplate.

Key features

  • Quick to start: Generate a full-featured bot in seconds
  • Modular Architecture: Clean separation of features via extensions
  • Database Integration: Easily connect your bot to a persistent backend
  • Built-in Generators: Create extensions, models and more with a single command

Inspiration

Grace Framework was inspired by the evolution of our community discord bot, Grace, that evolved, gaining support for modular extensions, database integrations, and rapid feature development — it began to resemble a standalone framework. Recognizing its potential, we decided to extracted its architecture into Grace Framework, making its ease-of-use and flexibility available to developers everywhere.

Getting Started

1- Install the package

requirements

  • Python 3.10 or higher
  • SQLite (or Postgresql, MySQL & MariaDB, Oracle, and MS-SQL)
$ pip install grace-framework

To install the development version:

$ git clone https://github.com/Code-Society-Lab/grace-framework.git
$ cd grace-framework
$ pip install -e .

Note: It is recommended to use a virtual environment when installing python packages.

2- Generate a new bot

$ grace new my-awesome-bot
$ cd my-awesome-bot

By default, a database is scaffolded alongside your bot. Pass --no-database to skip it, and add one later with grace generate database.

3- Set your bot token

Edit the .env in the project directory and set DISCORD_TOKEN.

DISCORD_TOKEN=YOUR TOKEN

4- Run your bot

$ grace run

5- Start building!

Check out the official wiki for guides, architecture, and API reference.

Contributing

We welcome everyone to contribute!

Whether it's fixing bugs, suggesting features, or improving the docs - every bit helps.

  • Submit an issue
  • Open a pull request
  • Or just hop into our Discord community and say hi!

If you intend to contribute, please read the CONTRIBUTING.md first. Additionally, every contributor is expected to follow the code of conduct.

License

Grace Framework is released under MIT

Metadata

Release files for grace-framework 1.5.0a0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for grace-framework 1.5.0a0
File Size Uploaded
grace_framework-1.5.0a0.tar.gz 61.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for grace-framework 1.5.0a0
File Interpreter ABI Platform
grace_framework-1.5.0a0-py3-none-any.whl Python 3 none any Details

Total release size: 99.7 kB

Release files / grace_framework-1.5.0a0.tar.gz

Download URL grace_framework-1.5.0a0.tar.gz
Size 61.2 kB
Tags Source
SHA-256 checksum
How to use checksums
3496546c5c2fef6107797a3e08462a943c2e319e7f2f5b9f36bb37db92a829ac
BLAKE2b-256 checksum
How to use checksums
ffb766fc697753c50e6a8165c9776b4ca67c7abc896de95c215ac39b0b2c98b7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 31, 2026.

Transparency log

Release files / grace_framework-1.5.0a0-py3-none-any.whl

Download URL grace_framework-1.5.0a0-py3-none-any.whl
Size 38.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e32e75834e7221a94ea87946f76920db795bba5f16a51f26d84e90168f083f09
BLAKE2b-256 checksum
How to use checksums
7348c605f1f30aa8587ec16bc5937167b33d4357c91cc701c14d7474e2af32f5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 31, 2026.

Transparency log
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page