The Core of HydroRoll, The Loader of your rules packages.
Project description
HydroRollCore'水系核心
🎁 Getting
- 安装库
在命令行输入。
git clone https://github.com/HydroRoll-Team/HydroRollCore.git
cd HydroRollCore
pdm install
# 或者使用pip
# pip install HydroRollCore
- 创建规则包实例
mkdir myrules && cd myrules && mkdir rule1
echo.> config.toml
echo.> __init__.py
在 __init__.py
创建一个 rule
实例并继承 Rule
基类, 通过编写合适的相关方法与类注册规则包实现规则的自定义。
from HydroRollCore import Rule
class Myrule(Rule):
"""自设规则包,继承 Rules 基类"""
- 合理修改你的
config.toml
配置文件,完成注册!
🎍Sites
https://grps.retrofor.space (recommend)
https://grps-v1.netlify.app
https://hydroroll-team.github.io/HydroRollCore/
📄 License
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
hydrorollcore-0.1.0rc1.tar.gz
(10.5 kB
view hashes)
Built Distribution
Close
Hashes for hydrorollcore-0.1.0rc1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a231aacb456b5b04bcc39927d9e7c966bbeb4fa8da779f3af27556ebf4a5807b |
|
MD5 | fe1d95e45aa6f3bd22e00a4f79945738 |
|
BLAKE2b-256 | b5cd1569c187de9c648156b9df0df24825a08787d35a8fcc1a1363874cf10a6e |