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 mizuki
Quick Example
import mizuki
bot = mizuki.Bot(
intents=mizuki.IntentFlags.standard()
)
@bot.setup()
async def setup():
commands = await bot.commands.sync_all()
print(f"Synced {len(commands)} commands!")
@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
Documentation can be viewed here.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mizuki-0.2.0.tar.gz.
File metadata
- Download URL: mizuki-0.2.0.tar.gz
- Upload date:
- Size: 53.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bc99809ddf97d6d16a30fa2b7734f7d3f1bc088541121166b10a0b786c8ca8d4
|
|
| MD5 |
c7623e5ba6548c084a0891ab2eec92d6
|
|
| BLAKE2b-256 |
06f35ca3e672a6d11e3243c853b8934db6d9d815168c3a85129232e2dae8c668
|
Provenance
The following attestation bundles were made for mizuki-0.2.0.tar.gz:
Publisher:
python-publish.yml on TakemiSora/mizuki
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mizuki-0.2.0.tar.gz -
Subject digest:
bc99809ddf97d6d16a30fa2b7734f7d3f1bc088541121166b10a0b786c8ca8d4 - Sigstore transparency entry: 1789663454
- Sigstore integration time:
-
Permalink:
TakemiSora/mizuki@7f11ea1b0da6ae4c24931855241eeb76a3a8b8b1 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/TakemiSora
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@7f11ea1b0da6ae4c24931855241eeb76a3a8b8b1 -
Trigger Event:
release
-
Statement type:
File details
Details for the file mizuki-0.2.0-py3-none-any.whl.
File metadata
- Download URL: mizuki-0.2.0-py3-none-any.whl
- Upload date:
- Size: 74.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c7dbd1a51958ec63096eb819d5f5d95a601c0b27ed618f8504d80813e83d27ce
|
|
| MD5 |
9dc6836764657b6c7765320e9ee02bdf
|
|
| BLAKE2b-256 |
e586c9c3a8340b7c6277424697cdb6329d8ca3048084add6ac62d30434fd6f68
|
Provenance
The following attestation bundles were made for mizuki-0.2.0-py3-none-any.whl:
Publisher:
python-publish.yml on TakemiSora/mizuki
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mizuki-0.2.0-py3-none-any.whl -
Subject digest:
c7dbd1a51958ec63096eb819d5f5d95a601c0b27ed618f8504d80813e83d27ce - Sigstore transparency entry: 1789663480
- Sigstore integration time:
-
Permalink:
TakemiSora/mizuki@7f11ea1b0da6ae4c24931855241eeb76a3a8b8b1 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/TakemiSora
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@7f11ea1b0da6ae4c24931855241eeb76a3a8b8b1 -
Trigger Event:
release
-
Statement type: