obstruct 0.2.10__tar.gz → 0.2.12__tar.gz

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.
Files changed (30) hide show
  1. {obstruct-0.2.10 → obstruct-0.2.12}/.idea/workspace.xml +13 -5
  2. {obstruct-0.2.10 → obstruct-0.2.12}/PKG-INFO +1 -1
  3. obstruct-0.2.12/src/obstruct/__init__.py +19 -0
  4. obstruct-0.2.12/src/obstruct/__version__.py +1 -0
  5. obstruct-0.2.10/src/obstruct/__init__.py +0 -3
  6. obstruct-0.2.10/src/obstruct/__version__.py +0 -1
  7. {obstruct-0.2.10 → obstruct-0.2.12}/.idea/.gitignore +0 -0
  8. {obstruct-0.2.10 → obstruct-0.2.12}/.idea/inspectionProfiles/Project_Default.xml +0 -0
  9. {obstruct-0.2.10 → obstruct-0.2.12}/.idea/inspectionProfiles/profiles_settings.xml +0 -0
  10. {obstruct-0.2.10 → obstruct-0.2.12}/.idea/misc.xml +0 -0
  11. {obstruct-0.2.10 → obstruct-0.2.12}/.idea/modules.xml +0 -0
  12. {obstruct-0.2.10 → obstruct-0.2.12}/.idea/obstruct.iml +0 -0
  13. {obstruct-0.2.10 → obstruct-0.2.12}/.idea/vcs.xml +0 -0
  14. {obstruct-0.2.10 → obstruct-0.2.12}/README.md +0 -0
  15. {obstruct-0.2.10 → obstruct-0.2.12}/pyproject.toml +0 -0
  16. {obstruct-0.2.10 → obstruct-0.2.12}/src/obstruct/aot/__init__.py +0 -0
  17. {obstruct-0.2.10 → obstruct-0.2.12}/src/obstruct/aot/aot.py +0 -0
  18. {obstruct-0.2.10 → obstruct-0.2.12}/src/obstruct/aot/base.py +0 -0
  19. {obstruct-0.2.10 → obstruct-0.2.12}/src/obstruct/aot/pack.py +0 -0
  20. {obstruct-0.2.10 → obstruct-0.2.12}/src/obstruct/aot/unpack.py +0 -0
  21. {obstruct-0.2.10 → obstruct-0.2.12}/src/obstruct/metadata_marks.py +0 -0
  22. {obstruct-0.2.10 → obstruct-0.2.12}/src/obstruct/methods.py +0 -0
  23. {obstruct-0.2.10 → obstruct-0.2.12}/src/obstruct/struct_type.py +0 -0
  24. {obstruct-0.2.10 → obstruct-0.2.12}/src/obstruct/types/__init__.py +0 -0
  25. {obstruct-0.2.10 → obstruct-0.2.12}/src/obstruct/types/base.py +0 -0
  26. {obstruct-0.2.10 → obstruct-0.2.12}/src/obstruct/types/types.py +0 -0
  27. {obstruct-0.2.10 → obstruct-0.2.12}/src/obstruct/types/types.pyi +0 -0
  28. {obstruct-0.2.10 → obstruct-0.2.12}/test/test.py +0 -0
  29. {obstruct-0.2.10 → obstruct-0.2.12}/test/test_speed.py +0 -0
  30. {obstruct-0.2.10 → obstruct-0.2.12}/uv.lock +0 -0
@@ -4,10 +4,9 @@
4
4
  <option name="autoReloadType" value="SELECTIVE" />
5
5
  </component>
6
6
  <component name="ChangeListManager">
