-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cff0ce8
commit 0fcbef1
Showing
7 changed files
with
81 additions
and
654 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
C:/Users/admin/anaconda3/python.EXE | ||
D:/GitProject/HydroRoll-Team/HydroRollCore/.venv/Scripts/python.exe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"restructuredtext.preview.name": "docutils" | ||
"restructuredtext.preview.name": "sphinx" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,47 @@ | ||
HydroRollCore | ||
============= | ||
|
||
Core. | ||
|
||
.. image:: https://images.repography.com/39938419/HydroRoll-Team/HydroRollCore/structure/tMt9z2RexIQ8rnXCIMFWe7YTZtx9reheQCtxqgPqZ1Q/XERnotqf4h5EPFL215lPSb7Dk3fQ5EUniRD-gEckW3M_table.svg | ||
:alt: Structure | ||
:target: https://github.com/HydroRoll-Team/HydroRollCore | ||
:width: 60 | ||
:align: right | ||
|
||
|
||
HydroRoll-Core => 水系核心 | ||
========================== | ||
|
||
去中心化应用程序。 | ||
|
||
📕 水系核心是骰系去中心化的一种解决方案,提供了强大的 TRPG 规则书处理功能。 | ||
支持在 CLI 中单独使用,同时也提供 REST API 和 WebSocket 通信接口以便其他语言接入。 | ||
此外,它能够读取一种约定式的规则包,并行处理规则包,生成 PDF 文件和本地在线文档站点。 | ||
|
||
- 🦀 *Rust* 底层实现,“性能优异、速度惊人”。 | ||
- 🐍 *Python* 编写的顶层业务逻辑,方便使用、更快入门。 | ||
- 📦 兼容的规则包继承解决方案。 | ||
- 🛠️ *CLI* 呼出,通过脚手架可以直接使用功能。 | ||
- 📃 多语言支持:提供 *REST API* 和 *WebSocket* 接口,支持多语言接入和交互。 | ||
- 🏗️ 并行处理,使用 *Rust* 实现的规则包加载模块支持并行处理,提高性能。 | ||
- 📚 *PDF* 生成,结合自定义 *PDF* 模板,能够生成符合需求的 *PDF* 书籍。 | ||
- 🌏 离线文档与在线协作站点,使用 *Sphinx* 框架与 *Vue* 技术栈生成本地文档与在线站点。 | ||
|
||
---- | ||
|
||
`AGPL3.0`_ © 2023-PRESENT `简律纯`_ & `HydroRoll-Team`_. | ||
|
||
|license icon| | ||
|
||
|FOSSA Status| | ||
|
||
|
||
|
||
.. uri list above: | ||
.. _AGPL3.0: https://github.com/HydroRoll-Team/HydroRollCore/blob/main/LICENSE | ||
.. _简律纯: https://github.com/HsiangNianian | ||
.. _HydroRoll-Team: https://github.com/HydroRoll-Team | ||
|
||
.. image list above: | ||
.. |license icon| image:: https://app.fossa.com/api/projects/git%2Bgithub.com%2FHydroRoll-Team%2FHydroRollCore.svg?type=shield&issueType=license | ||
:target: https://app.fossa.com/projects/git%2Bgithub.com%2FHydroRoll-Team%2FHydroRollCore?ref=badge_shield&issueType=license | ||
.. |FOSSA Status| image:: https://app.fossa.com/api/projects/git%2Bgithub.com%2FHydroRoll-Team%2FHydroRollCore.svg?type=large&issueType=license | ||
:target: https://app.fossa.com/projects/git%2Bgithub.com%2FHydroRoll-Team%2FHydroRollCore?ref=badge_large&issueType=license |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
from .hydro_roll_core import * | ||
from . import corelib | ||
|
||
def sum_words(a: str, b: str) -> str: | ||
return a + b | ||
|
||
return a + b |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,6 @@ description = "Core of HydroRoll System." | |
authors = [{ name = "简律纯", email = "[email protected]" }] | ||
dependencies = [ | ||
"ply>=3.11", | ||
"pip>=24.0", | ||
] | ||
requires-python = ">=3.9" | ||
readme = "README.rst" | ||
|
@@ -20,7 +19,6 @@ homepage = "https://core.hydroroll.team/" | |
repository = "https://github.com/HydroRoll-Team/HydroRollCore" | ||
documentation = "https://core.hydroroll.team/" | ||
|
||
|
||
[tool.pdm.dev-dependencies] | ||
docs = [ | ||
"furo>=2024.1.29", | ||
|
@@ -34,6 +32,9 @@ docs = [ | |
lint = [ | ||
"ruff>=0.3.0", | ||
] | ||
dev = [ | ||
"pip>=24.0", | ||
] | ||
|
||
[tool.ruff] | ||
# Exclude a variety of commonly ignored directories. | ||
|
@@ -97,3 +98,6 @@ skip-magic-trailing-comma = false | |
|
||
# Like Black, automatically detect the appropriate line ending. | ||
line-ending = "auto" | ||
|
||
[tool.maturin] | ||
module-name = "hydro_roll_core.corelib" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters