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.
- hydrogenlib_next-0/.github/ISSUE_TEMPLATE/bug_template.yml +110 -0
- hydrogenlib_next-0/.github/workflows/build.yml +49 -0
- hydrogenlib_next-0/.github/workflows/python-publish.yml +68 -0
- hydrogenlib_next-0/.github/workflows/python-release-publish.yml +10 -0
- hydrogenlib_next-0/.gitignore +18 -0
- hydrogenlib_next-0/PKG-INFO +15 -0
- hydrogenlib_next-0/git-hooks/commit-msg.py +22 -0
- hydrogenlib_next-0/git-hooks/install.py +10 -0
- hydrogenlib_next-0/git-hooks/post-push.py +15 -0
- hydrogenlib_next-0/hydrogenlib/__init__.py +1 -0
- hydrogenlib_next-0/hydrogenlib/args.py +1 -0
- hydrogenlib_next-0/hydrogenlib/auth.py +1 -0
- hydrogenlib_next-0/hydrogenlib/config.py +1 -0
- hydrogenlib_next-0/hydrogenlib/core.py +1 -0
- hydrogenlib_next-0/hydrogenlib/crypto.py +1 -0
- hydrogenlib_next-0/hydrogenlib/ctypes.py +1 -0
- hydrogenlib_next-0/hydrogenlib/dantic.py +1 -0
- hydrogenlib_next-0/hydrogenlib/demo.py +1 -0
- hydrogenlib_next-0/hydrogenlib/downloader.py +1 -0
- hydrogenlib_next-0/hydrogenlib/filesystem.py +1 -0
- hydrogenlib_next-0/hydrogenlib/overload.py +1 -0
- hydrogenlib_next-0/hydrogenlib/pipe.py +1 -0
- hydrogenlib_next-0/hydrogenlib/py.py +1 -0
- hydrogenlib_next-0/hydrogenlib/quickapi.py +1 -0
- hydrogenlib_next-0/hydrogenlib/re.py +1 -0
- hydrogenlib_next-0/hydrogenlib/serialize.py +1 -0
- hydrogenlib_next-0/hydrogenlib/shm.py +1 -0
- hydrogenlib_next-0/hydrogenlib/socket.py +1 -0
- hydrogenlib_next-0/hydrogenlib/template.py +1 -0
- hydrogenlib_next-0/hydrogenlib/test.py +1 -0
- hydrogenlib_next-0/hydrogenlib/threading.py +1 -0
- hydrogenlib_next-0/hydrogenlib/ttlcache.py +1 -0
- hydrogenlib_next-0/hydrogenlib/winreg.py +1 -0
- hydrogenlib_next-0/modules/hyargs/README.md +0 -0
- hydrogenlib_next-0/modules/hyargs/dist/.gitignore +1 -0
- hydrogenlib_next-0/modules/hyargs/dist/hydrogenlib_args-0.0.1.tar.gz +0 -0
- hydrogenlib_next-0/modules/hyargs/dist/hydrogenlib_hyargs-0.0.1-py3-none-any.whl +0 -0
- hydrogenlib_next-0/modules/hyargs/dist/hydrogenlib_hyargs-0.0.1.tar.gz +0 -0
- hydrogenlib_next-0/modules/hyargs/pyproject.toml +27 -0
- hydrogenlib_next-0/modules/hyargs/requirements.txt +1 -0
- hydrogenlib_next-0/modules/hyargs/src/_hyargs/__about__.py +1 -0
- hydrogenlib_next-0/modules/hyargs/src/_hyargs/__init__.py +0 -0
- hydrogenlib_next-0/modules/hyargs/src/_hyargs/args_processer.py +43 -0
- hydrogenlib_next-0/modules/hyargs/src/_hyargs/argsparser.py +0 -0
- hydrogenlib_next-0/modules/hyauth/README.md +0 -0
- hydrogenlib_next-0/modules/hyauth/dist/.gitignore +1 -0
- hydrogenlib_next-0/modules/hyauth/dist/hydrogenlib_auth-0.0.1.tar.gz +0 -0
- hydrogenlib_next-0/modules/hyauth/dist/hydrogenlib_hyauth-0.0.1-py3-none-any.whl +0 -0
- hydrogenlib_next-0/modules/hyauth/dist/hydrogenlib_hyauth-0.0.1.tar.gz +0 -0
- hydrogenlib_next-0/modules/hyauth/pyproject.toml +27 -0
- hydrogenlib_next-0/modules/hyauth/requirements.txt +1 -0
- hydrogenlib_next-0/modules/hyauth/src/_hyauth/__about__.py +4 -0
- hydrogenlib_next-0/modules/hyauth/src/_hyauth/__init__.py +0 -0
- hydrogenlib_next-0/modules/hyauth/src/_hyauth/auth.py +298 -0
- hydrogenlib_next-0/modules/hyconfig/README.md +0 -0
- hydrogenlib_next-0/modules/hyconfig/dist/.gitignore +1 -0
- hydrogenlib_next-0/modules/hyconfig/dist/hydrogenlib_config-0.0.1.tar.gz +0 -0
- hydrogenlib_next-0/modules/hyconfig/dist/hydrogenlib_hyconfig-0.0.1-py3-none-any.whl +0 -0
- hydrogenlib_next-0/modules/hyconfig/dist/hydrogenlib_hyconfig-0.0.1.tar.gz +0 -0
- hydrogenlib_next-0/modules/hyconfig/pyproject.toml +27 -0
- hydrogenlib_next-0/modules/hyconfig/requirements.txt +1 -0
- hydrogenlib_next-0/modules/hyconfig/src/_hyconfig/__about__.py +4 -0
- hydrogenlib_next-0/modules/hyconfig/src/_hyconfig/__init__.py +4 -0
- hydrogenlib_next-0/modules/hyconfig/src/_hyconfig/abc/__init__.py +4 -0
- hydrogenlib_next-0/modules/hyconfig/src/_hyconfig/abc/backend.py +45 -0
- hydrogenlib_next-0/modules/hyconfig/src/_hyconfig/abc/model.py +33 -0
- hydrogenlib_next-0/modules/hyconfig/src/_hyconfig/abc/types.py +75 -0
- hydrogenlib_next-0/modules/hyconfig/src/_hyconfig/backend/__init__.py +2 -0
- hydrogenlib_next-0/modules/hyconfig/src/_hyconfig/backend/json_backend.py +20 -0
- hydrogenlib_next-0/modules/hyconfig/src/_hyconfig/backend/pickle_backend.py +17 -0
- hydrogenlib_next-0/modules/hyconfig/src/_hyconfig/config/__init__.py +3 -0
- hydrogenlib_next-0/modules/hyconfig/src/_hyconfig/config/const.py +1 -0
- hydrogenlib_next-0/modules/hyconfig/src/_hyconfig/config/container.py +19 -0
- hydrogenlib_next-0/modules/hyconfig/src/_hyconfig/config/items.py +25 -0
- hydrogenlib_next-0/modules/hyconfig/src/_hyconfig/config/manager.py +33 -0
- hydrogenlib_next-0/modules/hyconfig/src/_hyconfig/config/types.py +47 -0
- hydrogenlib_next-0/modules/hyconfig/src/_hyconfig/model/__init__.py +1 -0
- hydrogenlib_next-0/modules/hyconfig/src/_hyconfig/model/default.py +34 -0
- hydrogenlib_next-0/modules/hycore/README.md +0 -0
- hydrogenlib_next-0/modules/hycore/dist/.gitignore +1 -0
- hydrogenlib_next-0/modules/hycore/dist/hydrogenlib_core-0.1.1-py3-none-any.whl +0 -0
- hydrogenlib_next-0/modules/hycore/dist/hydrogenlib_core-0.1.1.tar.gz +0 -0
- hydrogenlib_next-0/modules/hycore/pyproject.toml +33 -0
- hydrogenlib_next-0/modules/hycore/requirements.txt +5 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/__about__.py +4 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/__init__.py +1 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/atexit.py +93 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/better_descriptor.py +127 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/codedoc/__init__.py +0 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/codedoc/code_struct.py +67 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/const.py +65 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/coro_plus.py +109 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/data_structures/__init__.py +9 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/data_structures/b_plus_tree.py +335 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/data_structures/graph.py +208 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/data_structures/heap.py +88 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/data_structures/huffman_tree.py +184 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/data_structures/stack.py +91 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/data_structures/tree.py +17 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/data_structures/vis_structure.py +38 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/data_structures/wrappers.py +8 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/decorators.py +22 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/env_plus.py +282 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/file.py +360 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/fsutil/__init__.py +0 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/fsutil/copy.py +10 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/fsutil/file.py +0 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/fsutil/hard_link.py +18 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/fsutil/soft_link.py +0 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/hash.py +47 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/import_plus.py +72 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/io_addons.py +19 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/json/Json.py +17 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/json/Pickle.py +35 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/json/__init__.py +8 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/json_file.py +164 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/neostruct/__init__.py +28 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/neostruct/type_hints.py +0 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/network.py +245 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/output_methods.py +159 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/path.py +355 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/process.py +143 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/std_extends/__init__.py +0 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/std_extends/builtin_methods/__init__.py +1 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/std_extends/builtin_methods/frozen_dict.py +40 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/std_extends/rich_print.py +1 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/sys_plus.py +65 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/threading_methods.py +76 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/time_.py +119 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/typefunc/__init__.py +12 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/typefunc/binary_tree.py +199 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/typefunc/bitmap.py +118 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/typefunc/common.py +93 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/typefunc/dict_func.py +112 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/typefunc/errors.py +10 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/typefunc/function.py +154 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/typefunc/index_offset.py +253 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/typefunc/list_func.py +258 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/typefunc/number.py +4 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/typefunc/property.py +60 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/typefunc/safe_eval.py +199 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/typefunc/tempalte_type.py +30 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/typefunc/type_func.py +57 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/utils/__init__.py +17 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/utils/auto.py +182 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/utils/basic.py +21 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/utils/clock.py +41 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/utils/dotpath.py +72 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/utils/double_dict.py +40 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/utils/getting_path.py +58 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/utils/instance_dict/__init__.py +3 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/utils/instance_dict/events.py +64 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/utils/instance_dict/instance_dict.py +173 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/utils/lazy/__init__.py +1 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/utils/lazy/lz_data.py +33 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/utils/lazy/lz_field.py +31 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/utils/member_manager.py +158 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/utils/multi_set.py +37 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/utils/namespace.py +46 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/utils/network_packages.py +72 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/utils/object_pool/__init__.py +0 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/utils/object_pool/item.py +51 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/utils/object_pool/pool.py +19 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/utils/once_message.py +69 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/utils/permission_manager.py +422 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/utils/probability_counter.py +62 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/utils/timed_data.py +145 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/utils/timer_wheel/__init__.py +3 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/utils/timer_wheel/core.py +135 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/utils/timer_wheel/task.py +43 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/utils/timer_wheel/wheel.py +51 -0
- hydrogenlib_next-0/modules/hycore/src/_hycore/utils/triggers.py +99 -0
- hydrogenlib_next-0/modules/hycrypto/README.md +0 -0
- hydrogenlib_next-0/modules/hycrypto/dist/.gitignore +1 -0
- hydrogenlib_next-0/modules/hycrypto/dist/hydrogenlib_crypto-0.0.1.tar.gz +0 -0
- hydrogenlib_next-0/modules/hycrypto/dist/hydrogenlib_hycrypto-0.0.1-py3-none-any.whl +0 -0
- hydrogenlib_next-0/modules/hycrypto/dist/hydrogenlib_hycrypto-0.0.1.tar.gz +0 -0
- hydrogenlib_next-0/modules/hycrypto/pyproject.toml +30 -0
- hydrogenlib_next-0/modules/hycrypto/requirements.txt +2 -0
- hydrogenlib_next-0/modules/hycrypto/src/_hycrypto/__about__.py +4 -0
- hydrogenlib_next-0/modules/hycrypto/src/_hycrypto/__init__.py +1 -0
- hydrogenlib_next-0/modules/hycrypto/src/_hycrypto/crypto/__init__.py +2 -0
- hydrogenlib_next-0/modules/hycrypto/src/_hycrypto/crypto/aes.py +90 -0
- hydrogenlib_next-0/modules/hycrypto/src/_hycrypto/crypto/both.py +20 -0
- hydrogenlib_next-0/modules/hycrypto/src/_hycrypto/crypto/methods.py +51 -0
- hydrogenlib_next-0/modules/hycrypto/src/_hycrypto/crypto/rsa_.py +24 -0
- hydrogenlib_next-0/modules/hycrypto/src/_hycrypto/encryio.py +128 -0
- hydrogenlib_next-0/modules/hyctypes/README.md +0 -0
- hydrogenlib_next-0/modules/hyctypes/dist/.gitignore +1 -0
- hydrogenlib_next-0/modules/hyctypes/dist/hydrogenlib_ctypes-0.1.1-py3-none-any.whl +0 -0
- hydrogenlib_next-0/modules/hyctypes/dist/hydrogenlib_ctypes-0.1.1.tar.gz +0 -0
- hydrogenlib_next-0/modules/hyctypes/pyproject.toml +29 -0
- hydrogenlib_next-0/modules/hyctypes/requirements.txt +1 -0
- hydrogenlib_next-0/modules/hyctypes/src/_hyctypes/C/__init__.py +3 -0
- hydrogenlib_next-0/modules/hyctypes/src/_hyctypes/C/basic_types/__init__.py +9 -0
- hydrogenlib_next-0/modules/hyctypes/src/_hyctypes/C/basic_types/base.py +167 -0
- hydrogenlib_next-0/modules/hyctypes/src/_hyctypes/C/basic_types/enums.py +42 -0
- hydrogenlib_next-0/modules/hyctypes/src/_hyctypes/C/basic_types/impls.py +108 -0
- hydrogenlib_next-0/modules/hyctypes/src/_hyctypes/C/basic_types/type_hints.py +41 -0
- hydrogenlib_next-0/modules/hyctypes/src/_hyctypes/C/basic_types/type_realities.py +49 -0
- hydrogenlib_next-0/modules/hyctypes/src/_hyctypes/C/c_types.py +10 -0
- hydrogenlib_next-0/modules/hyctypes/src/_hyctypes/C/compound_types/__init__.py +7 -0
- hydrogenlib_next-0/modules/hyctypes/src/_hyctypes/C/compound_types/base.py +4 -0
- hydrogenlib_next-0/modules/hyctypes/src/_hyctypes/C/compound_types/impls.py +272 -0
- hydrogenlib_next-0/modules/hyctypes/src/_hyctypes/C/compound_types/type_hints.py +11 -0
- hydrogenlib_next-0/modules/hyctypes/src/_hyctypes/C/compound_types/type_realities.py +216 -0
- hydrogenlib_next-0/modules/hyctypes/src/_hyctypes/C/dll.py +73 -0
- hydrogenlib_next-0/modules/hyctypes/src/_hyctypes/C/methods.py +4 -0
- hydrogenlib_next-0/modules/hyctypes/src/_hyctypes/C/py_types/__init__.py +1 -0
- hydrogenlib_next-0/modules/hyctypes/src/_hyctypes/C/py_types/base.py +1 -0
- hydrogenlib_next-0/modules/hyctypes/src/_hyctypes/C/py_types/type_realities.py +68 -0
- hydrogenlib_next-0/modules/hyctypes/src/_hyctypes/__about__.py +4 -0
- hydrogenlib_next-0/modules/hyctypes/src/_hyctypes/__init__.py +31 -0
- hydrogenlib_next-0/modules/hydantic/README.md +0 -0
- hydrogenlib_next-0/modules/hydantic/dist/.gitignore +1 -0
- hydrogenlib_next-0/modules/hydantic/dist/hydrogenlib_dantic-0.0.1-py3-none-any.whl +0 -0
- hydrogenlib_next-0/modules/hydantic/dist/hydrogenlib_dantic-0.0.1.tar.gz +0 -0
- hydrogenlib_next-0/modules/hydantic/pyproject.toml +27 -0
- hydrogenlib_next-0/modules/hydantic/src/_hydantic/__about__.py +4 -0
- hydrogenlib_next-0/modules/hydantic/src/_hydantic/__init__.py +3 -0
- hydrogenlib_next-0/modules/hydantic/src/_hydantic/model.py +110 -0
- hydrogenlib_next-0/modules/hydantic/src/_hydantic/models.py +85 -0
- hydrogenlib_next-0/modules/hydemo/README.md +0 -0
- hydrogenlib_next-0/modules/hydemo/dist/.gitignore +1 -0
- hydrogenlib_next-0/modules/hydemo/dist/hydrogenlib_demo-0.0.1.tar.gz +0 -0
- hydrogenlib_next-0/modules/hydemo/dist/hydrogenlib_hydemo-0.0.1-py3-none-any.whl +0 -0
- hydrogenlib_next-0/modules/hydemo/dist/hydrogenlib_hydemo-0.0.1.tar.gz +0 -0
- hydrogenlib_next-0/modules/hydemo/pyproject.toml +27 -0
- hydrogenlib_next-0/modules/hydemo/requirements.txt +2 -0
- hydrogenlib_next-0/modules/hydemo/src/_hydemo/__about__.py +4 -0
- hydrogenlib_next-0/modules/hydemo/src/_hydemo/__init__.py +1 -0
- hydrogenlib_next-0/modules/hydemo/src/_hydemo/example.py +19 -0
- hydrogenlib_next-0/modules/hydemo/src/_hydemo/sample_data/__init__.py +23 -0
- hydrogenlib_next-0/modules/hydemo/src/_hydemo/scripts/__init__.py +0 -0
- hydrogenlib_next-0/modules/hydemo/src/_hydemo/scripts/enter.py +42 -0
- hydrogenlib_next-0/modules/hydemo/src/_hydemo/scripts/utils/__init__.py +0 -0
- hydrogenlib_next-0/modules/hydemo/src/_hydemo/scripts/utils/build-bitmap.py +12 -0
- hydrogenlib_next-0/modules/hydemo/src/_hydemo/scripts/utils/rename-x.py +100 -0
- hydrogenlib_next-0/modules/hydownloader/README.md +0 -0
- hydrogenlib_next-0/modules/hydownloader/dist/.gitignore +1 -0
- hydrogenlib_next-0/modules/hydownloader/dist/hydrogenlib_downloader-0.0.1-py3-none-any.whl +0 -0
- hydrogenlib_next-0/modules/hydownloader/dist/hydrogenlib_downloader-0.0.1.tar.gz +0 -0
- hydrogenlib_next-0/modules/hydownloader/dist/hydrogenlib_hydownloader-0.0.1-py3-none-any.whl +0 -0
- hydrogenlib_next-0/modules/hydownloader/dist/hydrogenlib_hydownloader-0.0.1.tar.gz +0 -0
- hydrogenlib_next-0/modules/hydownloader/pyproject.toml +27 -0
- hydrogenlib_next-0/modules/hydownloader/requirements.txt +1 -0
- hydrogenlib_next-0/modules/hydownloader/src/_hydownloader/__about__.py +4 -0
- hydrogenlib_next-0/modules/hydownloader/src/_hydownloader/__init__.py +0 -0
- hydrogenlib_next-0/modules/hydownloader/src/_hydownloader/dynamic_model/__init__.py +31 -0
- hydrogenlib_next-0/modules/hydownloader/src/_hydownloader/dynamic_model/model_abc.py +41 -0
- hydrogenlib_next-0/modules/hydownloader/src/_hydownloader/dynamic_model/models/static_download_model/__init__.py +0 -0
- hydrogenlib_next-0/modules/hydownloader/src/_hydownloader/dynamic_model/models/static_download_model/model.py +49 -0
- hydrogenlib_next-0/modules/hydownloader/src/_hydownloader/dynamic_model/models/static_download_model/requirements.py +25 -0
- hydrogenlib_next-0/modules/hyfilesystem/README.md +0 -0
- hydrogenlib_next-0/modules/hyfilesystem/dist/.gitignore +1 -0
- hydrogenlib_next-0/modules/hyfilesystem/dist/hydrogenlib_filesystem-0.0.1-py3-none-any.whl +0 -0
- hydrogenlib_next-0/modules/hyfilesystem/dist/hydrogenlib_filesystem-0.0.1.tar.gz +0 -0
- hydrogenlib_next-0/modules/hyfilesystem/dist/hydrogenlib_hyfilesystem-0.0.1-py3-none-any.whl +0 -0
- hydrogenlib_next-0/modules/hyfilesystem/dist/hydrogenlib_hyfilesystem-0.0.1.tar.gz +0 -0
- hydrogenlib_next-0/modules/hyfilesystem/pyproject.toml +27 -0
- hydrogenlib_next-0/modules/hyfilesystem/requirements.txt +1 -0
- hydrogenlib_next-0/modules/hyfilesystem/src/_hyfilesystem/__about__.py +4 -0
- hydrogenlib_next-0/modules/hyfilesystem/src/_hyfilesystem/__init__.py +0 -0
- hydrogenlib_next-0/modules/hyfilesystem/src/_hyfilesystem/abstract.py +80 -0
- hydrogenlib_next-0/modules/hyfilesystem/src/_hyfilesystem/namespace.py +1 -0
- hydrogenlib_next-0/modules/hyoverload/README.md +0 -0
- hydrogenlib_next-0/modules/hyoverload/dist/.gitignore +1 -0
- hydrogenlib_next-0/modules/hyoverload/dist/hydrogenlib_hyoverload-0.0.1-py3-none-any.whl +0 -0
- hydrogenlib_next-0/modules/hyoverload/dist/hydrogenlib_hyoverload-0.0.1.tar.gz +0 -0
- hydrogenlib_next-0/modules/hyoverload/pyproject.toml +27 -0
- hydrogenlib_next-0/modules/hyoverload/requirements.txt +1 -0
- hydrogenlib_next-0/modules/hyoverload/src/_hyoverload/__about__.py +4 -0
- hydrogenlib_next-0/modules/hyoverload/src/_hyoverload/__init__.py +3 -0
- hydrogenlib_next-0/modules/hyoverload/src/_hyoverload/args_temp.py +15 -0
- hydrogenlib_next-0/modules/hyoverload/src/_hyoverload/errors.py +103 -0
- hydrogenlib_next-0/modules/hyoverload/src/_hyoverload/namespace.py +38 -0
- hydrogenlib_next-0/modules/hyoverload/src/_hyoverload/overload.py +0 -0
- hydrogenlib_next-0/modules/hyoverload/src/_hyoverload/overload_function.py +68 -0
- hydrogenlib_next-0/modules/hyoverload/src/_hyoverload/overload_machine.py +25 -0
- hydrogenlib_next-0/modules/hyoverload/src/_hyoverload/type_checker.py +141 -0
- hydrogenlib_next-0/modules/hypipe/README.md +0 -0
- hydrogenlib_next-0/modules/hypipe/dist/.gitignore +1 -0
- hydrogenlib_next-0/modules/hypipe/dist/hydrogenlib_hypipe-0.0.1-py3-none-any.whl +0 -0
- hydrogenlib_next-0/modules/hypipe/dist/hydrogenlib_hypipe-0.0.1.tar.gz +0 -0
- hydrogenlib_next-0/modules/hypipe/pyproject.toml +27 -0
- hydrogenlib_next-0/modules/hypipe/requirements.txt +1 -0
- hydrogenlib_next-0/modules/hypipe/src/_hypipe/__about__.py +4 -0
- hydrogenlib_next-0/modules/hypipe/src/_hypipe/__init__.py +2 -0
- hydrogenlib_next-0/modules/hypipe/src/_hypipe/namedpipe/__init__.py +7 -0
- hydrogenlib_next-0/modules/hypipe/src/_hypipe/namedpipe/_windows.py +74 -0
- hydrogenlib_next-0/modules/hypipe/src/_hypipe/namedpipe/linux.py +118 -0
- hydrogenlib_next-0/modules/hypipe/src/_hypipe/namedpipe/mac.py +0 -0
- hydrogenlib_next-0/modules/hypipe/src/_hypipe/namedpipe/windows.py +29 -0
- hydrogenlib_next-0/modules/hypipe/src/_hypipe/ospipe.py +109 -0
- hydrogenlib_next-0/modules/hypy/README.md +0 -0
- hydrogenlib_next-0/modules/hypy/dist/.gitignore +1 -0
- hydrogenlib_next-0/modules/hypy/dist/hydrogenlib_hypy-0.0.1-py3-none-any.whl +0 -0
- hydrogenlib_next-0/modules/hypy/dist/hydrogenlib_hypy-0.0.1.tar.gz +0 -0
- hydrogenlib_next-0/modules/hypy/pyproject.toml +27 -0
- hydrogenlib_next-0/modules/hypy/requirements.txt +1 -0
- hydrogenlib_next-0/modules/hypy/src/_hypy/__about__.py +4 -0
- hydrogenlib_next-0/modules/hypy/src/_hypy/__init__.py +1 -0
- hydrogenlib_next-0/modules/hypy/src/_hypy/ses/__init__.py +76 -0
- hydrogenlib_next-0/modules/hyquickapi/README.md +0 -0
- hydrogenlib_next-0/modules/hyquickapi/dist/.gitignore +1 -0
- hydrogenlib_next-0/modules/hyquickapi/dist/hydrogenlib_hyquickapi-0.0.1-py3-none-any.whl +0 -0
- hydrogenlib_next-0/modules/hyquickapi/dist/hydrogenlib_hyquickapi-0.0.1.tar.gz +0 -0
- hydrogenlib_next-0/modules/hyquickapi/pyproject.toml +27 -0
- hydrogenlib_next-0/modules/hyquickapi/requirements.txt +2 -0
- hydrogenlib_next-0/modules/hyquickapi/src/_hyquickapi/__about__.py +4 -0
- hydrogenlib_next-0/modules/hyquickapi/src/_hyquickapi/__init__.py +0 -0
- hydrogenlib_next-0/modules/hyquickapi/src/_hyquickapi/client/__init__.py +8 -0
- hydrogenlib_next-0/modules/hyquickapi/src/_hyquickapi/client/api_abc.py +80 -0
- hydrogenlib_next-0/modules/hyquickapi/src/_hyquickapi/client/backend.py +9 -0
- hydrogenlib_next-0/modules/hyquickapi/src/_hyquickapi/client/cases.py +20 -0
- hydrogenlib_next-0/modules/hyquickapi/src/_hyquickapi/client/countainer.py +5 -0
- hydrogenlib_next-0/modules/hyquickapi/src/_hyquickapi/client/defines.py +65 -0
- hydrogenlib_next-0/modules/hyquickapi/src/_hyquickapi/client/function.py +47 -0
- hydrogenlib_next-0/modules/hyquickapi/src/_hyquickapi/client/handler.py +11 -0
- hydrogenlib_next-0/modules/hyquickapi/src/_hyquickapi/client/requester.py +9 -0
- hydrogenlib_next-0/modules/hyquickapi/src/_hyquickapi/client/template.py +32 -0
- hydrogenlib_next-0/modules/hyre/README.md +0 -0
- hydrogenlib_next-0/modules/hyre/dist/.gitignore +1 -0
- hydrogenlib_next-0/modules/hyre/dist/hydrogenlib_hyre-0.0.1-py3-none-any.whl +0 -0
- hydrogenlib_next-0/modules/hyre/dist/hydrogenlib_hyre-0.0.1.tar.gz +0 -0
- hydrogenlib_next-0/modules/hyre/pyproject.toml +27 -0
- hydrogenlib_next-0/modules/hyre/requirements.txt +1 -0
- hydrogenlib_next-0/modules/hyre/src/_hyre/__about__.py +4 -0
- hydrogenlib_next-0/modules/hyre/src/_hyre/__init__.py +1 -0
- hydrogenlib_next-0/modules/hyre/src/_hyre/re_plus/REConcatenater.py +139 -0
- hydrogenlib_next-0/modules/hyre/src/_hyre/re_plus/__init__.py +27 -0
- hydrogenlib_next-0/modules/hyre/src/_hyre/re_plus/_reconcatenater_abc.py +35 -0
- hydrogenlib_next-0/modules/hyserialize/README.md +0 -0
- hydrogenlib_next-0/modules/hyserialize/dist/.gitignore +1 -0
- hydrogenlib_next-0/modules/hyserialize/dist/hydrogenlib_hyserialize-0.0.1-py3-none-any.whl +0 -0
- hydrogenlib_next-0/modules/hyserialize/dist/hydrogenlib_hyserialize-0.0.1.tar.gz +0 -0
- hydrogenlib_next-0/modules/hyserialize/pyproject.toml +27 -0
- hydrogenlib_next-0/modules/hyserialize/requirements.txt +1 -0
- hydrogenlib_next-0/modules/hyserialize/src/_hyserialize/__about__.py +4 -0
- hydrogenlib_next-0/modules/hyserialize/src/_hyserialize/__init__.py +1 -0
- hydrogenlib_next-0/modules/hyserialize/src/_hyserialize/serializers/__init__.py +14 -0
- hydrogenlib_next-0/modules/hyserialize/src/_hyserialize/serializers/_combination.py +43 -0
- hydrogenlib_next-0/modules/hyserialize/src/_hyserialize/serializers/_json.py +19 -0
- hydrogenlib_next-0/modules/hyserialize/src/_hyserialize/serializers/_jsonpickle.py +7 -0
- hydrogenlib_next-0/modules/hyserialize/src/_hyserialize/serializers/_wrapping.py +24 -0
- hydrogenlib_next-0/modules/hyserialize/src/_hyserialize/serializers/abstract.py +28 -0
- hydrogenlib_next-0/modules/hyshm/README.md +0 -0
- hydrogenlib_next-0/modules/hyshm/dist/.gitignore +1 -0
- hydrogenlib_next-0/modules/hyshm/dist/hydrogenlib_hyshm-0.0.1-py3-none-any.whl +0 -0
- hydrogenlib_next-0/modules/hyshm/dist/hydrogenlib_hyshm-0.0.1.tar.gz +0 -0
- hydrogenlib_next-0/modules/hyshm/pyproject.toml +27 -0
- hydrogenlib_next-0/modules/hyshm/requirements.txt +1 -0
- hydrogenlib_next-0/modules/hyshm/src/_hyshm/__about__.py +4 -0
- hydrogenlib_next-0/modules/hyshm/src/_hyshm/__init__.py +1 -0
- hydrogenlib_next-0/modules/hyshm/src/_hyshm/hyshm/__init__.py +0 -0
- hydrogenlib_next-0/modules/hyshm/src/_hyshm/hyshm/windows/__init__.py +111 -0
- hydrogenlib_next-0/modules/hyshm/src/_hyshm/hyshm/windows/api.py +17 -0
- hydrogenlib_next-0/modules/hysocket/README.md +0 -0
- hydrogenlib_next-0/modules/hysocket/dist/.gitignore +1 -0
- hydrogenlib_next-0/modules/hysocket/dist/hydrogenlib_hysocket-0.0.1-py3-none-any.whl +0 -0
- hydrogenlib_next-0/modules/hysocket/dist/hydrogenlib_hysocket-0.0.1.tar.gz +0 -0
- hydrogenlib_next-0/modules/hysocket/pyproject.toml +27 -0
- hydrogenlib_next-0/modules/hysocket/requirements.txt +1 -0
- hydrogenlib_next-0/modules/hysocket/src/_hysocket/__about__.py +4 -0
- hydrogenlib_next-0/modules/hysocket/src/_hysocket/__init__.py +0 -0
- hydrogenlib_next-0/modules/hysocket/src/_hysocket/core/__init__.py +1 -0
- hydrogenlib_next-0/modules/hysocket/src/_hysocket/core/async_socket.py +130 -0
- hydrogenlib_next-0/modules/hysocket/src/_hysocket/hysocket.py +55 -0
- hydrogenlib_next-0/modules/hysocket/src/_hysocket/methods.py +39 -0
- hydrogenlib_next-0/modules/hysocket/src/_hysocket/protrol_abc.py +42 -0
- hydrogenlib_next-0/modules/hysocket/src/_hysocket/protrol_const.py +0 -0
- hydrogenlib_next-0/modules/hysocket/src/_hysocket/protrols/__init__.py +0 -0
- hydrogenlib_next-0/modules/hysocket/src/_hysocket/protrols/builtins.py +14 -0
- hydrogenlib_next-0/modules/hytemplate/README.md +0 -0
- hydrogenlib_next-0/modules/hytemplate/dist/.gitignore +1 -0
- hydrogenlib_next-0/modules/hytemplate/dist/hydrogenlib_hytemplate-0.0.1-py3-none-any.whl +0 -0
- hydrogenlib_next-0/modules/hytemplate/dist/hydrogenlib_hytemplate-0.0.1.tar.gz +0 -0
- hydrogenlib_next-0/modules/hytemplate/pyproject.toml +27 -0
- hydrogenlib_next-0/modules/hytemplate/requirements.txt +1 -0
- hydrogenlib_next-0/modules/hytemplate/src/_hytemplate/__about__.py +4 -0
- hydrogenlib_next-0/modules/hytemplate/src/_hytemplate/__init__.py +4 -0
- hydrogenlib_next-0/modules/hytemplate/src/_hytemplate/abstract.py +13 -0
- hydrogenlib_next-0/modules/hytemplate/src/_hytemplate/basic_methods.py +22 -0
- hydrogenlib_next-0/modules/hytemplate/src/_hytemplate/context.py +32 -0
- hydrogenlib_next-0/modules/hytemplate/src/_hytemplate/markers/__init__.py +62 -0
- hydrogenlib_next-0/modules/hytemplate/src/_hytemplate/markers/condition/__init__.py +37 -0
- hydrogenlib_next-0/modules/hytemplate/src/_hytemplate/markers/condition/abstract.py +12 -0
- hydrogenlib_next-0/modules/hytemplate/src/_hytemplate/markers/condition/builtin_conditions.py +80 -0
- hydrogenlib_next-0/modules/hytemplate/src/_hytemplate/markers/dict_template.py +29 -0
- hydrogenlib_next-0/modules/hytemplate/src/_hytemplate/markers/list_template.py +36 -0
- hydrogenlib_next-0/modules/hytemplate/src/_hytemplate/markers/tuple_template.py +20 -0
- hydrogenlib_next-0/modules/hytemplate/src/_hytemplate/template.py +47 -0
- hydrogenlib_next-0/modules/hytest/README.md +0 -0
- hydrogenlib_next-0/modules/hytest/dist/.gitignore +1 -0
- hydrogenlib_next-0/modules/hytest/dist/hydrogenlib_hytest-0.0.1-py3-none-any.whl +0 -0
- hydrogenlib_next-0/modules/hytest/dist/hydrogenlib_hytest-0.0.1.tar.gz +0 -0
- hydrogenlib_next-0/modules/hytest/pyproject.toml +27 -0
- hydrogenlib_next-0/modules/hytest/requirements.txt +1 -0
- hydrogenlib_next-0/modules/hytest/src/_hytest/__about__.py +4 -0
- hydrogenlib_next-0/modules/hytest/src/_hytest/__init__.py +0 -0
- hydrogenlib_next-0/modules/hythreading/README.md +0 -0
- hydrogenlib_next-0/modules/hythreading/dist/.gitignore +1 -0
- hydrogenlib_next-0/modules/hythreading/dist/hydrogenlib_hythreading-0.0.1-py3-none-any.whl +0 -0
- hydrogenlib_next-0/modules/hythreading/dist/hydrogenlib_hythreading-0.0.1.tar.gz +0 -0
- hydrogenlib_next-0/modules/hythreading/pyproject.toml +27 -0
- hydrogenlib_next-0/modules/hythreading/requirements.txt +1 -0
- hydrogenlib_next-0/modules/hythreading/src/_hythreading/__about__.py +4 -0
- hydrogenlib_next-0/modules/hythreading/src/_hythreading/__init__.py +0 -0
- hydrogenlib_next-0/modules/hythreading/src/_hythreading/thread.py +18 -0
- hydrogenlib_next-0/modules/hyttlcache/README.md +0 -0
- hydrogenlib_next-0/modules/hyttlcache/dist/.gitignore +1 -0
- hydrogenlib_next-0/modules/hyttlcache/dist/hydrogenlib_hyttlcache-0.0.1-py3-none-any.whl +0 -0
- hydrogenlib_next-0/modules/hyttlcache/dist/hydrogenlib_hyttlcache-0.0.1.tar.gz +0 -0
- hydrogenlib_next-0/modules/hyttlcache/dist/hydrogenlib_ttlcache-0.0.1-py3-none-any.whl +0 -0
- hydrogenlib_next-0/modules/hyttlcache/dist/hydrogenlib_ttlcache-0.0.1.tar.gz +0 -0
- hydrogenlib_next-0/modules/hyttlcache/pyproject.toml +27 -0
- hydrogenlib_next-0/modules/hyttlcache/requirements.txt +1 -0
- hydrogenlib_next-0/modules/hyttlcache/src/_hyttlcache/__about__.py +1 -0
- hydrogenlib_next-0/modules/hyttlcache/src/_hyttlcache/__init__.py +0 -0
- hydrogenlib_next-0/modules/hywinreg/README.md +0 -0
- hydrogenlib_next-0/modules/hywinreg/dist/.gitignore +1 -0
- hydrogenlib_next-0/modules/hywinreg/dist/hydrogenlib_hywinreg-0.0.1-py3-none-any.whl +0 -0
- hydrogenlib_next-0/modules/hywinreg/dist/hydrogenlib_hywinreg-0.0.1.tar.gz +0 -0
- hydrogenlib_next-0/modules/hywinreg/dist/hydrogenlib_winreg-0.0.1-py3-none-any.whl +0 -0
- hydrogenlib_next-0/modules/hywinreg/dist/hydrogenlib_winreg-0.0.1.tar.gz +0 -0
- hydrogenlib_next-0/modules/hywinreg/pyproject.toml +27 -0
- hydrogenlib_next-0/modules/hywinreg/requirements.txt +1 -0
- hydrogenlib_next-0/modules/hywinreg/src/_hywinreg/__about__.py +4 -0
- hydrogenlib_next-0/modules/hywinreg/src/_hywinreg/__init__.py +0 -0
- hydrogenlib_next-0/modules/hywinreg/src/_hywinreg/hywinreg.py +182 -0
- hydrogenlib_next-0/publish-hook +31 -0
- hydrogenlib_next-0/pyproject.toml +25 -0
- hydrogenlib_next-0/refact.py +121 -0
- hydrogenlib_next-0/scripts/build_project.py +162 -0
- hydrogenlib_next-0/scripts/generate_requirements.py +114 -0
- 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,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,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 @@
|
|
|
1
|
+
*
|
|
Binary file
|
|
Binary file
|
|
@@ -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
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
version = '0.0.1'
|
|
File without changes
|
|
@@ -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
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
*
|
|
Binary file
|
|
Binary file
|
|
@@ -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 @@
|
|
|
1
|
+
|
|
File without changes
|