ErisPulse 1.0.0__zip → 1.0.2__zip

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.
@@ -10,11 +10,15 @@ setattr(sdk, "util", util)
10
10
 
11
11
  env.load_env_file()
12
12
 
13
+ import os
14
+
13
15
  def init():
14
- import os
15
- import sys
16
16
  try:
17
17
  sdkModulePath = os.path.join(os.path.dirname(__file__), "modules")
18
+
19
+ if not os.path.exists(sdkModulePath):
20
+ os.makedirs(sdkModulePath)
21
+
18
22
  sys.path.append(sdkModulePath)
19
23
 
20
24
  TempModules = [
@@ -1,10 +1,12 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: ErisPulse
3
- Version: 1.0.0
3
+ Version: 1.0.2
4
4
  Summary: ErisPulse 是一个模块化、可扩展的异步 Python SDK 框架,主要用于构建高效、可维护的机器人应用程序。
5
5
  Home-page: https://github.com/wsu2059q/ErisPulse
6
- Author: 艾莉丝·格雷拉特(WSu2059)&r1a
7
- Author-email: wsu2059@qq.com&dev@oneall.eu.org
6
+ Author: 艾莉丝·格雷拉特(WSu2059)
7
+ Author-email: wsu2059@qq.com
8
+ Maintainer: runoneall
9
+ Maintainer-email: runoobsteve@gmail.com
8
10
  License: MIT
9
11
  Classifier: Development Status :: 5 - Production/Stable
10
12
  Classifier: Intended Audience :: Developers
@@ -25,48 +27,23 @@ Dynamic: description
25
27
  Dynamic: description-content-type
26
28
  Dynamic: home-page
27
29
  Dynamic: license
30
+ Dynamic: maintainer
31
+ Dynamic: maintainer-email
28
32
  Dynamic: requires-dist
29
33
  Dynamic: requires-python
30
34
  Dynamic: summary
31
35
 
32
36
  # ErisPulse
33
37
 
38
+ v1.0.2此版本修复首次加载时因为模块目录不存在而报错的问题
39
+
34
40
  本项目基于 [RyhBotPythonSDK V2](https://github.com/runoneall/RyhBotPythonSDK2) 构建,并由 [sdkFrame](https://github.com/runoneall/sdkFrame) 提供支持。这是一个异步版本的 SDK,可能在功能和特性上与原库存在一定差异。
35
41
 
36
42
  ErisPulse 是一个模块化、可扩展的异步 Python SDK 框架,主要用于构建高效、可维护的机器人应用程序。
37
43
 
38
44
  ## 开发指南
39
45
 
40
- 项目的模块化设计允许开发者通过实现符合规范的模块快速扩展功能。模块的结构和接口规范可以参考 [异步模块开发指南](https://github.com/wsu2059q/AsyncRyhBotPythonSDK2/blob/main/%E5%BC%82%E6%AD%A5%E6%A8%A1%E5%9D%97%E5%BC%80%E5%8F%91%E6%8C%87%E5%8D%97.md)。
41
-
42
- ## 项目结构
43
-
44
- ```
45
- ErisPulse/
46
- ├── __init__.py # 项目初始化
47
- ├── __main__.py # CLI 接口
48
- ├── envManager.py # 环境配置管理
49
- ├── errors.py # 自定义异常
50
- ├── logger.py # 日志记录
51
- ├── origin.py # 模块源管理
52
- ├── sdk.py # SDK 核心
53
- ├── util.py # 工具函数
54
- └── modules/ # 功能模块目录
55
- └── ...
56
- ```
57
-
58
- ## 主要模块说明
59
-
60
- - **envManager**: 负责管理环境配置和模块信息,使用 SQLite 数据库存储配置
61
- - **logger**: 提供日志功能,支持不同日志级别
62
- - **origin**: 管理模块源,添加、删除、更新模块源等方法在此处
63
- - **util**: 提供工具函数,拓扑排序、异步执行
64
- - **modules**: 功能模块目录
65
-
66
- ## 使用说明
67
-
68
- 1. 安装依赖:`pip install -r requirements.txt`
69
- 2. 查看可用CLI命令:`python -m ErisPulse`
46
+ 项目的模块化设计允许开发者通过实现符合规范的模块快速扩展功能。模块的结构和接口规范可以参考 [开发指南](https://github.com/wsu2059q/ErisPulse/blob/main/%E5%BC%80%E5%8F%91%E6%8C%87%E5%8D%97.md)。
70
47
 
71
48
  ### CLI命令介绍
72
49
 
@@ -134,12 +111,12 @@ ErisPulse/
134
111
  #### 提供以下命令方便您快速添加源
135
112
  ```bash
136
113
  # 添加异步模块源
137
- python -m ErisPulse origin add https://github.com/wsu2059q/AsyncRBPS-Origin/raw/refs/heads/main/map.json
114
+ python -m ErisPulse origin add https://github.com/wsu2059q/AsyncRBPS-Origin/raw/refs/heads/main/
138
115
  # 添加同步模块源
139
- python -m ErisPulse origin add https://runoneall.serv00.net/ryhsdk2/map.json
116
+ python -m ErisPulse origin add https://runoneall.serv00.net/ryhsdk2/
140
117
 
141
118
  # 添加自定义模块源
142
- # python -m ErisPulse origin add https://example.com/modules/map.json
119
+ # python -m ErisPulse origin add https://example.com/modules/map.json - (map.json可省略,会自动搜索该文件)
143
120
 
144
121
  # 查看当前配置的模块源
145
122
  python -m ErisPulse origin list
@@ -1,10 +1,12 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: ErisPulse
3
- Version: 1.0.0
3
+ Version: 1.0.2
4
4
  Summary: ErisPulse 是一个模块化、可扩展的异步 Python SDK 框架,主要用于构建高效、可维护的机器人应用程序。
5
5
  Home-page: https://github.com/wsu2059q/ErisPulse
6
- Author: 艾莉丝·格雷拉特(WSu2059)&r1a
7
- Author-email: wsu2059@qq.com&dev@oneall.eu.org
6
+ Author: 艾莉丝·格雷拉特(WSu2059)
7
+ Author-email: wsu2059@qq.com
8
+ Maintainer: runoneall
9
+ Maintainer-email: runoobsteve@gmail.com
8
10
  License: MIT
9
11
  Classifier: Development Status :: 5 - Production/Stable
10
12
  Classifier: Intended Audience :: Developers
@@ -25,48 +27,23 @@ Dynamic: description
25
27
  Dynamic: description-content-type
26
28
  Dynamic: home-page
27
29
  Dynamic: license
30
+ Dynamic: maintainer
31
+ Dynamic: maintainer-email
28
32
  Dynamic: requires-dist
29
33
  Dynamic: requires-python
30
34
  Dynamic: summary
31
35
 
32
36
  # ErisPulse
33
37
 
38
+ v1.0.2此版本修复首次加载时因为模块目录不存在而报错的问题
39
+
34
40
  本项目基于 [RyhBotPythonSDK V2](https://github.com/runoneall/RyhBotPythonSDK2) 构建,并由 [sdkFrame](https://github.com/runoneall/sdkFrame) 提供支持。这是一个异步版本的 SDK,可能在功能和特性上与原库存在一定差异。
35
41
 
36
42
  ErisPulse 是一个模块化、可扩展的异步 Python SDK 框架,主要用于构建高效、可维护的机器人应用程序。
37
43
 
38
44
  ## 开发指南
39
45
 
40
- 项目的模块化设计允许开发者通过实现符合规范的模块快速扩展功能。模块的结构和接口规范可以参考 [异步模块开发指南](https://github.com/wsu2059q/AsyncRyhBotPythonSDK2/blob/main/%E5%BC%82%E6%AD%A5%E6%A8%A1%E5%9D%97%E5%BC%80%E5%8F%91%E6%8C%87%E5%8D%97.md)。
41
-
42
- ## 项目结构
43
-
44
- ```
45
- ErisPulse/
46
- ├── __init__.py # 项目初始化
47
- ├── __main__.py # CLI 接口
48
- ├── envManager.py # 环境配置管理
49
- ├── errors.py # 自定义异常
50
- ├── logger.py # 日志记录
51
- ├── origin.py # 模块源管理
52
- ├── sdk.py # SDK 核心
53
- ├── util.py # 工具函数
54
- └── modules/ # 功能模块目录
55
- └── ...
56
- ```
57
-
58
- ## 主要模块说明
59
-
60
- - **envManager**: 负责管理环境配置和模块信息,使用 SQLite 数据库存储配置
61
- - **logger**: 提供日志功能,支持不同日志级别
62
- - **origin**: 管理模块源,添加、删除、更新模块源等方法在此处
63
- - **util**: 提供工具函数,拓扑排序、异步执行
64
- - **modules**: 功能模块目录
65
-
66
- ## 使用说明
67
-
68
- 1. 安装依赖:`pip install -r requirements.txt`
69
- 2. 查看可用CLI命令:`python -m ErisPulse`
46
+ 项目的模块化设计允许开发者通过实现符合规范的模块快速扩展功能。模块的结构和接口规范可以参考 [开发指南](https://github.com/wsu2059q/ErisPulse/blob/main/%E5%BC%80%E5%8F%91%E6%8C%87%E5%8D%97.md)。
70
47
 
71
48
  ### CLI命令介绍
72
49
 
@@ -134,12 +111,12 @@ ErisPulse/
134
111
  #### 提供以下命令方便您快速添加源
135
112
  ```bash
136
113
  # 添加异步模块源
137
- python -m ErisPulse origin add https://github.com/wsu2059q/AsyncRBPS-Origin/raw/refs/heads/main/map.json
114
+ python -m ErisPulse origin add https://github.com/wsu2059q/AsyncRBPS-Origin/raw/refs/heads/main/
138
115
  # 添加同步模块源
139
- python -m ErisPulse origin add https://runoneall.serv00.net/ryhsdk2/map.json
116
+ python -m ErisPulse origin add https://runoneall.serv00.net/ryhsdk2/
140
117
 
141
118
  # 添加自定义模块源
142
- # python -m ErisPulse origin add https://example.com/modules/map.json
119
+ # python -m ErisPulse origin add https://example.com/modules/map.json - (map.json可省略,会自动搜索该文件)
143
120
 
144
121
  # 查看当前配置的模块源
145
122
  python -m ErisPulse origin list
@@ -1,41 +1,14 @@
1
1
  # ErisPulse
2
2
 
3
+ v1.0.2此版本修复首次加载时因为模块目录不存在而报错的问题
4
+
3
5
  本项目基于 [RyhBotPythonSDK V2](https://github.com/runoneall/RyhBotPythonSDK2) 构建,并由 [sdkFrame](https://github.com/runoneall/sdkFrame) 提供支持。这是一个异步版本的 SDK,可能在功能和特性上与原库存在一定差异。
4
6
 
5
7
  ErisPulse 是一个模块化、可扩展的异步 Python SDK 框架,主要用于构建高效、可维护的机器人应用程序。
6
8
 
7
9
  ## 开发指南
8
10
 
9
- 项目的模块化设计允许开发者通过实现符合规范的模块快速扩展功能。模块的结构和接口规范可以参考 [异步模块开发指南](https://github.com/wsu2059q/AsyncRyhBotPythonSDK2/blob/main/%E5%BC%82%E6%AD%A5%E6%A8%A1%E5%9D%97%E5%BC%80%E5%8F%91%E6%8C%87%E5%8D%97.md)。
10
-
11
- ## 项目结构
12
-
13
- ```
14
- ErisPulse/
15
- ├── __init__.py # 项目初始化
16
- ├── __main__.py # CLI 接口
17
- ├── envManager.py # 环境配置管理
18
- ├── errors.py # 自定义异常
19
- ├── logger.py # 日志记录
20
- ├── origin.py # 模块源管理
21
- ├── sdk.py # SDK 核心
22
- ├── util.py # 工具函数
23
- └── modules/ # 功能模块目录
24
- └── ...
25
- ```
26
-
27
- ## 主要模块说明
28
-
29
- - **envManager**: 负责管理环境配置和模块信息,使用 SQLite 数据库存储配置
30
- - **logger**: 提供日志功能,支持不同日志级别
31
- - **origin**: 管理模块源,添加、删除、更新模块源等方法在此处
32
- - **util**: 提供工具函数,拓扑排序、异步执行
33
- - **modules**: 功能模块目录
34
-
35
- ## 使用说明
36
-
37
- 1. 安装依赖:`pip install -r requirements.txt`
38
- 2. 查看可用CLI命令:`python -m ErisPulse`
11
+ 项目的模块化设计允许开发者通过实现符合规范的模块快速扩展功能。模块的结构和接口规范可以参考 [开发指南](https://github.com/wsu2059q/ErisPulse/blob/main/%E5%BC%80%E5%8F%91%E6%8C%87%E5%8D%97.md)。
39
12
 
40
13
  ### CLI命令介绍
41
14
 
@@ -103,16 +76,16 @@ ErisPulse/
103
76
  #### 提供以下命令方便您快速添加源
104
77
  ```bash
105
78
  # 添加异步模块源
106
- python -m ErisPulse origin add https://github.com/wsu2059q/AsyncRBPS-Origin/raw/refs/heads/main/map.json
79
+ python -m ErisPulse origin add https://github.com/wsu2059q/AsyncRBPS-Origin/raw/refs/heads/main/
107
80
  # 添加同步模块源
108
- python -m ErisPulse origin add https://runoneall.serv00.net/ryhsdk2/map.json
81
+ python -m ErisPulse origin add https://runoneall.serv00.net/ryhsdk2/
109
82
 
110
83
  # 添加自定义模块源
111
- # python -m ErisPulse origin add https://example.com/modules/map.json
84
+ # python -m ErisPulse origin add https://example.com/modules/map.json - (map.json可省略,会自动搜索该文件)
112
85
 
113
86
  # 查看当前配置的模块源
114
87
  python -m ErisPulse origin list
115
88
 
116
89
  # 更新模块列表
117
90
  python -m ErisPulse update
118
- ```
91
+ ```
@@ -2,9 +2,11 @@ from setuptools import setup, find_packages
2
2
 
3
3
  setup(
4
4
  name='ErisPulse',
5
- version='1.0.0',
6
- author='艾莉丝·格雷拉特(WSu2059)&r1a',
7
- author_email='wsu2059@qq.com&dev@oneall.eu.org',
5
+ version='1.0.2',
6
+ author='艾莉丝·格雷拉特(WSu2059)',
7
+ author_email='wsu2059@qq.com',
8
+ maintainer='runoneall',
9
+ maintainer_email='runoobsteve@gmail.com',
8
10
  description='ErisPulse 是一个模块化、可扩展的异步 Python SDK 框架,主要用于构建高效、可维护的机器人应用程序。',
9
11
  long_description=open('README.md', encoding='utf-8').read(),
10
12
  long_description_content_type='text/markdown',
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes