ErisPulse 1.1.12__py3-none-any.whl → 1.1.14__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,165 @@
1
+ Metadata-Version: 2.4
2
+ Name: ErisPulse
3
+ Version: 1.1.14
4
+ Summary: ErisPulse 是一个模块化、可扩展的异步 Python SDK 框架,主要用于构建高效、可维护的机器人应用程序。
5
+ Author-email: "艾莉丝·格雷拉特(WSu2059)" <wsu2059@qq.com>, runoneall <runoobsteve@gmail.com>
6
+ License: MIT License
7
+
8
+ Copyright (c) 2025 ErisPulse
9
+
10
+ Permission is hereby granted, free of charge, to any person obtaining a copy
11
+ of this software and associated documentation files (the "Software"), to deal
12
+ in the Software without restriction, including without limitation the rights
13
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14
+ copies of the Software, and to permit persons to whom the Software is
15
+ furnished to do so, subject to the following conditions:
16
+
17
+ The above copyright notice and this permission notice shall be included in all
18
+ copies or substantial portions of the Software.
19
+
20
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
26
+ SOFTWARE.
27
+ License-File: LICENSE
28
+ Classifier: Development Status :: 5 - Production/Stable
29
+ Classifier: Intended Audience :: Developers
30
+ Classifier: License :: OSI Approved :: MIT License
31
+ Classifier: Operating System :: OS Independent
32
+ Classifier: Programming Language :: Python :: 3
33
+ Classifier: Programming Language :: Python :: 3 :: Only
34
+ Classifier: Programming Language :: Python :: 3.9
35
+ Classifier: Programming Language :: Python :: 3.10
36
+ Classifier: Programming Language :: Python :: 3.11
37
+ Classifier: Programming Language :: Python :: 3.12
38
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
39
+ Requires-Python: >=3.9
40
+ Requires-Dist: aiohttp
41
+ Requires-Dist: watchdog
42
+ Description-Content-Type: text/markdown
43
+
44
+ ![](./.github/assets/erispulse_logo.png)
45
+ **ErisPulse** 是基于 [Framer](https://github.com/FramerOrg/Framer) 构建的异步机器人开发框架。
46
+
47
+ [![FramerOrg](https://img.shields.io/badge/合作伙伴-FramerOrg-blue?style=flat-square)](https://github.com/FramerOrg)
48
+ [![License](https://img.shields.io/github/license/ErisPulse/ErisPulse?style=flat-square)](https://github.com/ErisPulse/ErisPulse/blob/main/LICENSE)
49
+
50
+ [![Python Versions](https://img.shields.io/pypi/pyversions/ErisPulse?style=flat-square)](https://pypi.org/project/ErisPulse/)
51
+
52
+ > 文档站:
53
+
54
+ [![Docs-Main](https://img.shields.io/badge/docs-main_site-blue?style=flat-square)](https://www.erisdev.com/docs.html)
55
+ [![Docs-CF Pages](https://img.shields.io/badge/docs-cloudflare-blue?style=flat-square)](https://erispulse.pages.dev/docs.html)
56
+ [![Docs-GitHub](https://img.shields.io/badge/docs-github-blue?style=flat-square)](https://erispulse.github.io/docs.html)
57
+ [![Docs-Netlify](https://img.shields.io/badge/docs-netlify-blue?style=flat-square)](https://erispulse.netlify.app/docs.htm)
58
+
59
+ - [GitHub 社区讨论](https://github.com/ErisPulse/ErisPulse/discussions)
60
+
61
+ ### 框架选型指南
62
+ | 需求 | 推荐框架 | 理由 |
63
+ |-------------------|----------------|-----------------------------|
64
+ | 轻量化/底层模块化 | [Framer](https://github.com/FramerOrg/Framer) | 高度解耦的模块化设计 |
65
+ | 全功能机器人开发 | ErisPulse | 开箱即用的完整解决方案 |
66
+
67
+ ## ✨ 核心特性
68
+ - ⚡ 完全异步架构设计(async/await)
69
+ - 🧩 模块化插件系统
70
+ - 🔁 支持python热重载
71
+ - 🛑 统一的错误管理
72
+ - 🛠️ 灵活的配置管理
73
+
74
+ ## 📦 安装
75
+
76
+ ```bash
77
+ pip install ErisPulse --upgrade
78
+ ```
79
+
80
+ ---
81
+
82
+ ## 开发者快速入门
83
+
84
+ ErisPulse SDK 支持使用 [`uv`](https://github.com/astral-sh/uv) 进行完整的开发环境管理。你可以**无需手动安装 Python**,直接通过 `uv` 下载 Python、创建虚拟环境并开始开发。
85
+
86
+ ### 安装 `uv`
87
+
88
+ #### macOS / Linux:
89
+ ```bash
90
+ curl -LsSf https://astral.sh/uv/install.sh | sh
91
+ ```
92
+
93
+ #### Windows (PowerShell):
94
+ ```powershell
95
+ powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
96
+ ```
97
+
98
+ 验证是否安装成功:
99
+ ```bash
100
+ uv --version
101
+ ```
102
+
103
+ ### 克隆项目并进入目录
104
+
105
+ ```bash
106
+ git clone https://github.com/ErisPulse/ErisPulse.git
107
+ cd ErisPulse
108
+ ```
109
+
110
+ ### 使用 `uv` 自动下载 Python 并创建虚拟环境
111
+
112
+ ```bash
113
+ uv python install 3.12 # 自动下载并安装 Python 3.12
114
+ uv venv # 创建默认 .venv 虚拟环境
115
+ source .venv/bin/activate
116
+ # Windows: .venv\Scripts\activate
117
+ ```
118
+
119
+ > ✅ 如果你切换分支或需要不同 Python 版本,只需替换 `3.12` 为其他版本即可。
120
+
121
+ ### 安装依赖并开始开发
122
+
123
+ ```bash
124
+ uv pip install -e .
125
+ ```
126
+
127
+ 这将以“开发模式”安装 SDK,所有本地修改都会立即生效。
128
+
129
+ ### 验证安装
130
+
131
+ 运行以下命令确认 SDK 正常加载:
132
+
133
+ ```bash
134
+ python -c "from ErisPulse import sdk; sdk.init()"
135
+ ```
136
+
137
+ ### 运行测试
138
+
139
+ 我们提供了一个交互式测试脚本,可以帮助您快速验证SDK功能:
140
+
141
+ ```bash
142
+ uv run devs/test.py
143
+ ```
144
+
145
+ 测试脚本提供以下功能:
146
+ - 日志功能测试
147
+ - 环境配置测试
148
+ - 错误管理测试
149
+ - 工具函数测试
150
+ - 适配器功能测试
151
+ - 版本信息查看
152
+
153
+ ### 开始开发
154
+
155
+ 你可以通过 CLI 工具进行模块调试、热重载开发等操作:
156
+
157
+ ```bash
158
+ epsdk run your_script.py --reload
159
+ ```
160
+
161
+ ---
162
+
163
+ ## 🤝 贡献
164
+
165
+ 欢迎任何形式的贡献!无论是报告 bug、提出新功能请求,还是直接提交代码,都非常感谢。
@@ -0,0 +1,13 @@
1
+ ErisPulse/__init__.py,sha256=14y4ywMLOCN-w35UDpERJ-deV2DR0olZFcjY68hzeXw,11188
2
+ ErisPulse/__main__.py,sha256=CVk0bCv5zgJZKA7_LLyYOQCxPFUzTwhkOYVqf3M1YQE,50187
3
+ ErisPulse/adapter.py,sha256=3DayPbvWit2D8DTLIvhbP3862arv2UZuAkFnE9QWGro,17479
4
+ ErisPulse/db.py,sha256=a_5uTQk8w2TDp6J6AIQ4rF8Z2IvswuSg8q-Tx0SHfGA,24900
5
+ ErisPulse/logger.py,sha256=np6H4-x3xNpmoOGou5znsfv-iVlX56cVrsX8446cY-M,14764
6
+ ErisPulse/mods.py,sha256=oDVgEh56IUTLZDIxxWTQe5QvQSyWVAb8vhgd1fzFlYo,12253
7
+ ErisPulse/raiserr.py,sha256=Un8VGcVYDOSi7ptRVmyBzUTW7mQzDatqIza6919dQ1w,7034
8
+ ErisPulse/util.py,sha256=oa31SrzH-54exEgUhqkWxZuYScErl-rE7StDH4rkG3Y,15629
9
+ erispulse-1.1.14.dist-info/METADATA,sha256=MllU6eXjXF97rohrAKZul81ZYcKXZXYcjgJWOwa-xiA,5877
10
+ erispulse-1.1.14.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
11
+ erispulse-1.1.14.dist-info/entry_points.txt,sha256=AjKvOdYR7QGXVpEJhjUYUwV2JluE4lm9vNbknC3hjOM,155
12
+ erispulse-1.1.14.dist-info/licenses/LICENSE,sha256=plj4EYVfKAzc0ZWoC5T2vsQ86u0yLpu17NdAPeIcgVo,1066
13
+ erispulse-1.1.14.dist-info/RECORD,,
@@ -1,5 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (80.9.0)
2
+ Generator: hatchling 1.27.0
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
-
@@ -1,79 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: ErisPulse
3
- Version: 1.1.12
4
- Summary: ErisPulse 是一个模块化、可扩展的异步 Python SDK 框架,主要用于构建高效、可维护的机器人应用程序。
5
- Author-email: "艾莉丝·格雷拉特(WSu2059)" <wsu2059@qq.com>, runoneall <runoobsteve@gmail.com>
6
- Classifier: Development Status :: 5 - Production/Stable
7
- Classifier: Intended Audience :: Developers
8
- Classifier: License :: OSI Approved :: MIT License
9
- Classifier: Programming Language :: Python :: 3
10
- Classifier: Programming Language :: Python :: 3.7
11
- Classifier: Programming Language :: Python :: 3.8
12
- Classifier: Programming Language :: Python :: 3.9
13
- Classifier: Programming Language :: Python :: 3.10
14
- Classifier: Programming Language :: Python :: 3.11
15
- Classifier: Programming Language :: Python :: 3.12
16
- Classifier: Programming Language :: Python :: 3 :: Only
17
- Classifier: Operating System :: OS Independent
18
- Classifier: Topic :: Software Development :: Libraries :: Python Modules
19
- Requires-Python: >=3.7
20
- Description-Content-Type: text/markdown
21
- License-File: LICENSE
22
- Requires-Dist: aiohttp
23
- Requires-Dist: watchdog
24
- Dynamic: license-file
25
-
26
- ![](./.github/assets/erispulse_logo.png)
27
- **ErisPulse** 是基于 [Framer](https://github.com/FramerOrg/Framer) 构建的异步机器人开发框架。
28
-
29
- ## 合作伙伴
30
- [![FramerOrg](https://img.shields.io/badge/合作伙伴-FramerOrg-blue?style=flat-square)](https://github.com/FramerOrg)
31
-
32
- ### 框架选型指南
33
- | 需求 | 推荐框架 | 理由 |
34
- |-------------------|----------------|-----------------------------|
35
- | 轻量化/底层模块化 | [Framer](https://github.com/FramerOrg/Framer) | 高度解耦的模块化设计 |
36
- | 全功能机器人开发 | ErisPulse | 开箱即用的完整解决方案 |
37
-
38
-
39
- ## ✨ 核心特性
40
- - ⚡ 完全异步架构设计(async/await)
41
- - 🧩 模块化插件系统
42
- - 📜 内置日志系统
43
- - 🛑 统一的错误管理
44
- - 🛠️ 灵活的配置管理
45
-
46
- ## 📦 安装
47
-
48
- ```bash
49
- pip install ErisPulse --upgrade
50
- ```
51
-
52
- **要求**:Python ≥ 3.7,pip ≥ 20.0
53
-
54
- ## 🚀 快速开始
55
-
56
- ```python
57
- import asyncio
58
- from ErisPulse import sdk, logger
59
-
60
- async def main():
61
- sdk.init()
62
- logger.info("ErisPulse 已启动")
63
- # 这里可以添加自定义逻辑
64
-
65
- if __name__ == "__main__":
66
- asyncio.run(main())
67
- ```
68
-
69
- ## 导航
70
- - [开发者指南](docs/DEVELOPMENT.md)
71
- - [底层方法与接口](docs/REFERENCE.md)
72
- - [命令行工具](docs/CLI.md)
73
- - [源配置指南](docs/ORIGIN.md)
74
- - [更新日志](docs/CHANGELOG.md)
75
- > [GitHub 社区](https://github.com/ErisPulse/ErisPulse/discussions)
76
-
77
- ## 🤝 贡献
78
-
79
- 欢迎任何形式的贡献!无论是报告 bug、提出新功能请求,还是直接提交代码,都非常感谢。
@@ -1,14 +0,0 @@
1
- ErisPulse/__init__.py,sha256=tCgjl-0rUeiHV_2rdFlQ-CVTFzbKdjdqXvUApRc6Avk,8095
2
- ErisPulse/__main__.py,sha256=ZdrOqsZU1C5wJ4CycTge9l7IUldVUDtak17yWRxnxhs,47728
3
- ErisPulse/adapter.py,sha256=5ntqm5Xrzdi1F6N4kWhqiRzMavSO92Fj9WZ-d3-V2VM,8798
4
- ErisPulse/db.py,sha256=DuIc19GbCQMi17BWfLjaDHnthIbdysTSRxaYVFur07w,4424
5
- ErisPulse/logger.py,sha256=sMA1mUZvwJ8wHwdyCrgIf_VRICv_uBCkx3tmd1stF3E,6094
6
- ErisPulse/mods.py,sha256=lNiZP2EcfUhYRnOQwROyVnmhsfmk8JAZhmbhxfC2-VQ,3513
7
- ErisPulse/raiserr.py,sha256=z8BigWkVrBE9dD_dJa5np2YYREwdugyWXKE4_-LEO_Q,2616
8
- ErisPulse/util.py,sha256=ux3-QRT0_JjabL6S9KChhyR1E_CSRiVYEFYV5txML1M,3406
9
- erispulse-1.1.12.dist-info/licenses/LICENSE,sha256=plj4EYVfKAzc0ZWoC5T2vsQ86u0yLpu17NdAPeIcgVo,1066
10
- erispulse-1.1.12.dist-info/METADATA,sha256=BDRDFwkbWqz7WsebH1cKCbyLaCPBPumDkwFiMG2LJq4,2751
11
- erispulse-1.1.12.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
12
- erispulse-1.1.12.dist-info/entry_points.txt,sha256=AjKvOdYR7QGXVpEJhjUYUwV2JluE4lm9vNbknC3hjOM,155
13
- erispulse-1.1.12.dist-info/top_level.txt,sha256=Lm_qtkVvNJR8_dXh_qEDdl_12cZGpic-i4HUlVVUMZc,10
14
- erispulse-1.1.12.dist-info/RECORD,,
@@ -1 +0,0 @@
1
- ErisPulse