HydrogenLib-NEXT 0__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 (436) hide show
  1. hydrogenlib_next-0/.github/ISSUE_TEMPLATE/bug_template.yml +110 -0
  2. hydrogenlib_next-0/.github/workflows/build.yml +49 -0
  3. hydrogenlib_next-0/.github/workflows/python-publish.yml +68 -0
  4. hydrogenlib_next-0/.github/workflows/python-release-publish.yml +10 -0
  5. hydrogenlib_next-0/.gitignore +18 -0
  6. hydrogenlib_next-0/PKG-INFO +15 -0
  7. hydrogenlib_next-0/git-hooks/commit-msg.py +22 -0
  8. hydrogenlib_next-0/git-hooks/install.py +10 -0
  9. hydrogenlib_next-0/git-hooks/post-push.py +15 -0
  10. hydrogenlib_next-0/hydrogenlib/__init__.py +1 -0
  11. hydrogenlib_next-0/hydrogenlib/args.py +1 -0
  12. hydrogenlib_next-0/hydrogenlib/auth.py +1 -0
  13. hydrogenlib_next-0/hydrogenlib/config.py +1 -0
  14. hydrogenlib_next-0/hydrogenlib/core.py +1 -0
  15. hydrogenlib_next-0/hydrogenlib/crypto.py +1 -0
  16. hydrogenlib_next-0/hydrogenlib/ctypes.py +1 -0
  17. hydrogenlib_next-0/hydrogenlib/dantic.py +1 -0
  18. hydrogenlib_next-0/hydrogenlib/demo.py +1 -0
  19. hydrogenlib_next-0/hydrogenlib/downloader.py +1 -0
  20. hydrogenlib_next-0/hydrogenlib/filesystem.py +1 -0
  21. hydrogenlib_next-0/hydrogenlib/overload.py +1 -0
  22. hydrogenlib_next-0/hydrogenlib/pipe.py +1 -0
  23. hydrogenlib_next-0/hydrogenlib/py.py +1 -0
  24. hydrogenlib_next-0/hydrogenlib/quickapi.py +1 -0
  25. hydrogenlib_next-0/hydrogenlib/re.py +1 -0
  26. hydrogenlib_next-0/hydrogenlib/serialize.py +1 -0
  27. hydrogenlib_next-0/hydrogenlib/shm.py +1 -0
  28. hydrogenlib_next-0/hydrogenlib/socket.py +1 -0
  29. hydrogenlib_next-0/hydrogenlib/template.py +1 -0
  30. hydrogenlib_next-0/hydrogenlib/test.py +1 -0
  31. hydrogenlib_next-0/hydrogenlib/threading.py +1 -0
  32. hydrogenlib_next-0/hydrogenlib/ttlcache.py +1 -0
  33. hydrogenlib_next-0/hydrogenlib/winreg.py +1 -0
  34. hydrogenlib_next-0/modules/hyargs/README.md +0 -0
  35. hydrogenlib_next-0/modules/hyargs/dist/.gitignore +1 -0
  36. hydrogenlib_next-0/modules/hyargs/dist/hydrogenlib_args-0.0.1.tar.gz +0 -0
  37. hydrogenlib_next-0/modules/hyargs/dist/hydrogenlib_hyargs-0.0.1-py3-none-any.whl +0 -0
  38. hydrogenlib_next-0/modules/hyargs/dist/hydrogenlib_hyargs-0.0.1.tar.gz +0 -0
  39. hydrogenlib_next-0/modules/hyargs/pyproject.toml +27 -0
  40. hydrogenlib_next-0/modules/hyargs/requirements.txt +1 -0
  41. hydrogenlib_next-0/modules/hyargs/src/_hyargs/__about__.py +1 -0
  42. hydrogenlib_next-0/modules/hyargs/src/_hyargs/__init__.py +0 -0
  43. hydrogenlib_next-0/modules/hyargs/src/_hyargs/args_processer.py +43 -0
  44. hydrogenlib_next-0/modules/hyargs/src/_hyargs/argsparser.py +0 -0
  45. hydrogenlib_next-0/modules/hyauth/README.md +0 -0
  46. hydrogenlib_next-0/modules/hyauth/dist/.gitignore +1 -0
  47. hydrogenlib_next-0/modules/hyauth/dist/hydrogenlib_auth-0.0.1.tar.gz +0 -0
  48. hydrogenlib_next-0/modules/hyauth/dist/hydrogenlib_hyauth-0.0.1-py3-none-any.whl +0 -0
  49. hydrogenlib_next-0/modules/hyauth/dist/hydrogenlib_hyauth-0.0.1.tar.gz +0 -0
  50. hydrogenlib_next-0/modules/hyauth/pyproject.toml +27 -0
  51. hydrogenlib_next-0/modules/hyauth/requirements.txt +1 -0
  52. hydrogenlib_next-0/modules/hyauth/src/_hyauth/__about__.py +4 -0
  53. hydrogenlib_next-0/modules/hyauth/src/_hyauth/__init__.py +0 -0
  54. hydrogenlib_next-0/modules/hyauth/src/_hyauth/auth.py +298 -0
  55. hydrogenlib_next-0/modules/hyconfig/README.md +0 -0
  56. hydrogenlib_next-0/modules/hyconfig/dist/.gitignore +1 -0
  57. hydrogenlib_next-0/modules/hyconfig/dist/hydrogenlib_config-0.0.1.tar.gz +0 -0
  58. hydrogenlib_next-0/modules/hyconfig/dist/hydrogenlib_hyconfig-0.0.1-py3-none-any.whl +0 -0
  59. hydrogenlib_next-0/modules/hyconfig/dist/hydrogenlib_hyconfig-0.0.1.tar.gz +0 -0
  60. hydrogenlib_next-0/modules/hyconfig/pyproject.toml +27 -0
  61. hydrogenlib_next-0/modules/hyconfig/requirements.txt +1 -0
  62. hydrogenlib_next-0/modules/hyconfig/src/_hyconfig/__about__.py +4 -0
  63. hydrogenlib_next-0/modules/hyconfig/src/_hyconfig/__init__.py +4 -0
  64. hydrogenlib_next-0/modules/hyconfig/src/_hyconfig/abc/__init__.py +4 -0
  65. hydrogenlib_next-0/modules/hyconfig/src/_hyconfig/abc/backend.py +45 -0
  66. hydrogenlib_next-0/modules/hyconfig/src/_hyconfig/abc/model.py +33 -0
  67. hydrogenlib_next-0/modules/hyconfig/src/_hyconfig/abc/types.py +75 -0
  68. hydrogenlib_next-0/modules/hyconfig/src/_hyconfig/backend/__init__.py +2 -0
  69. hydrogenlib_next-0/modules/hyconfig/src/_hyconfig/backend/json_backend.py +20 -0
  70. hydrogenlib_next-0/modules/hyconfig/src/_hyconfig/backend/pickle_backend.py +17 -0
  71. hydrogenlib_next-0/modules/hyconfig/src/_hyconfig/config/__init__.py +3 -0
  72. hydrogenlib_next-0/modules/hyconfig/src/_hyconfig/config/const.py +1 -0
  73. hydrogenlib_next-0/modules/hyconfig/src/_hyconfig/config/container.py +19 -0
  74. hydrogenlib_next-0/modules/hyconfig/src/_hyconfig/config/items.py +25 -0
  75. hydrogenlib_next-0/modules/hyconfig/src/_hyconfig/config/manager.py +33 -0
  76. hydrogenlib_next-0/modules/hyconfig/src/_hyconfig/config/types.py +47 -0
  77. hydrogenlib_next-0/modules/hyconfig/src/_hyconfig/model/__init__.py +1 -0
  78. hydrogenlib_next-0/modules/hyconfig/src/_hyconfig/model/default.py +34 -0
  79. hydrogenlib_next-0/modules/hycore/README.md +0 -0
  80. hydrogenlib_next-0/modules/hycore/dist/.gitignore +1 -0
  81. hydrogenlib_next-0/modules/hycore/dist/hydrogenlib_core-0.1.1-py3-none-any.whl +0 -0
  82. hydrogenlib_next-0/modules/hycore/dist/hydrogenlib_core-0.1.1.tar.gz +0 -0
  83. hydrogenlib_next-0/modules/hycore/pyproject.toml +33 -0
  84. hydrogenlib_next-0/modules/hycore/requirements.txt +5 -0
  85. hydrogenlib_next-0/modules/hycore/src/_hycore/__about__.py +4 -0
  86. hydrogenlib_next-0/modules/hycore/src/_hycore/__init__.py +1 -0
  87. hydrogenlib_next-0/modules/hycore/src/_hycore/atexit.py +93 -0
  88. hydrogenlib_next-0/modules/hycore/src/_hycore/better_descriptor.py +127 -0
  89. hydrogenlib_next-0/modules/hycore/src/_hycore/codedoc/__init__.py +0 -0
  90. hydrogenlib_next-0/modules/hycore/src/_hycore/codedoc/code_struct.py +67 -0
  91. hydrogenlib_next-0/modules/hycore/src/_hycore/const.py +65 -0
  92. hydrogenlib_next-0/modules/hycore/src/_hycore/coro_plus.py +109 -0
  93. hydrogenlib_next-0/modules/hycore/src/_hycore/data_structures/__init__.py +9 -0
  94. hydrogenlib_next-0/modules/hycore/src/_hycore/data_structures/b_plus_tree.py +335 -0
  95. hydrogenlib_next-0/modules/hycore/src/_hycore/data_structures/graph.py +208 -0
  96. hydrogenlib_next-0/modules/hycore/src/_hycore/data_structures/heap.py +88 -0
  97. hydrogenlib_next-0/modules/hycore/src/_hycore/data_structures/huffman_tree.py +184 -0
  98. hydrogenlib_next-0/modules/hycore/src/_hycore/data_structures/stack.py +91 -0
  99. hydrogenlib_next-0/modules/hycore/src/_hycore/data_structures/tree.py +17 -0
  100. hydrogenlib_next-0/modules/hycore/src/_hycore/data_structures/vis_structure.py +38 -0
  101. hydrogenlib_next-0/modules/hycore/src/_hycore/data_structures/wrappers.py +8 -0
  102. hydrogenlib_next-0/modules/hycore/src/_hycore/decorators.py +22 -0
  103. hydrogenlib_next-0/modules/hycore/src/_hycore/env_plus.py +282 -0
  104. hydrogenlib_next-0/modules/hycore/src/_hycore/file.py +360 -0
  105. hydrogenlib_next-0/modules/hycore/src/_hycore/fsutil/__init__.py +0 -0
  106. hydrogenlib_next-0/modules/hycore/src/_hycore/fsutil/copy.py +10 -0
  107. hydrogenlib_next-0/modules/hycore/src/_hycore/fsutil/file.py +0 -0
  108. hydrogenlib_next-0/modules/hycore/src/_hycore/fsutil/hard_link.py +18 -0
  109. hydrogenlib_next-0/modules/hycore/src/_hycore/fsutil/soft_link.py +0 -0
  110. hydrogenlib_next-0/modules/hycore/src/_hycore/hash.py +47 -0
  111. hydrogenlib_next-0/modules/hycore/src/_hycore/import_plus.py +72 -0
  112. hydrogenlib_next-0/modules/hycore/src/_hycore/io_addons.py +19 -0
  113. hydrogenlib_next-0/modules/hycore/src/_hycore/json/Json.py +17 -0
  114. hydrogenlib_next-0/modules/hycore/src/_hycore/json/Pickle.py +35 -0
  115. hydrogenlib_next-0/modules/hycore/src/_hycore/json/__init__.py +8 -0
  116. hydrogenlib_next-0/modules/hycore/src/_hycore/json_file.py +164 -0
  117. hydrogenlib_next-0/modules/hycore/src/_hycore/neostruct/__init__.py +28 -0
  118. hydrogenlib_next-0/modules/hycore/src/_hycore/neostruct/type_hints.py +0 -0
  119. hydrogenlib_next-0/modules/hycore/src/_hycore/network.py +245 -0
  120. hydrogenlib_next-0/modules/hycore/src/_hycore/output_methods.py +159 -0
  121. hydrogenlib_next-0/modules/hycore/src/_hycore/path.py +355 -0
  122. hydrogenlib_next-0/modules/hycore/src/_hycore/process.py +143 -0
  123. hydrogenlib_next-0/modules/hycore/src/_hycore/std_extends/__init__.py +0 -0
  124. hydrogenlib_next-0/modules/hycore/src/_hycore/std_extends/builtin_methods/__init__.py +1 -0
  125. hydrogenlib_next-0/modules/hycore/src/_hycore/std_extends/builtin_methods/frozen_dict.py +40 -0
  126. hydrogenlib_next-0/modules/hycore/src/_hycore/std_extends/rich_print.py +1 -0
  127. hydrogenlib_next-0/modules/hycore/src/_hycore/sys_plus.py +65 -0
  128. hydrogenlib_next-0/modules/hycore/src/_hycore/threading_methods.py +76 -0
  129. hydrogenlib_next-0/modules/hycore/src/_hycore/time_.py +119 -0
  130. hydrogenlib_next-0/modules/hycore/src/_hycore/typefunc/__init__.py +12 -0
  131. hydrogenlib_next-0/modules/hycore/src/_hycore/typefunc/binary_tree.py +199 -0
  132. hydrogenlib_next-0/modules/hycore/src/_hycore/typefunc/bitmap.py +118 -0
  133. hydrogenlib_next-0/modules/hycore/src/_hycore/typefunc/common.py +93 -0
  134. hydrogenlib_next-0/modules/hycore/src/_hycore/typefunc/dict_func.py +112 -0
  135. hydrogenlib_next-0/modules/hycore/src/_hycore/typefunc/errors.py +10 -0
  136. hydrogenlib_next-0/modules/hycore/src/_hycore/typefunc/function.py +154 -0
  137. hydrogenlib_next-0/modules/hycore/src/_hycore/typefunc/index_offset.py +253 -0
  138. hydrogenlib_next-0/modules/hycore/src/_hycore/typefunc/list_func.py +258 -0
  139. hydrogenlib_next-0/modules/hycore/src/_hycore/typefunc/number.py +4 -0
  140. hydrogenlib_next-0/modules/hycore/src/_hycore/typefunc/property.py +60 -0
  141. hydrogenlib_next-0/modules/hycore/src/_hycore/typefunc/safe_eval.py +199 -0
  142. hydrogenlib_next-0/modules/hycore/src/_hycore/typefunc/tempalte_type.py +30 -0
  143. hydrogenlib_next-0/modules/hycore/src/_hycore/typefunc/type_func.py +57 -0
  144. hydrogenlib_next-0/modules/hycore/src/_hycore/utils/__init__.py +17 -0
  145. hydrogenlib_next-0/modules/hycore/src/_hycore/utils/auto.py +182 -0
  146. hydrogenlib_next-0/modules/hycore/src/_hycore/utils/basic.py +21 -0
  147. hydrogenlib_next-0/modules/hycore/src/_hycore/utils/clock.py +41 -0
  148. hydrogenlib_next-0/modules/hycore/src/_hycore/utils/dotpath.py +72 -0
  149. hydrogenlib_next-0/modules/hycore/src/_hycore/utils/double_dict.py +40 -0
  150. hydrogenlib_next-0/modules/hycore/src/_hycore/utils/getting_path.py +58 -0
  151. hydrogenlib_next-0/modules/hycore/src/_hycore/utils/instance_dict/__init__.py +3 -0
  152. hydrogenlib_next-0/modules/hycore/src/_hycore/utils/instance_dict/events.py +64 -0
  153. hydrogenlib_next-0/modules/hycore/src/_hycore/utils/instance_dict/instance_dict.py +173 -0
  154. hydrogenlib_next-0/modules/hycore/src/_hycore/utils/lazy/__init__.py +1 -0
  155. hydrogenlib_next-0/modules/hycore/src/_hycore/utils/lazy/lz_data.py +33 -0
  156. hydrogenlib_next-0/modules/hycore/src/_hycore/utils/lazy/lz_field.py +31 -0
  157. hydrogenlib_next-0/modules/hycore/src/_hycore/utils/member_manager.py +158 -0
  158. hydrogenlib_next-0/modules/hycore/src/_hycore/utils/multi_set.py +37 -0
  159. hydrogenlib_next-0/modules/hycore/src/_hycore/utils/namespace.py +46 -0
  160. hydrogenlib_next-0/modules/hycore/src/_hycore/utils/network_packages.py +72 -0
  161. hydrogenlib_next-0/modules/hycore/src/_hycore/utils/object_pool/__init__.py +0 -0
  162. hydrogenlib_next-0/modules/hycore/src/_hycore/utils/object_pool/item.py +51 -0
  163. hydrogenlib_next-0/modules/hycore/src/_hycore/utils/object_pool/pool.py +19 -0
  164. hydrogenlib_next-0/modules/hycore/src/_hycore/utils/once_message.py +69 -0
  165. hydrogenlib_next-0/modules/hycore/src/_hycore/utils/permission_manager.py +422 -0
  166. hydrogenlib_next-0/modules/hycore/src/_hycore/utils/probability_counter.py +62 -0
  167. hydrogenlib_next-0/modules/hycore/src/_hycore/utils/timed_data.py +145 -0
  168. hydrogenlib_next-0/modules/hycore/src/_hycore/utils/timer_wheel/__init__.py +3 -0
  169. hydrogenlib_next-0/modules/hycore/src/_hycore/utils/timer_wheel/core.py +135 -0
  170. hydrogenlib_next-0/modules/hycore/src/_hycore/utils/timer_wheel/task.py +43 -0
  171. hydrogenlib_next-0/modules/hycore/src/_hycore/utils/timer_wheel/wheel.py +51 -0
  172. hydrogenlib_next-0/modules/hycore/src/_hycore/utils/triggers.py +99 -0
  173. hydrogenlib_next-0/modules/hycrypto/README.md +0 -0
  174. hydrogenlib_next-0/modules/hycrypto/dist/.gitignore +1 -0
  175. hydrogenlib_next-0/modules/hycrypto/dist/hydrogenlib_crypto-0.0.1.tar.gz +0 -0
  176. hydrogenlib_next-0/modules/hycrypto/dist/hydrogenlib_hycrypto-0.0.1-py3-none-any.whl +0 -0
  177. hydrogenlib_next-0/modules/hycrypto/dist/hydrogenlib_hycrypto-0.0.1.tar.gz +0 -0
  178. hydrogenlib_next-0/modules/hycrypto/pyproject.toml +30 -0
  179. hydrogenlib_next-0/modules/hycrypto/requirements.txt +2 -0
  180. hydrogenlib_next-0/modules/hycrypto/src/_hycrypto/__about__.py +4 -0
  181. hydrogenlib_next-0/modules/hycrypto/src/_hycrypto/__init__.py +1 -0
  182. hydrogenlib_next-0/modules/hycrypto/src/_hycrypto/crypto/__init__.py +2 -0
  183. hydrogenlib_next-0/modules/hycrypto/src/_hycrypto/crypto/aes.py +90 -0
  184. hydrogenlib_next-0/modules/hycrypto/src/_hycrypto/crypto/both.py +20 -0
  185. hydrogenlib_next-0/modules/hycrypto/src/_hycrypto/crypto/methods.py +51 -0
  186. hydrogenlib_next-0/modules/hycrypto/src/_hycrypto/crypto/rsa_.py +24 -0
  187. hydrogenlib_next-0/modules/hycrypto/src/_hycrypto/encryio.py +128 -0
  188. hydrogenlib_next-0/modules/hyctypes/README.md +0 -0
  189. hydrogenlib_next-0/modules/hyctypes/dist/.gitignore +1 -0
  190. hydrogenlib_next-0/modules/hyctypes/dist/hydrogenlib_ctypes-0.1.1-py3-none-any.whl +0 -0
  191. hydrogenlib_next-0/modules/hyctypes/dist/hydrogenlib_ctypes-0.1.1.tar.gz +0 -0
  192. hydrogenlib_next-0/modules/hyctypes/pyproject.toml +29 -0
  193. hydrogenlib_next-0/modules/hyctypes/requirements.txt +1 -0
  194. hydrogenlib_next-0/modules/hyctypes/src/_hyctypes/C/__init__.py +3 -0
  195. hydrogenlib_next-0/modules/hyctypes/src/_hyctypes/C/basic_types/__init__.py +9 -0
  196. hydrogenlib_next-0/modules/hyctypes/src/_hyctypes/C/basic_types/base.py +167 -0
  197. hydrogenlib_next-0/modules/hyctypes/src/_hyctypes/C/basic_types/enums.py +42 -0
  198. hydrogenlib_next-0/modules/hyctypes/src/_hyctypes/C/basic_types/impls.py +108 -0
  199. hydrogenlib_next-0/modules/hyctypes/src/_hyctypes/C/basic_types/type_hints.py +41 -0
  200. hydrogenlib_next-0/modules/hyctypes/src/_hyctypes/C/basic_types/type_realities.py +49 -0
  201. hydrogenlib_next-0/modules/hyctypes/src/_hyctypes/C/c_types.py +10 -0
  202. hydrogenlib_next-0/modules/hyctypes/src/_hyctypes/C/compound_types/__init__.py +7 -0
  203. hydrogenlib_next-0/modules/hyctypes/src/_hyctypes/C/compound_types/base.py +4 -0
  204. hydrogenlib_next-0/modules/hyctypes/src/_hyctypes/C/compound_types/impls.py +272 -0
  205. hydrogenlib_next-0/modules/hyctypes/src/_hyctypes/C/compound_types/type_hints.py +11 -0
  206. hydrogenlib_next-0/modules/hyctypes/src/_hyctypes/C/compound_types/type_realities.py +216 -0
  207. hydrogenlib_next-0/modules/hyctypes/src/_hyctypes/C/dll.py +73 -0
  208. hydrogenlib_next-0/modules/hyctypes/src/_hyctypes/C/methods.py +4 -0
  209. hydrogenlib_next-0/modules/hyctypes/src/_hyctypes/C/py_types/__init__.py +1 -0
  210. hydrogenlib_next-0/modules/hyctypes/src/_hyctypes/C/py_types/base.py +1 -0
  211. hydrogenlib_next-0/modules/hyctypes/src/_hyctypes/C/py_types/type_realities.py +68 -0
  212. hydrogenlib_next-0/modules/hyctypes/src/_hyctypes/__about__.py +4 -0
  213. hydrogenlib_next-0/modules/hyctypes/src/_hyctypes/__init__.py +31 -0
  214. hydrogenlib_next-0/modules/hydantic/README.md +0 -0
  215. hydrogenlib_next-0/modules/hydantic/dist/.gitignore +1 -0
  216. hydrogenlib_next-0/modules/hydantic/dist/hydrogenlib_dantic-0.0.1-py3-none-any.whl +0 -0
  217. hydrogenlib_next-0/modules/hydantic/dist/hydrogenlib_dantic-0.0.1.tar.gz +0 -0
  218. hydrogenlib_next-0/modules/hydantic/pyproject.toml +27 -0
  219. hydrogenlib_next-0/modules/hydantic/src/_hydantic/__about__.py +4 -0
  220. hydrogenlib_next-0/modules/hydantic/src/_hydantic/__init__.py +3 -0
  221. hydrogenlib_next-0/modules/hydantic/src/_hydantic/model.py +110 -0
  222. hydrogenlib_next-0/modules/hydantic/src/_hydantic/models.py +85 -0
  223. hydrogenlib_next-0/modules/hydemo/README.md +0 -0
  224. hydrogenlib_next-0/modules/hydemo/dist/.gitignore +1 -0
  225. hydrogenlib_next-0/modules/hydemo/dist/hydrogenlib_demo-0.0.1.tar.gz +0 -0
  226. hydrogenlib_next-0/modules/hydemo/dist/hydrogenlib_hydemo-0.0.1-py3-none-any.whl +0 -0
  227. hydrogenlib_next-0/modules/hydemo/dist/hydrogenlib_hydemo-0.0.1.tar.gz +0 -0
  228. hydrogenlib_next-0/modules/hydemo/pyproject.toml +27 -0
  229. hydrogenlib_next-0/modules/hydemo/requirements.txt +2 -0
  230. hydrogenlib_next-0/modules/hydemo/src/_hydemo/__about__.py +4 -0
  231. hydrogenlib_next-0/modules/hydemo/src/_hydemo/__init__.py +1 -0
  232. hydrogenlib_next-0/modules/hydemo/src/_hydemo/example.py +19 -0
  233. hydrogenlib_next-0/modules/hydemo/src/_hydemo/sample_data/__init__.py +23 -0
  234. hydrogenlib_next-0/modules/hydemo/src/_hydemo/scripts/__init__.py +0 -0
  235. hydrogenlib_next-0/modules/hydemo/src/_hydemo/scripts/enter.py +42 -0
  236. hydrogenlib_next-0/modules/hydemo/src/_hydemo/scripts/utils/__init__.py +0 -0
  237. hydrogenlib_next-0/modules/hydemo/src/_hydemo/scripts/utils/build-bitmap.py +12 -0
  238. hydrogenlib_next-0/modules/hydemo/src/_hydemo/scripts/utils/rename-x.py +100 -0
  239. hydrogenlib_next-0/modules/hydownloader/README.md +0 -0
  240. hydrogenlib_next-0/modules/hydownloader/dist/.gitignore +1 -0
  241. hydrogenlib_next-0/modules/hydownloader/dist/hydrogenlib_downloader-0.0.1-py3-none-any.whl +0 -0
  242. hydrogenlib_next-0/modules/hydownloader/dist/hydrogenlib_downloader-0.0.1.tar.gz +0 -0
  243. hydrogenlib_next-0/modules/hydownloader/dist/hydrogenlib_hydownloader-0.0.1-py3-none-any.whl +0 -0
  244. hydrogenlib_next-0/modules/hydownloader/dist/hydrogenlib_hydownloader-0.0.1.tar.gz +0 -0
  245. hydrogenlib_next-0/modules/hydownloader/pyproject.toml +27 -0
  246. hydrogenlib_next-0/modules/hydownloader/requirements.txt +1 -0
  247. hydrogenlib_next-0/modules/hydownloader/src/_hydownloader/__about__.py +4 -0
  248. hydrogenlib_next-0/modules/hydownloader/src/_hydownloader/__init__.py +0 -0
  249. hydrogenlib_next-0/modules/hydownloader/src/_hydownloader/dynamic_model/__init__.py +31 -0
  250. hydrogenlib_next-0/modules/hydownloader/src/_hydownloader/dynamic_model/model_abc.py +41 -0
  251. hydrogenlib_next-0/modules/hydownloader/src/_hydownloader/dynamic_model/models/static_download_model/__init__.py +0 -0
  252. hydrogenlib_next-0/modules/hydownloader/src/_hydownloader/dynamic_model/models/static_download_model/model.py +49 -0
  253. hydrogenlib_next-0/modules/hydownloader/src/_hydownloader/dynamic_model/models/static_download_model/requirements.py +25 -0
  254. hydrogenlib_next-0/modules/hyfilesystem/README.md +0 -0
  255. hydrogenlib_next-0/modules/hyfilesystem/dist/.gitignore +1 -0
  256. hydrogenlib_next-0/modules/hyfilesystem/dist/hydrogenlib_filesystem-0.0.1-py3-none-any.whl +0 -0
  257. hydrogenlib_next-0/modules/hyfilesystem/dist/hydrogenlib_filesystem-0.0.1.tar.gz +0 -0
  258. hydrogenlib_next-0/modules/hyfilesystem/dist/hydrogenlib_hyfilesystem-0.0.1-py3-none-any.whl +0 -0
  259. hydrogenlib_next-0/modules/hyfilesystem/dist/hydrogenlib_hyfilesystem-0.0.1.tar.gz +0 -0
  260. hydrogenlib_next-0/modules/hyfilesystem/pyproject.toml +27 -0
  261. hydrogenlib_next-0/modules/hyfilesystem/requirements.txt +1 -0
  262. hydrogenlib_next-0/modules/hyfilesystem/src/_hyfilesystem/__about__.py +4 -0
  263. hydrogenlib_next-0/modules/hyfilesystem/src/_hyfilesystem/__init__.py +0 -0
  264. hydrogenlib_next-0/modules/hyfilesystem/src/_hyfilesystem/abstract.py +80 -0
  265. hydrogenlib_next-0/modules/hyfilesystem/src/_hyfilesystem/namespace.py +1 -0
  266. hydrogenlib_next-0/modules/hyoverload/README.md +0 -0
  267. hydrogenlib_next-0/modules/hyoverload/dist/.gitignore +1 -0
  268. hydrogenlib_next-0/modules/hyoverload/dist/hydrogenlib_hyoverload-0.0.1-py3-none-any.whl +0 -0
  269. hydrogenlib_next-0/modules/hyoverload/dist/hydrogenlib_hyoverload-0.0.1.tar.gz +0 -0
  270. hydrogenlib_next-0/modules/hyoverload/pyproject.toml +27 -0
  271. hydrogenlib_next-0/modules/hyoverload/requirements.txt +1 -0
  272. hydrogenlib_next-0/modules/hyoverload/src/_hyoverload/__about__.py +4 -0
  273. hydrogenlib_next-0/modules/hyoverload/src/_hyoverload/__init__.py +3 -0
  274. hydrogenlib_next-0/modules/hyoverload/src/_hyoverload/args_temp.py +15 -0
  275. hydrogenlib_next-0/modules/hyoverload/src/_hyoverload/errors.py +103 -0
  276. hydrogenlib_next-0/modules/hyoverload/src/_hyoverload/namespace.py +38 -0
  277. hydrogenlib_next-0/modules/hyoverload/src/_hyoverload/overload.py +0 -0
  278. hydrogenlib_next-0/modules/hyoverload/src/_hyoverload/overload_function.py +68 -0
  279. hydrogenlib_next-0/modules/hyoverload/src/_hyoverload/overload_machine.py +25 -0
  280. hydrogenlib_next-0/modules/hyoverload/src/_hyoverload/type_checker.py +141 -0
  281. hydrogenlib_next-0/modules/hypipe/README.md +0 -0
  282. hydrogenlib_next-0/modules/hypipe/dist/.gitignore +1 -0
  283. hydrogenlib_next-0/modules/hypipe/dist/hydrogenlib_hypipe-0.0.1-py3-none-any.whl +0 -0
  284. hydrogenlib_next-0/modules/hypipe/dist/hydrogenlib_hypipe-0.0.1.tar.gz +0 -0
  285. hydrogenlib_next-0/modules/hypipe/pyproject.toml +27 -0
  286. hydrogenlib_next-0/modules/hypipe/requirements.txt +1 -0
  287. hydrogenlib_next-0/modules/hypipe/src/_hypipe/__about__.py +4 -0
  288. hydrogenlib_next-0/modules/hypipe/src/_hypipe/__init__.py +2 -0
  289. hydrogenlib_next-0/modules/hypipe/src/_hypipe/namedpipe/__init__.py +7 -0
  290. hydrogenlib_next-0/modules/hypipe/src/_hypipe/namedpipe/_windows.py +74 -0
  291. hydrogenlib_next-0/modules/hypipe/src/_hypipe/namedpipe/linux.py +118 -0
  292. hydrogenlib_next-0/modules/hypipe/src/_hypipe/namedpipe/mac.py +0 -0
  293. hydrogenlib_next-0/modules/hypipe/src/_hypipe/namedpipe/windows.py +29 -0
  294. hydrogenlib_next-0/modules/hypipe/src/_hypipe/ospipe.py +109 -0
  295. hydrogenlib_next-0/modules/hypy/README.md +0 -0
  296. hydrogenlib_next-0/modules/hypy/dist/.gitignore +1 -0
  297. hydrogenlib_next-0/modules/hypy/dist/hydrogenlib_hypy-0.0.1-py3-none-any.whl +0 -0
  298. hydrogenlib_next-0/modules/hypy/dist/hydrogenlib_hypy-0.0.1.tar.gz +0 -0
  299. hydrogenlib_next-0/modules/hypy/pyproject.toml +27 -0
  300. hydrogenlib_next-0/modules/hypy/requirements.txt +1 -0
  301. hydrogenlib_next-0/modules/hypy/src/_hypy/__about__.py +4 -0
  302. hydrogenlib_next-0/modules/hypy/src/_hypy/__init__.py +1 -0
  303. hydrogenlib_next-0/modules/hypy/src/_hypy/ses/__init__.py +76 -0
  304. hydrogenlib_next-0/modules/hyquickapi/README.md +0 -0
  305. hydrogenlib_next-0/modules/hyquickapi/dist/.gitignore +1 -0
  306. hydrogenlib_next-0/modules/hyquickapi/dist/hydrogenlib_hyquickapi-0.0.1-py3-none-any.whl +0 -0
  307. hydrogenlib_next-0/modules/hyquickapi/dist/hydrogenlib_hyquickapi-0.0.1.tar.gz +0 -0
  308. hydrogenlib_next-0/modules/hyquickapi/pyproject.toml +27 -0
  309. hydrogenlib_next-0/modules/hyquickapi/requirements.txt +2 -0
  310. hydrogenlib_next-0/modules/hyquickapi/src/_hyquickapi/__about__.py +4 -0
  311. hydrogenlib_next-0/modules/hyquickapi/src/_hyquickapi/__init__.py +0 -0
  312. hydrogenlib_next-0/modules/hyquickapi/src/_hyquickapi/client/__init__.py +8 -0
  313. hydrogenlib_next-0/modules/hyquickapi/src/_hyquickapi/client/api_abc.py +80 -0
  314. hydrogenlib_next-0/modules/hyquickapi/src/_hyquickapi/client/backend.py +9 -0
  315. hydrogenlib_next-0/modules/hyquickapi/src/_hyquickapi/client/cases.py +20 -0
  316. hydrogenlib_next-0/modules/hyquickapi/src/_hyquickapi/client/countainer.py +5 -0
  317. hydrogenlib_next-0/modules/hyquickapi/src/_hyquickapi/client/defines.py +65 -0
  318. hydrogenlib_next-0/modules/hyquickapi/src/_hyquickapi/client/function.py +47 -0
  319. hydrogenlib_next-0/modules/hyquickapi/src/_hyquickapi/client/handler.py +11 -0
  320. hydrogenlib_next-0/modules/hyquickapi/src/_hyquickapi/client/requester.py +9 -0
  321. hydrogenlib_next-0/modules/hyquickapi/src/_hyquickapi/client/template.py +32 -0
  322. hydrogenlib_next-0/modules/hyre/README.md +0 -0
  323. hydrogenlib_next-0/modules/hyre/dist/.gitignore +1 -0
  324. hydrogenlib_next-0/modules/hyre/dist/hydrogenlib_hyre-0.0.1-py3-none-any.whl +0 -0
  325. hydrogenlib_next-0/modules/hyre/dist/hydrogenlib_hyre-0.0.1.tar.gz +0 -0
  326. hydrogenlib_next-0/modules/hyre/pyproject.toml +27 -0
  327. hydrogenlib_next-0/modules/hyre/requirements.txt +1 -0
  328. hydrogenlib_next-0/modules/hyre/src/_hyre/__about__.py +4 -0
  329. hydrogenlib_next-0/modules/hyre/src/_hyre/__init__.py +1 -0
  330. hydrogenlib_next-0/modules/hyre/src/_hyre/re_plus/REConcatenater.py +139 -0
  331. hydrogenlib_next-0/modules/hyre/src/_hyre/re_plus/__init__.py +27 -0
  332. hydrogenlib_next-0/modules/hyre/src/_hyre/re_plus/_reconcatenater_abc.py +35 -0
  333. hydrogenlib_next-0/modules/hyserialize/README.md +0 -0
  334. hydrogenlib_next-0/modules/hyserialize/dist/.gitignore +1 -0
  335. hydrogenlib_next-0/modules/hyserialize/dist/hydrogenlib_hyserialize-0.0.1-py3-none-any.whl +0 -0
  336. hydrogenlib_next-0/modules/hyserialize/dist/hydrogenlib_hyserialize-0.0.1.tar.gz +0 -0
  337. hydrogenlib_next-0/modules/hyserialize/pyproject.toml +27 -0
  338. hydrogenlib_next-0/modules/hyserialize/requirements.txt +1 -0
  339. hydrogenlib_next-0/modules/hyserialize/src/_hyserialize/__about__.py +4 -0
  340. hydrogenlib_next-0/modules/hyserialize/src/_hyserialize/__init__.py +1 -0
  341. hydrogenlib_next-0/modules/hyserialize/src/_hyserialize/serializers/__init__.py +14 -0
  342. hydrogenlib_next-0/modules/hyserialize/src/_hyserialize/serializers/_combination.py +43 -0
  343. hydrogenlib_next-0/modules/hyserialize/src/_hyserialize/serializers/_json.py +19 -0
  344. hydrogenlib_next-0/modules/hyserialize/src/_hyserialize/serializers/_jsonpickle.py +7 -0
  345. hydrogenlib_next-0/modules/hyserialize/src/_hyserialize/serializers/_wrapping.py +24 -0
  346. hydrogenlib_next-0/modules/hyserialize/src/_hyserialize/serializers/abstract.py +28 -0
  347. hydrogenlib_next-0/modules/hyshm/README.md +0 -0
  348. hydrogenlib_next-0/modules/hyshm/dist/.gitignore +1 -0
  349. hydrogenlib_next-0/modules/hyshm/dist/hydrogenlib_hyshm-0.0.1-py3-none-any.whl +0 -0
  350. hydrogenlib_next-0/modules/hyshm/dist/hydrogenlib_hyshm-0.0.1.tar.gz +0 -0
  351. hydrogenlib_next-0/modules/hyshm/pyproject.toml +27 -0
  352. hydrogenlib_next-0/modules/hyshm/requirements.txt +1 -0
  353. hydrogenlib_next-0/modules/hyshm/src/_hyshm/__about__.py +4 -0
  354. hydrogenlib_next-0/modules/hyshm/src/_hyshm/__init__.py +1 -0
  355. hydrogenlib_next-0/modules/hyshm/src/_hyshm/hyshm/__init__.py +0 -0
  356. hydrogenlib_next-0/modules/hyshm/src/_hyshm/hyshm/windows/__init__.py +111 -0
  357. hydrogenlib_next-0/modules/hyshm/src/_hyshm/hyshm/windows/api.py +17 -0
  358. hydrogenlib_next-0/modules/hysocket/README.md +0 -0
  359. hydrogenlib_next-0/modules/hysocket/dist/.gitignore +1 -0
  360. hydrogenlib_next-0/modules/hysocket/dist/hydrogenlib_hysocket-0.0.1-py3-none-any.whl +0 -0
  361. hydrogenlib_next-0/modules/hysocket/dist/hydrogenlib_hysocket-0.0.1.tar.gz +0 -0
  362. hydrogenlib_next-0/modules/hysocket/pyproject.toml +27 -0
  363. hydrogenlib_next-0/modules/hysocket/requirements.txt +1 -0
  364. hydrogenlib_next-0/modules/hysocket/src/_hysocket/__about__.py +4 -0
  365. hydrogenlib_next-0/modules/hysocket/src/_hysocket/__init__.py +0 -0
  366. hydrogenlib_next-0/modules/hysocket/src/_hysocket/core/__init__.py +1 -0
  367. hydrogenlib_next-0/modules/hysocket/src/_hysocket/core/async_socket.py +130 -0
  368. hydrogenlib_next-0/modules/hysocket/src/_hysocket/hysocket.py +55 -0
  369. hydrogenlib_next-0/modules/hysocket/src/_hysocket/methods.py +39 -0
  370. hydrogenlib_next-0/modules/hysocket/src/_hysocket/protrol_abc.py +42 -0
  371. hydrogenlib_next-0/modules/hysocket/src/_hysocket/protrol_const.py +0 -0
  372. hydrogenlib_next-0/modules/hysocket/src/_hysocket/protrols/__init__.py +0 -0
  373. hydrogenlib_next-0/modules/hysocket/src/_hysocket/protrols/builtins.py +14 -0
  374. hydrogenlib_next-0/modules/hytemplate/README.md +0 -0
  375. hydrogenlib_next-0/modules/hytemplate/dist/.gitignore +1 -0
  376. hydrogenlib_next-0/modules/hytemplate/dist/hydrogenlib_hytemplate-0.0.1-py3-none-any.whl +0 -0
  377. hydrogenlib_next-0/modules/hytemplate/dist/hydrogenlib_hytemplate-0.0.1.tar.gz +0 -0
  378. hydrogenlib_next-0/modules/hytemplate/pyproject.toml +27 -0
  379. hydrogenlib_next-0/modules/hytemplate/requirements.txt +1 -0
  380. hydrogenlib_next-0/modules/hytemplate/src/_hytemplate/__about__.py +4 -0
  381. hydrogenlib_next-0/modules/hytemplate/src/_hytemplate/__init__.py +4 -0
  382. hydrogenlib_next-0/modules/hytemplate/src/_hytemplate/abstract.py +13 -0
  383. hydrogenlib_next-0/modules/hytemplate/src/_hytemplate/basic_methods.py +22 -0
  384. hydrogenlib_next-0/modules/hytemplate/src/_hytemplate/context.py +32 -0
  385. hydrogenlib_next-0/modules/hytemplate/src/_hytemplate/markers/__init__.py +62 -0
  386. hydrogenlib_next-0/modules/hytemplate/src/_hytemplate/markers/condition/__init__.py +37 -0
  387. hydrogenlib_next-0/modules/hytemplate/src/_hytemplate/markers/condition/abstract.py +12 -0
  388. hydrogenlib_next-0/modules/hytemplate/src/_hytemplate/markers/condition/builtin_conditions.py +80 -0
  389. hydrogenlib_next-0/modules/hytemplate/src/_hytemplate/markers/dict_template.py +29 -0
  390. hydrogenlib_next-0/modules/hytemplate/src/_hytemplate/markers/list_template.py +36 -0
  391. hydrogenlib_next-0/modules/hytemplate/src/_hytemplate/markers/tuple_template.py +20 -0
  392. hydrogenlib_next-0/modules/hytemplate/src/_hytemplate/template.py +47 -0
  393. hydrogenlib_next-0/modules/hytest/README.md +0 -0
  394. hydrogenlib_next-0/modules/hytest/dist/.gitignore +1 -0
  395. hydrogenlib_next-0/modules/hytest/dist/hydrogenlib_hytest-0.0.1-py3-none-any.whl +0 -0
  396. hydrogenlib_next-0/modules/hytest/dist/hydrogenlib_hytest-0.0.1.tar.gz +0 -0
  397. hydrogenlib_next-0/modules/hytest/pyproject.toml +27 -0
  398. hydrogenlib_next-0/modules/hytest/requirements.txt +1 -0
  399. hydrogenlib_next-0/modules/hytest/src/_hytest/__about__.py +4 -0
  400. hydrogenlib_next-0/modules/hytest/src/_hytest/__init__.py +0 -0
  401. hydrogenlib_next-0/modules/hythreading/README.md +0 -0
  402. hydrogenlib_next-0/modules/hythreading/dist/.gitignore +1 -0
  403. hydrogenlib_next-0/modules/hythreading/dist/hydrogenlib_hythreading-0.0.1-py3-none-any.whl +0 -0
  404. hydrogenlib_next-0/modules/hythreading/dist/hydrogenlib_hythreading-0.0.1.tar.gz +0 -0
  405. hydrogenlib_next-0/modules/hythreading/pyproject.toml +27 -0
  406. hydrogenlib_next-0/modules/hythreading/requirements.txt +1 -0
  407. hydrogenlib_next-0/modules/hythreading/src/_hythreading/__about__.py +4 -0
  408. hydrogenlib_next-0/modules/hythreading/src/_hythreading/__init__.py +0 -0
  409. hydrogenlib_next-0/modules/hythreading/src/_hythreading/thread.py +18 -0
  410. hydrogenlib_next-0/modules/hyttlcache/README.md +0 -0
  411. hydrogenlib_next-0/modules/hyttlcache/dist/.gitignore +1 -0
  412. hydrogenlib_next-0/modules/hyttlcache/dist/hydrogenlib_hyttlcache-0.0.1-py3-none-any.whl +0 -0
  413. hydrogenlib_next-0/modules/hyttlcache/dist/hydrogenlib_hyttlcache-0.0.1.tar.gz +0 -0
  414. hydrogenlib_next-0/modules/hyttlcache/dist/hydrogenlib_ttlcache-0.0.1-py3-none-any.whl +0 -0
  415. hydrogenlib_next-0/modules/hyttlcache/dist/hydrogenlib_ttlcache-0.0.1.tar.gz +0 -0
  416. hydrogenlib_next-0/modules/hyttlcache/pyproject.toml +27 -0
  417. hydrogenlib_next-0/modules/hyttlcache/requirements.txt +1 -0
  418. hydrogenlib_next-0/modules/hyttlcache/src/_hyttlcache/__about__.py +1 -0
  419. hydrogenlib_next-0/modules/hyttlcache/src/_hyttlcache/__init__.py +0 -0
  420. hydrogenlib_next-0/modules/hywinreg/README.md +0 -0
  421. hydrogenlib_next-0/modules/hywinreg/dist/.gitignore +1 -0
  422. hydrogenlib_next-0/modules/hywinreg/dist/hydrogenlib_hywinreg-0.0.1-py3-none-any.whl +0 -0
  423. hydrogenlib_next-0/modules/hywinreg/dist/hydrogenlib_hywinreg-0.0.1.tar.gz +0 -0
  424. hydrogenlib_next-0/modules/hywinreg/dist/hydrogenlib_winreg-0.0.1-py3-none-any.whl +0 -0
  425. hydrogenlib_next-0/modules/hywinreg/dist/hydrogenlib_winreg-0.0.1.tar.gz +0 -0
  426. hydrogenlib_next-0/modules/hywinreg/pyproject.toml +27 -0
  427. hydrogenlib_next-0/modules/hywinreg/requirements.txt +1 -0
  428. hydrogenlib_next-0/modules/hywinreg/src/_hywinreg/__about__.py +4 -0
  429. hydrogenlib_next-0/modules/hywinreg/src/_hywinreg/__init__.py +0 -0
  430. hydrogenlib_next-0/modules/hywinreg/src/_hywinreg/hywinreg.py +182 -0
  431. hydrogenlib_next-0/publish-hook +31 -0
  432. hydrogenlib_next-0/pyproject.toml +25 -0
  433. hydrogenlib_next-0/refact.py +121 -0
  434. hydrogenlib_next-0/scripts/build_project.py +162 -0
  435. hydrogenlib_next-0/scripts/generate_requirements.py +114 -0
  436. hydrogenlib_next-0/test.py +19 -0
@@ -0,0 +1,110 @@
1
+ name: Bug 报告
2
+ description: 描述你的问题
3
+ labels:
4
+ - bug
5
+
6
+ body:
7
+ - type: markdown
8
+ attributes:
9
+ value: |
10
+ # 错误报告
11
+
12
+ - type: checkboxes
13
+ attributes:
14
+ label: 确认事项
15
+ options:
16
+ - required: true
17
+ label: 我已经确认这是一个bug, 而不是错误的使用导致的
18
+ - required: true
19
+ label: 我已经确认这是一个新问题, 并且没有在 issue 中找到与它重复的
20
+
21
+ - type: markdown
22
+ attributes:
23
+ value: |
24
+ ## 错误模块
25
+
26
+ 由于 HydrogenLib 的模块较多,在报告问题前请指明你遇到的问题来自哪个模块。
27
+
28
+ - type: input
29
+ attributes:
30
+ label: 模块名称
31
+ placeholder: Module Name
32
+
33
+ - type: markdown
34
+ attributes:
35
+ value: |
36
+ ## 错误描述
37
+
38
+ - type: textarea
39
+ attributes:
40
+ label: 描述你遇到的问题
41
+ placeholder: Describe the problem you are encountering.
42
+
43
+ - type: markdown
44
+ attributes:
45
+ value: |
46
+ ## 重现步骤
47
+
48
+ - type: textarea
49
+ attributes:
50
+ label: 如何复现问题
51
+ placeholder: Describe how to reproduce the problem.
52
+
53
+ - type: markdown
54
+ attributes:
55
+ value: |
56
+ ## 你的猜测和建议
57
+
58
+ - type: textarea
59
+ attributes:
60
+ label: 描述你的 guesses and suggestions
61
+ placeholder: Describe your guesses and suggestions.
62
+
63
+ - type: markdown
64
+ attributes:
65
+ value: |
66
+ ## 环境信息
67
+
68
+ - type: dropdown
69
+ attributes:
70
+ label: 操作系统
71
+ options:
72
+ - Windows
73
+ - MacOS
74
+ - Linux
75
+
76
+ - type: dropdown
77
+ attributes:
78
+ label: 处理器架构
79
+ options:
80
+ - x86
81
+ - x64
82
+ - ARM
83
+ - ARM64
84
+
85
+ - type: dropdown
86
+ attributes:
87
+ label: Python版本
88
+ options:
89
+ - 3.7
90
+ - 3.8
91
+ - 3.9
92
+ - 3.10
93
+ - 3.11
94
+ - 3.12
95
+ - 3.13
96
+
97
+ default: 5
98
+
99
+ - type: markdown
100
+ attributes:
101
+ value: |
102
+ ## 其他信息
103
+
104
+ - type: textarea
105
+ attributes:
106
+ label: 其他信息
107
+ placeholder: |
108
+ Any other information you want to provide.
109
+ such as logs, screenshots, etc.
110
+
@@ -0,0 +1,49 @@
1
+ name: Publish Python Package
2
+
3
+ on:
4
+ workflow_dispatch:
5
+ inputs:
6
+ tag:
7
+ description: 'Tag to publish'
8
+ type: string
9
+ required: true
10
+ default: 'v-present-upload'
11
+
12
+ workflow_call:
13
+ inputs:
14
+ tag:
15
+ description: 'Tag to publish'
16
+ type: string
17
+ required: true
18
+ default: 'v-present-upload'
19
+
20
+ jobs:
21
+ build-and-publish:
22
+ runs-on: ubuntu-latest
23
+ environment: Pypi-Update
24
+ permissions:
25
+ id-token: write
26
+
27
+ steps:
28
+ - name: 签出储存库
29
+ uses: actions/checkout@v3
30
+
31
+ - name: 设置 Python
32
+ uses: actions/setup-python@v4
33
+ with:
34
+ python-version: '3.12.4'
35
+
36
+ - name: 安装依赖
37
+ run: |
38
+ python -m pip install --upgrade pip
39
+ pip install uv hatch hatchling
40
+
41
+ - name: 构建 Python 包
42
+ if: github.event_name == 'workflow_call'
43
+ env:
44
+ TAG: ${{ inputs.tag }}
45
+ DONT_UPLOAD: 1
46
+
47
+ run:
48
+ python ./scripts/build.py
49
+
@@ -0,0 +1,68 @@
1
+ name: Publish Python Package
2
+
3
+ on:
4
+ push:
5
+ tags:
6
+ - "v-*-upload*"
7
+ - "v*-upload"
8
+
9
+ workflow_dispatch:
10
+ inputs:
11
+ tag:
12
+ description: 'Tag to publish'
13
+ type: string
14
+ required: true
15
+ default: 'v-current-upload'
16
+
17
+ workflow_call:
18
+ inputs:
19
+ tag:
20
+ description: 'Tag to publish'
21
+ type: string
22
+ required: true
23
+ default: 'v-current-upload'
24
+
25
+ jobs:
26
+ build-and-publish:
27
+ runs-on: ubuntu-latest
28
+ environment: Pypi-Update
29
+ permissions:
30
+ id-token: write
31
+
32
+ steps:
33
+ - name: 签出储存库
34
+ uses: actions/checkout@v3
35
+
36
+ - name: 设置 Python
37
+ uses: actions/setup-python@v4
38
+ with:
39
+ python-version: '3.12.4'
40
+
41
+ - name: 安装依赖
42
+ run: |
43
+ python -m pip install --upgrade pip
44
+ pip install hatch twine
45
+
46
+ - name: 构建和发布 Python 包(自动模式)
47
+ if: github.event_name == 'push'
48
+ env:
49
+ TAG: ${{ github.ref_name }}
50
+ run:
51
+ python ./scripts/upload-for-workflow.py
52
+
53
+ - name: 构建和发布 Python 包(手动模式)
54
+ if: github.event_name == 'workflow_dispatch'
55
+ env:
56
+ TAG: ${{ github.event.inputs.tag }}
57
+ run:
58
+ python ./scripts/upload-for-workflow.py
59
+
60
+ - name: 构建和发布 Python 包(调用模式)
61
+ if: github.event_name == 'workflow_call'
62
+ env:
63
+ TAG: ${{ inputs.tag }}
64
+ DONT_UPLOAD: 1
65
+
66
+ run:
67
+ python ./scripts/upload-for-workflow.py
68
+
@@ -0,0 +1,10 @@
1
+ on:
2
+ release:
3
+ types: [ published ]
4
+
5
+ jobs:
6
+ Build-And-Publish:
7
+ runs-on: ubuntu-latest
8
+ steps:
9
+ - name: Run build
10
+ uses: ./.github/workflows/.yml
@@ -0,0 +1,18 @@
1
+ # Dist and build files
2
+ /**/__pycache__/
3
+ /dist/
4
+ /.idea/
5
+ /.vscode/
6
+
7
+ # Files in Dev
8
+ /.temp/
9
+
10
+ /modules/hydrogenlib/_hycl/
11
+ /modules/hydrogenlib/_hyshm/
12
+ /modules/hydrogenlib/_hyquickapi/
13
+ /modules/hydrogenlib/_hydownloader/
14
+ /modules/hydrogenlib/_hytest/
15
+ /modules/hydrogenlib/_hyargs/
16
+ /modules/hydrogenlib/_hyfs/
17
+
18
+ /uv.lock
@@ -0,0 +1,15 @@
1
+ Metadata-Version: 2.4
2
+ Name: HydrogenLib-NEXT
3
+ Version: 0
4
+ Project-URL: Documentation, https://github.com/LittleSong2024/HydrogenLib#readme
5
+ Project-URL: Issues, https://github.com/LittleSong2024/HydrogenLib/issues
6
+ Project-URL: Source, https://github.com/LittleSong2024/HydrogenLib
7
+ Author-email: LittleSong2024 <LittleSong2024@outlook.com>
8
+ Classifier: Development Status :: 3 - Alpha
9
+ Classifier: Programming Language :: Python
10
+ Classifier: Programming Language :: Python :: 3.11
11
+ Classifier: Programming Language :: Python :: 3.12
12
+ Classifier: Programming Language :: Python :: 3.13
13
+ Classifier: Programming Language :: Python :: Implementation :: CPython
14
+ Classifier: Programming Language :: Python :: Implementation :: PyPy
15
+ Requires-Python: >=3.12
@@ -0,0 +1,22 @@
1
+ # !/usr/bin/env python3
2
+
3
+ import subprocess
4
+ from sys import argv
5
+
6
+ from modules.hydrogenlib.hycore import readfile
7
+
8
+
9
+ def run_error(cmdline):
10
+ ps = subprocess.run(cmdline, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
11
+ if ps.returncode != 0:
12
+ print(ps.stderr.decode('utf-8'))
13
+ raise RuntimeError(f'Error running command: {cmdline}')
14
+
15
+
16
+ if __name__ == '__main__':
17
+ commit_msg = readfile(argv[1])
18
+
19
+ if commit_msg.startswith('publish: '):
20
+ tag = commit_msg.removeprefix('publish:').strip()
21
+ print(f'Tag: {tag}')
22
+ run_error(f'git tag {tag}')
@@ -0,0 +1,10 @@
1
+ import fnmatch
2
+
3
+ from modules.hydrogenlib.hycore import listdir, copyfile
4
+
5
+ if __name__ == '__main__':
6
+ for file in listdir('.'):
7
+ if fnmatch.fnmatch(file, '*.py'):
8
+ copyfile(file, "..\\.git\\hooks\\" + file[:-3])
9
+
10
+ print("Install Successful")
@@ -0,0 +1,15 @@
1
+ # !/usr/bin/env python3
2
+
3
+ import os
4
+ import subprocess
5
+
6
+ data = {
7
+ k.removeprefix('GIT_PUSH_'): v
8
+ for k, v in os.environ.items()
9
+ if k.startswith('GIT_PUSH_OPTION_')
10
+ }
11
+
12
+
13
+ if __name__ == '__main__':
14
+ if "no-verify" not in data.values():
15
+ subprocess.run(['git', 'push', 'origin', '--tags', '--push-option=no-verify'])
@@ -0,0 +1 @@
1
+ version = '0'
@@ -0,0 +1 @@
1
+ from _hyargs import *
@@ -0,0 +1 @@
1
+ from _hyauth import *
@@ -0,0 +1 @@
1
+ from _hyconfig import *
@@ -0,0 +1 @@
1
+ from _hycore import *
@@ -0,0 +1 @@
1
+ from _hycrypto import *
@@ -0,0 +1 @@
1
+ from _hyctypes import *
@@ -0,0 +1 @@
1
+ from _hydantic import *
@@ -0,0 +1 @@
1
+ from _hydemo import *
@@ -0,0 +1 @@
1
+ from _hydownloader import *
@@ -0,0 +1 @@
1
+ from _hyfilesystem import *
@@ -0,0 +1 @@
1
+ from _hyoverload import *
@@ -0,0 +1 @@
1
+ from _hypipe import *
@@ -0,0 +1 @@
1
+ from _hypy import *
@@ -0,0 +1 @@
1
+ from _hyquickapi import *
@@ -0,0 +1 @@
1
+ from _hyre import *
@@ -0,0 +1 @@
1
+ from _hyserialize import *
@@ -0,0 +1 @@
1
+ from _hyshm import *
@@ -0,0 +1 @@
1
+ from _hysocket import *
@@ -0,0 +1 @@
1
+ from _hytemplate import *
@@ -0,0 +1 @@
1
+ from _hytest import *
@@ -0,0 +1 @@
1
+ from _hythreading import *
@@ -0,0 +1 @@
1
+ from _hyttlcache import *
@@ -0,0 +1 @@
1
+ from _hywinreg import *
File without changes
@@ -0,0 +1,27 @@
1
+ [build-system]
2
+ requires = ["hatchling"]
3
+ build-backend = "hatchling.build"
4
+
5
+ [project]
6
+ name = "HydrogenLib-Args"
7
+ dynamic = ["version"]
8
+ description = ''
9
+ readme = "README.md"
10
+ requires-python = ">=3.12"
11
+ keywords = []
12
+ authors = [
13
+ { name = "LittleSong2024", email = "LittleSong2024@outlook.com" },
14
+ ]
15
+ classifiers = ["Development Status :: 3 - Alpha", "Programming Language :: Python", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy"]
16
+ dependencies = []
17
+
18
+ [project.urls]
19
+ Documentation = "https://github.com/LittleSong2024/HydrogenLib#readme"
20
+ Issues = "https://github.com/LittleSong2024/HydrogenLib/issues"
21
+ Source = "https://github.com/LittleSong2024/HydrogenLib"
22
+
23
+ [tool.hatch.version]
24
+ path = "src/_hyargs/__about__.py"
25
+
26
+ [tool.hatch.build.targets.wheel]
27
+ packages = ["src/_hyargs"]
@@ -0,0 +1 @@
1
+ version = '0.0.1'
@@ -0,0 +1,43 @@
1
+ from _hycore.typefunc.function import Function
2
+
3
+
4
+ class Argument:
5
+ def __init__(self, name: str, type):
6
+ self.name = name
7
+ self.type = type
8
+
9
+ def transform(self, value):
10
+ try:
11
+ return self.type(value)
12
+ except Exception as e:
13
+ return None
14
+
15
+
16
+ class Arguments:
17
+ def __init__(self, func):
18
+ self.func = Function(func)
19
+
20
+ self.arguments: list[Argument] = []
21
+
22
+ self.args_supported = False
23
+ self.kwargs_supported = False
24
+
25
+ def _parse_arguments(self):
26
+ if self.func.signature.parameters:
27
+ for name, value in self.func.signature.parameters.items():
28
+ self.arguments.append(Argument(name, value.annotation))
29
+
30
+
31
+ class Arguments_Parser:
32
+ def __init__(self, arguments, args):
33
+ self.arguments = arguments # type: list[Argument]
34
+ self.args = args # type: list[str]
35
+
36
+ self.pos = 0
37
+ self.result = {}
38
+ self.result_args = []
39
+ self.result_kwargs = {}
40
+
41
+ def parse(self):
42
+ ...
43
+
File without changes
@@ -0,0 +1,27 @@
1
+ [build-system]
2
+ requires = ["hatchling"]
3
+ build-backend = "hatchling.build"
4
+
5
+ [project]
6
+ name = "HydrogenLib-Auth"
7
+ dynamic = ["version"]
8
+ description = ''
9
+ readme = "README.md"
10
+ requires-python = ">=3.12"
11
+ keywords = []
12
+ authors = [
13
+ { name = "LittleSong2024", email = "LittleSong2024@outlook.com" },
14
+ ]
15
+ classifiers = ["Development Status :: 3 - Alpha", "Programming Language :: Python", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy"]
16
+ dependencies = []
17
+
18
+ [project.urls]
19
+ Documentation = "https://github.com/LittleSong2024/HydrogenLib#readme"
20
+ Issues = "https://github.com/LittleSong2024/HydrogenLib/issues"
21
+ Source = "https://github.com/LittleSong2024/HydrogenLib"
22
+
23
+ [tool.hatch.version]
24
+ path = "src/_hyauth/__about__.py"
25
+
26
+ [tool.hatch.build.targets.wheel]
27
+ packages = ["src/_hyauth"]
@@ -0,0 +1,4 @@
1
+ # SPDX-FileCopyrightText: 2025-present LittleSong2024 <LittleSong2024@outlook.com>
2
+ #
3
+ # SPDX-License-Identifier: HydrogenLib License
4
+ __version__ = "0.0.1"