Skip to main content

A modern async-based API wrapper for Discord API.

Project description

Mizuki

A modern async-based discord API wrapper written for Python. Currently in early development, not meant to be used in production as of now.
I aim for this library to closely mirror the discord API.

Installation

pip install git+https://github.com/TakemiSora/mizuki

Quick Example

import mizuki

bot = mizuki.Bot(
     intents=mizuki.IntentFlags.standard()
)

@bot.command(name="ping", description="Send a ping to the bot")
async def ping(interaction: mizuki.Interaction):
    await interaction.response.send_response("Pong!")

bot.run("TOKEN-HERE")

Documentation

There is no current hosted documentation (yet), but a local version of the documentation can be viewed by doing the following steps:

# 1. Clone the repository
git clone https://github.com/TakemiSora/mizuki

# 2. Navigate into the docs directory
cd mizuki/docs/

# 3. Build the HTML documentation
## Linux/Mac
make html

## Windows
make.bat html

# 4. Start a local server to view them
cd build/html
python -m http.server 8000

Then open https://localhost:8000/ to open the documentation.

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

mizuki-0.1.0.tar.gz (51.1 kB view details)

Uploaded Source

Built Distribution

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

mizuki-0.1.0-py3-none-any.whl (70.8 kB view details)

Uploaded Python 3

File details

Details for the file mizuki-0.1.0.tar.gz.

File metadata

  • Download URL: mizuki-0.1.0.tar.gz
  • Upload date:
  • Size: 51.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for mizuki-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e7e9c4d3491553373f3920455d2b4234895f72edf6e68219c7b66bb3f390e44c
MD5 b47dc415913fa2889f19e85c112a6f17
BLAKE2b-256 1ef96ddfeab3735d5a99b79e78adf9163644e4a7576c57511ee1cef16ea47dfc

See more details on using hashes here.

File details

Details for the file mizuki-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: mizuki-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 70.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.19 {"installer":{"name":"uv","version":"0.11.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for mizuki-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b85ce584e3a1b6d6fe35ac0c5b59461b44a6bd1c9cbed8d6c17dad950321fa55
MD5 e15000b3658b168f9777a76d55835ab5
BLAKE2b-256 17eeb4bae65e1747e51015080636041700a21221c1df74841017ae6771c27eec

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