A framework for OICQ(QQ, made by Tencent) headless client "Mirai".
Project description
Mirai Framework Core for Python
Derived from Python-Mirai. If you decided to Star this project, please also Star the original project.
A Flask like Python wrapper of Mirai-HTTP-API
Installation
Install from PyPI
pip install python-mirai-core
Install from github
pip install git+git:://github.com/NatriumLab/python-mirai-core
Features
-
Updater handshake with mirai-console automatically when console is restarted or session is expired
-
Similar logic to python-telegram-bot or aiogram
-
Supports multiple listener for single event, use
return True
to block further calling for this event only
Example
Basic example: see demo folder.
Comprehensive example: see UMR
Fundamentals: Bot is for sending and Updater is for receiving.
Thanks
Thanks mamoe
brings us mirai
, a tremendous work that
enables boundless possibilities for QQ Bots.
License
Same as mirai
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
File details
Details for the file python-mirai-core-0.4.tar.gz
.
File metadata
- Download URL: python-mirai-core-0.4.tar.gz
- Upload date:
- Size: 14.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | da8380532cc92d0db85e78e9e6ef0081d4b3379c5060106617a4726abd7de574 |
|
MD5 | 5026dd2c0b7acf4376948fa5ea4152ff |
|
BLAKE2b-256 | 5a669c1934467f9d6a782f8e2a3a3e8c14e43c6db7dba81ec3de7dddb3d733fa |