7
- <list default="true" id="b482b6b4-48ce-4be1-bf3c-a72ec254fa35" name="更改" comment="fix: 修复 slots 的生成逻辑">
8
- <change afterPath="$PROJECT_DIR$/src/obstruct/metadata_marks.py" afterDir="false" />
7
+ <list default="true" id="b482b6b4-48ce-4be1-bf3c-a72ec254fa35" name="更改" comment="feat: 更新版本号(跳过一次版本号更改),添加 NOT_A_FIELD 标记控制一个字段是否该被当作二进制字段解析">
8
+ <change beforePath="$PROJECT_DIR$/src/obstruct/__init__.py" beforeDir="false" afterPath="$PROJECT_DIR$/src/obstruct/__init__.py" afterDir="false" />
9
9
  <change beforePath="$PROJECT_DIR$/src/obstruct/__version__.py" beforeDir="false" afterPath="$PROJECT_DIR$/src/obstruct/__version__.py" afterDir="false" />
10
- <change beforePath="$PROJECT_DIR$/src/obstruct/struct_type.py" beforeDir="false" afterPath="$PROJECT_DIR$/src/obstruct/struct_type.py" afterDir="false" />
11
10
  </list>
12
11
  <option name="SHOW_DIALOG" value="false" />
13
12
  <option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -232,7 +231,15 @@
232
231
  <option name="project" value="LOCAL" />
233
232
  <updated>1786966736535</updated>
234
233
  </task>
235
- <option name="localTasksCounter" value="13" />
234
+ <task id="LOCAL-00013" summary="feat: 更新版本号(跳过一次版本号更改),添加 NOT_A_FIELD 标记控制一个字段是否该被当作二进制字段解析">
235
+ <option name="closed" value="true" />
236
+ <created>1786968425494</created>
237
+ <option name="number" value="00013" />
238
+ <option name="presentableId" value="LOCAL-00013" />
239
+ <option name="project" value="LOCAL" />
240
+ <updated>1786968425494</updated>
241
+ </task>
242
+ <option name="localTasksCounter" value="14" />
236
243
  <servers />
237
244
  </component>
238
245
  <component name="TypeScriptGeneratedFilesManager">
@@ -262,6 +269,7 @@
262
269
  <MESSAGE value="修复:unpack.py 中没有移除的调试逻辑&#10;更新版本号至 0.2.8" />
263
270
  <MESSAGE value="chore: 移除 test_speed.py 中的调试逻辑" />
264
271
  <MESSAGE value="fix: 修复 slots 的生成逻辑" />
265
- <option name="LAST_COMMIT_MESSAGE" value="fix: 修复 slots 的生成逻辑" />
272
+ <MESSAGE value="feat: 更新版本号(跳过一次版本号更改),添加 NOT_A_FIELD 标记控制一个字段是否该被当作二进制字段解析" />
273
+ <option name="LAST_COMMIT_MESSAGE" value="feat: 更新版本号(跳过一次版本号更改),添加 NOT_A_FIELD 标记控制一个字段是否该被当作二进制字段解析" />
266
274
  </component>
267
275
  </project>
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: obstruct
3
- Version: 0.2.10
3
+ Version: 0.2.12
4
4
  Author-email: LittleNightSong <LittleNightSongYO@outlook.com>
5
5
  Classifier: Development Status :: 3 - Alpha
6
6
  Classifier: Programming Language :: Python
@@ -0,0 +1,19 @@
1
+ from .methods import pack, unpack
2
+ from .struct_type import Struct
3
+ from .types import *
4
+ from .metadata_marks import Marks
5
+
6
+ # 定义一些清晰的类型别名
7
+
8
+ byte = signed_char
9
+ ubyte = unsigned_char
10
+
11
+ i8 = signed_char
12
+ i16 = short
13
+ i32 = int
14
+ i64 = long
15
+
16
+ u8 = unsigned_char
17
+ u16 = unsigned_short
18
+ u32 = unsigned_int
19
+ u64 = unsigned_long
@@ -0,0 +1 @@
1
+ version = "0.2.12"
@@ -1,3 +0,0 @@
1
- from .methods import pack, unpack
2
- from .struct_type import Struct
3
- from .types import *
@@ -1 +0,0 @@
1
- version = "0.2.10"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes