├── .gitignore ├── LICENSE ├── python-115-client ├── LICENSE ├── examples │ └── remove_duplicate.py ├── p115 │ ├── __init__.py │ ├── __main__.py │ ├── cmd │ │ ├── __init__.py │ │ ├── check.py │ │ ├── download.py │ │ ├── init.py │ │ ├── iterdir.py │ │ ├── qrcode.py │ │ ├── shell.py │ │ └── upload.py │ ├── component │ │ ├── __init__.py │ │ ├── client.py │ │ ├── fs.py │ │ ├── fs_base.py │ │ ├── fs_share.py │ │ ├── fs_zip.py │ │ ├── labellist.py │ │ ├── offline.py │ │ ├── recyclebin.py │ │ └── sharing.py │ ├── py.typed │ └── tool │ │ ├── __init__.py │ │ └── tool.py ├── pyproject.toml └── readme.md ├── python-123-client ├── LICENSE ├── p123 │ ├── __init__.py │ ├── py.typed │ └── tool │ │ └── __init__.py ├── pyproject.toml └── readme.md ├── python-alipan-client ├── LICENSE ├── alipan │ ├── __init__.py │ └── py.typed ├── pyproject.toml ├── readme.md └── requirements.txt ├── python-alist-client ├── LICENSE ├── alist │ ├── __init__.py │ ├── __main__.py │ ├── cmd │ │ ├── __init__.py │ │ ├── download.py │ │ ├── fuse │ │ │ ├── __init__.py │ │ │ ├── __main__.py │ │ │ └── util │ │ │ │ ├── __fuse_monkey_patch.py │ │ │ │ ├── __init__.py │ │ │ │ ├── fuser.py │ │ │ │ ├── log.py │ │ │ │ ├── predicate.py │ │ │ │ └── strm.py │ │ ├── init.py │ │ ├── iterdir.py │ │ ├── rename.py │ │ ├── update_115_cookies.py │ │ └── upload.py │ ├── component │ │ ├── __init__.py │ │ ├── admin │ │ │ ├── __init__.py │ │ │ ├── driver.py │ │ │ ├── index.py │ │ │ ├── meta.py │ │ │ ├── setting.py │ │ │ ├── storage.py │ │ │ ├── task.py │ │ │ └── user.py │ │ ├── client.py │ │ └── fs.py │ ├── py.typed │ └── tool │ │ └── __init__.py ├── pyproject.toml └── readme.md ├── python-alist-proxy ├── LICENSE ├── alist_proxy │ ├── __init__.py │ ├── __main__.py │ └── py.typed ├── pyproject.toml └── readme.md ├── python-clouddrive-client ├── LICENSE ├── clouddrive │ ├── __init__.py │ ├── __init_client.py │ ├── __main__.py │ ├── client.py │ ├── cmd │ │ ├── __init__.py │ │ ├── download.py │ │ ├── fuse │ │ │ ├── __init__.py │ │ │ ├── __main__.py │ │ │ └── util │ │ │ │ ├── __fuse_monkey_patch.py │ │ │ │ ├── __init__.py │ │ │ │ ├── fuser.py │ │ │ │ ├── log.py │ │ │ │ ├── predicate.py │ │ │ │ └── strm.py │ │ ├── init.py │ │ ├── iterdir.py │ │ ├── rename.py │ │ └── upload.py │ ├── pb2.py │ ├── proto │ │ ├── CloudDrive.proto │ │ ├── CloudDrive_grpc.py │ │ ├── CloudDrive_pb2.py │ │ └── CloudDrive_pb2_grpc.py │ └── py.typed ├── pyproject.toml └── readme.md ├── python-clouddrive-proxy ├── LICENSE ├── LICENSE_zh ├── clouddrive_proxy │ ├── __init__.py │ ├── __main__.py │ └── py.typed ├── pyproject.toml └── readme.md ├── python-cmdline ├── ctfile_share_download │ ├── LICENSE │ ├── VERSION │ ├── __init__.py │ ├── __main__.py │ ├── pack.sh │ ├── py.typed │ ├── readme.md │ └── util │ │ ├── __init__.py │ │ ├── file.py │ │ ├── predicate.py │ │ ├── response.py │ │ ├── text.py │ │ └── urlopen.py ├── lanzou_share_download │ ├── LICENSE │ ├── VERSION │ ├── __init__.py │ ├── __main__.py │ ├── pack.sh │ ├── py.typed │ ├── readme.md │ └── util │ │ ├── __init__.py │ │ ├── file.py │ │ ├── predicate.py │ │ ├── response.py │ │ ├── text.py │ │ └── urlopen.py ├── onedrive_share_download │ ├── LICENSE │ ├── VERSION │ ├── __init__.py │ ├── __main__.py │ ├── pack.sh │ ├── py.typed │ ├── readme.md │ └── util │ │ ├── __init__.py │ │ ├── file.py │ │ ├── predicate.py │ │ ├── response.py │ │ ├── text.py │ │ └── urlopen.py ├── readme.md └── sharepoint_share_download │ ├── LICENSE │ ├── VERSION │ ├── __init__.py │ ├── __main__.py │ ├── pack.sh │ ├── py.typed │ ├── readme.md │ └── util │ ├── __init__.py │ └── predicate.py ├── python-dupan-client ├── LICENSE ├── dupan │ ├── __init__.py │ ├── client.py │ ├── exception.py │ ├── fs.py │ └── py.typed ├── pyproject.toml └── readme.md ├── python-emby-proxy ├── LICENSE ├── LICENSE_zh ├── emby_proxy │ ├── __init__.py │ ├── __main__.py │ └── py.typed ├── pyproject.toml └── readme.md ├── python-module ├── @python-qbittorrent2 │ ├── LICENSE │ ├── pyproject.toml │ ├── qbittorrent2 │ │ ├── __init__.py │ │ ├── client.py │ │ └── py.typed │ └── readme.md ├── @python-rdb │ └── rdb │ │ ├── __init__.py │ │ ├── py.typed │ │ ├── rdb.py │ │ └── sql.py ├── aiohttp_client_request │ ├── LICENSE │ ├── aiohttp_client_request │ │ ├── __init__.py │ │ └── py.typed │ ├── pyproject.toml │ └── readme.md ├── ariarpc │ ├── LICENSE │ ├── ariarpc │ │ ├── __init__.py │ │ └── py.typed │ ├── pyproject.toml │ └── readme.md ├── blacksheep_client_request │ ├── LICENSE │ ├── blacksheep_client_request │ │ ├── __init__.py │ │ └── py.typed │ ├── pyproject.toml │ └── readme.md ├── cachedict │ ├── LICENSE │ ├── cachedict │ │ ├── __init__.py │ │ └── py.typed │ ├── pyproject.toml │ └── readme.md ├── capture_stream │ ├── LICENSE │ ├── capture_stream │ │ ├── __init__.py │ │ ├── __main__.py │ │ └── py.typed │ ├── pyproject.toml │ └── readme.md ├── ed2k │ ├── LICENSE │ ├── ed2k │ │ ├── __init__.py │ │ ├── __main__.py │ │ └── py.typed │ ├── pyproject.toml │ └── readme.md ├── filerev │ ├── LICENSE │ ├── filerev │ │ ├── __init__.py │ │ ├── __main__.py │ │ └── py.typed │ ├── pyproject.toml │ └── readme.md ├── glob_pattern │ ├── LICENSE │ ├── glob_pattern │ │ ├── __init__.py │ │ └── py.typed │ ├── pyproject.toml │ └── readme.md ├── http_response │ ├── LICENSE │ ├── http_response │ │ ├── __init__.py │ │ └── py.typed │ ├── pyproject.toml │ └── readme.md ├── httpx_request │ ├── LICENSE │ ├── httpx_request │ │ ├── __init__.py │ │ └── py.typed │ ├── pyproject.toml │ └── readme.md ├── integer_tool │ ├── LICENSE │ ├── integer_tool │ │ ├── __init__.py │ │ └── py.typed │ ├── pyproject.toml │ └── readme.md ├── iter_collect │ ├── LICENSE │ ├── iter_collect │ │ ├── __init__.py │ │ └── py.typed │ ├── pyproject.toml │ └── readme.md ├── iterdir │ ├── LICENSE │ ├── iterdir │ │ ├── __init__.py │ │ ├── __main__.py │ │ └── py.typed │ ├── pyproject.toml │ └── readme.md ├── json_write │ ├── LICENSE │ ├── json_write │ │ ├── __init__.py │ │ └── py.typed │ ├── pyproject.toml │ └── readme.md ├── mimetype_more │ ├── LICENSE │ ├── mimetype_more │ │ ├── 002-mime-all-types.json │ │ ├── 003-mime-extra.json │ │ ├── _001_http_common_mime_types.py │ │ ├── _002_mime_all_types.py │ │ ├── _003_mime_extra.py │ │ ├── __init__.py │ │ └── py.typed │ ├── pyproject.toml │ └── readme.md ├── partial_fstring │ ├── LICENSE │ ├── partial_fstring │ │ ├── __init__.py │ │ └── py.typed │ ├── pyproject.toml │ └── readme.md ├── path_ignore_pattern │ ├── LICENSE │ ├── path_ignore_pattern │ │ ├── __init__.py │ │ └── py.typed │ ├── pyproject.toml │ └── readme.md ├── path_predicate │ ├── LICENSE │ ├── path_predicate │ │ ├── __init__.py │ │ └── py.typed │ ├── pyproject.toml │ └── readme.md ├── posixpatht │ ├── LICENSE │ ├── posixpatht │ │ ├── __init__.py │ │ └── py.typed │ ├── pyproject.toml │ └── readme.md ├── python-argtools │ ├── LICENSE │ ├── argtools │ │ ├── __init__.py │ │ └── py.typed │ ├── pyproject.toml │ └── readme.md ├── python-asynctools │ ├── LICENSE │ ├── asynctools │ │ ├── __init__.py │ │ └── py.typed │ ├── pyproject.toml │ └── readme.md ├── python-concurrenttools │ ├── LICENSE │ ├── concurrenttools │ │ ├── __init__.py │ │ └── py.typed │ ├── pyproject.toml │ └── readme.md ├── python-cookietools │ ├── LICENSE │ ├── cookietools │ │ ├── __init__.py │ │ └── py.typed │ ├── pyproject.toml │ └── readme.md ├── python-decotools │ ├── LICENSE │ ├── decotools │ │ ├── __init__.py │ │ ├── py.typed │ │ └── util.py │ ├── pyproject.toml │ └── readme.md ├── python-dictattr │ ├── LICENSE │ ├── dictattr │ │ ├── __init__.py │ │ └── py.typed │ ├── pyproject.toml │ └── readme.md ├── python-download │ ├── LICENSE │ ├── download │ │ ├── __init__.py │ │ ├── __main__.py │ │ └── py.typed │ ├── pyproject.toml │ └── readme.md ├── python-encode_uri │ ├── LICENSE │ ├── encode_uri │ │ ├── __init__.py │ │ └── py.typed │ ├── pyproject.toml │ └── readme.md ├── python-filewrap │ ├── LICENSE │ ├── filewrap │ │ ├── __init__.py │ │ └── py.typed │ ├── pyproject.toml │ └── readme.md ├── python-hashtools │ ├── LICENSE │ ├── hashtools │ │ ├── __init__.py │ │ ├── __main__.py │ │ └── py.typed │ ├── pyproject.toml │ └── readme.md ├── python-http_request │ ├── LICENSE │ ├── http_request │ │ ├── __init__.py │ │ └── py.typed │ ├── pyproject.toml │ └── readme.md ├── python-httpfile │ ├── LICENSE │ ├── httpfile │ │ ├── __init__.py │ │ └── py.typed │ ├── pyproject.toml │ └── readme.md ├── python-iterutils │ ├── LICENSE │ ├── iterutils │ │ ├── __init__.py │ │ └── py.typed │ ├── pyproject.toml │ └── readme.md ├── python-lockfile │ ├── LICENSE │ ├── lockfile │ │ ├── __init__.py │ │ └── py.typed │ ├── pyproject.toml │ └── readme.md ├── python-mask │ ├── LICENSE │ ├── mask │ │ ├── __init__.py │ │ └── py.typed │ ├── pyproject.toml │ └── readme.md ├── python-partial │ ├── LICENSE │ ├── partial │ │ ├── __init__.py │ │ ├── partial.py │ │ ├── placeholder.py │ │ └── py.typed │ ├── pyproject.toml │ └── readme.md ├── python-property │ ├── LICENSE │ ├── property │ │ ├── __init__.py │ │ └── py.typed │ ├── pyproject.toml │ └── readme.md ├── python-renamer │ ├── LICENSE │ ├── pyproject.toml │ ├── readme.md │ ├── renamer │ │ ├── __init__.py │ │ ├── __main__.py │ │ └── py.typed │ └── requirements.txt ├── python-retrytools │ ├── LICENSE │ ├── pyproject.toml │ ├── readme.md │ └── retrytools │ │ ├── __init__.py │ │ └── py.typed ├── python-reverse-proxy │ ├── LICENSE │ ├── pyproject.toml │ ├── readme.md │ └── reverse_proxy │ │ ├── __init__.py │ │ ├── __main__.py │ │ └── py.typed ├── python-sqlitedict │ ├── LICENSE │ ├── pyproject.toml │ ├── readme.md │ └── sqlitedict │ │ ├── __init__.py │ │ └── py.typed ├── python-startfile │ ├── LICENSE │ ├── pyproject.toml │ ├── readme.md │ └── startfile │ │ ├── __init__.py │ │ └── __main__.py ├── python-texttools │ ├── LICENSE │ ├── pyproject.toml │ ├── readme.md │ └── texttools │ │ ├── __init__.py │ │ ├── format.py │ │ ├── half_width.py │ │ ├── py.typed │ │ ├── text.py │ │ ├── text_cycle.py │ │ ├── text_find.py │ │ └── text_format.py ├── python-treedir │ ├── LICENSE │ ├── pyproject.toml │ ├── readme.md │ └── treedir │ │ ├── __init__.py │ │ ├── __main__.py │ │ └── py.typed ├── python-undefined │ ├── LICENSE │ ├── pyproject.toml │ ├── readme.md │ └── undefined │ │ ├── __init__.py │ │ └── py.typed ├── python-urlopen │ ├── LICENSE │ ├── pyproject.toml │ ├── readme.md │ └── urlopen │ │ ├── __init__.py │ │ ├── __main__.py │ │ └── py.typed ├── requests_request │ ├── LICENSE │ ├── pyproject.toml │ ├── readme.md │ └── requests_request │ │ ├── __init__.py │ │ └── py.typed ├── sqlite_logger │ ├── LICENSE │ ├── pyproject.toml │ ├── readme.md │ └── sqlite_logger │ │ ├── __init__.py │ │ └── py.typed ├── sqlitetools │ ├── LICENSE │ ├── pyproject.toml │ ├── readme.md │ └── sqlitetools │ │ ├── __init__.py │ │ └── py.typed ├── statsdir │ ├── LICENSE │ ├── pyproject.toml │ ├── readme.md │ └── statsdir │ │ ├── __init__.py │ │ ├── __main__.py │ │ └── py.typed ├── temp │ ├── bracket_pattern │ │ ├── bracket_pattern │ │ │ ├── __init__.py │ │ │ ├── bracket_pattern.py │ │ │ ├── bracket_replace.py │ │ │ ├── bracket_template.py │ │ │ └── make_repl.py │ │ ├── bracket_simple_pattern.py │ │ └── py.typed │ ├── py.typed │ ├── python-agg │ │ ├── aggregate.py │ │ └── py.typed │ ├── python-ensure │ │ ├── ensure.py │ │ └── py.typed │ ├── python-exctools │ │ └── exctools │ │ │ ├── __init__.py │ │ │ └── traceback.py │ ├── python-fp │ │ └── fp │ │ │ ├── currying.py │ │ │ ├── holder.py │ │ │ └── py.typed │ ├── python-function │ │ ├── LICENSE │ │ ├── call.py │ │ ├── func.py │ │ ├── function.py │ │ ├── function │ │ │ ├── __init__.py │ │ │ └── py.typed │ │ ├── functional.py │ │ ├── placehold.py │ │ ├── py.typed │ │ ├── pyproject.toml │ │ ├── ramda.py │ │ └── readme.md │ ├── python-genagg │ │ ├── gen_acc.py │ │ ├── group_acc.py │ │ └── py.typed │ ├── python-iterator │ │ └── iterator │ │ │ ├── __init__.py │ │ │ └── py.typed │ ├── python-pathtools │ │ └── pathtools │ │ │ ├── __init__.py │ │ │ └── py.typed │ ├── python-pipe │ │ ├── pipe.py │ │ └── py.typed │ ├── python-piptools │ │ └── piptools.py │ ├── python-progress │ │ ├── progress.py │ │ └── progressbar.py │ ├── python-register │ │ ├── py.typed │ │ ├── register.py │ │ ├── register │ │ │ ├── __init__.py │ │ │ ├── exceptions.py │ │ │ ├── register.py │ │ │ └── registry.py │ │ └── register2.py │ ├── python-remote-open │ │ ├── py.typed │ │ └── remote_open.py │ ├── python-shelve │ │ └── shelve2.py │ ├── python-type │ │ ├── py.typed │ │ └── type.py │ ├── python-ufcs │ │ ├── py.typed │ │ └── ufcs.py │ └── qbittorrent │ │ └── py.typed ├── torrent_tool │ ├── LICENSE │ ├── pyproject.toml │ ├── readme.md │ └── torrent_tool │ │ ├── __init__.py │ │ ├── __main__.py │ │ └── py.typed └── urllib3_request │ ├── LICENSE │ ├── pyproject.toml │ ├── readme.md │ └── urllib3_request │ ├── __init__.py │ └── py.typed └── readme.md /.gitignore: -------------------------------------------------------------------------------- 1 | # Python: 2 | *.py[codz] 3 | *.so 4 | *.egg 5 | *.egg-info 6 | dist 7 | build 8 | _build 9 | 10 | # Compiled C++ files 11 | *.out 12 | 13 | # Temp File 14 | *.sw[aop] 15 | 16 | # github merge file 17 | *.orig 18 | 19 | #vscode 20 | .vscode 21 | 22 | # Folder view configuration files 23 | .DS_Store 24 | 25 | # Thumbnail cache files 26 | ._* 27 | Thumbs.db 28 | 29 | # Files that might appear on external disks 30 | .Spotlight-V100 31 | .Trashes 32 | 33 | # cache path 34 | .idea/ 35 | __pycache__/ 36 | 37 | # Log file 38 | *.log 39 | 40 | # Zipped file 41 | *.zip 42 | *.7z 43 | *.rar 44 | 45 | # config file 46 | config.json 47 | 48 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2023 ChenyangGao 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /python-115-client/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2023-2024 ChenyangGao 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /python-115-client/p115/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | # encoding: utf-8 3 | 4 | __author__ = "ChenyangGao " 5 | __version__ = (0, 0, 9, 8) 6 | 7 | from warnings import filterwarnings 8 | 9 | filterwarnings("ignore", category=DeprecationWarning) 10 | filterwarnings("ignore", category=SyntaxWarning) 11 | 12 | from p115client import * 13 | from .component import * # type: ignore 14 | 15 | # TODO upload_tree 多线程和进度条,并且为每一个上传返回一个 task,可重试 16 | # TODO 能及时处理文件已不存在 17 | # TODO 为各个fs接口添加额外的请求参数 18 | # TODO 115中多个文件可以在同一目录下同名,如何处理 19 | # TODO 提供一个新的上传函数,上传如果失败,因为名字问题,则尝试用uuid名字,上传成功后,再进行改名,如果成功,删除原来的文件,不成功,则删掉上传的文件(如果上传成功了的话) 20 | # TODO 如果压缩包尚未解压,则使用 zipfile 之类的模块,去模拟文件系统 21 | # TODO: 为上传进度进行封装,创建 UploadTask 类 22 | -------------------------------------------------------------------------------- /python-115-client/p115/__main__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | # encoding: utf-8 3 | 4 | def main(): 5 | from p115.cmd import parser 6 | 7 | args = parser.parse_args() 8 | if args.version: 9 | from p115 import __version__ 10 | print(".".join(map(str, __version__))) 11 | raise SystemExit(0) 12 | if args.func: 13 | args.func(args) 14 | else: 15 | parser.parse_args(["-h"]) 16 | 17 | if __name__ == "__main__": 18 | from pathlib import Path 19 | from sys import path 20 | 21 | path[0] = str(Path(__file__).parents[1]) 22 | main() 23 | -------------------------------------------------------------------------------- /python-115-client/p115/cmd/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | # encoding: utf-8 3 | 4 | __all__ = ["parser", "subparsers"] 5 | 6 | from .init import parser, subparsers 7 | 8 | from .iterdir import * 9 | from .qrcode import * 10 | from .check import * 11 | from .download import * 12 | from .upload import * 13 | -------------------------------------------------------------------------------- /python-115-client/p115/cmd/init.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | # encoding: utf-8 3 | 4 | __all__ = ["parser", "subparsers"] 5 | 6 | from argparse import ArgumentParser, RawTextHelpFormatter 7 | 8 | parser = ArgumentParser( 9 | description="python-115 命令行工具集", 10 | formatter_class=RawTextHelpFormatter, 11 | ) 12 | parser.add_argument("-v", "--version", action="store_true", help="输出版本号") 13 | parser.set_defaults(func=None) 14 | subparsers = parser.add_subparsers() 15 | 16 | -------------------------------------------------------------------------------- /python-115-client/p115/cmd/shell.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | # encoding: utf-8 3 | 4 | # TODO: 这个模块应可以单独运行,也可以被 import 5 | # TODO: 这个模块非常重要,需要开始构思和实现了 6 | -------------------------------------------------------------------------------- /python-115-client/p115/component/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | # encoding: utf-8 3 | 4 | __author__ = "ChenyangGao " 5 | 6 | from .client import * 7 | from .fs_base import * 8 | from .fs import * 9 | from .fs_share import * 10 | from .fs_zip import * 11 | from .labellist import * 12 | from .offline import * 13 | from .recyclebin import * 14 | from .sharing import * 15 | -------------------------------------------------------------------------------- /python-115-client/p115/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-115-client/p115/py.typed -------------------------------------------------------------------------------- /python-115-client/p115/tool/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | # encoding: utf-8 3 | 4 | __author__ = "ChenyangGao " 5 | 6 | from p115client.tool import * 7 | from .tool import * 8 | -------------------------------------------------------------------------------- /python-123-client/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2024 ChenyangGao 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /python-123-client/p123/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-123-client/p123/py.typed -------------------------------------------------------------------------------- /python-alipan-client/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2024 ChenyangGao 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /python-alipan-client/alipan/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-alipan-client/alipan/__init__.py -------------------------------------------------------------------------------- /python-alipan-client/alipan/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-alipan-client/alipan/py.typed -------------------------------------------------------------------------------- /python-alipan-client/pyproject.toml: -------------------------------------------------------------------------------- 1 | [tool.poetry] 2 | name = "python-alipan" 3 | version = "0.0.0" 4 | description = "Python wrapper for `alipan `." 5 | authors = ["ChenyangGao "] 6 | license = "MIT" 7 | readme = "readme.md" 8 | homepage = "https://github.com/ChenyangGao/web-mount-packs/tree/main/python-alipan-client" 9 | repository = "https://github.com/ChenyangGao/web-mount-packs/tree/main/python-alipan-client" 10 | keywords = ["nas", "alipan", "阿里云盘"] 11 | classifiers = [ 12 | "License :: OSI Approved :: MIT License", 13 | "Development Status :: 4 - Beta", 14 | "Programming Language :: Python", 15 | "Programming Language :: Python :: 3", 16 | "Programming Language :: Python :: 3.10", 17 | "Programming Language :: Python :: 3 :: Only", 18 | "Operating System :: OS Independent", 19 | "Intended Audience :: Developers", 20 | "Topic :: Software Development", 21 | "Topic :: Software Development :: Libraries", 22 | "Topic :: Software Development :: Libraries :: Python Modules", 23 | ] 24 | include = [ 25 | "LICENSE", 26 | ] 27 | 28 | [tool.poetry.dependencies] 29 | python = "^3.10" 30 | requests = "*" 31 | 32 | [tool.poetry.dev-dependencies] 33 | 34 | [build-system] 35 | requires = ["poetry-core"] 36 | build-backend = "poetry.core.masonry.api" 37 | 38 | [[tool.poetry.packages]] 39 | include = "alipan" 40 | -------------------------------------------------------------------------------- /python-alipan-client/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-alipan-client/readme.md -------------------------------------------------------------------------------- /python-alipan-client/requirements.txt: -------------------------------------------------------------------------------- 1 | requests -------------------------------------------------------------------------------- /python-alist-client/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2023-2024 ChenyangGao 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /python-alist-client/alist/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | # encoding: utf-8 3 | 4 | """Python AList web api wrapper. 5 | 6 | This is a web api wrapper works with the running "alist" server, and provide some methods, 7 | which refer to `os`, `posixpath`, `pathlib.Path` and `shutil` modules. 8 | 9 | - AList web api official documentation: https://alist.nn.ci/guide/api/ 10 | - AList web api online tool: https://alist-v3.apifox.cn 11 | """ 12 | 13 | __author__ = "ChenyangGao " 14 | __version__ = (0, 0, 13, 7) 15 | 16 | from warnings import filterwarnings 17 | 18 | filterwarnings("ignore", category=DeprecationWarning) 19 | filterwarnings("ignore", category=SyntaxWarning) 20 | 21 | __FALSE = False 22 | if __FALSE: 23 | from .component import * 24 | 25 | def __getattr__(attr): 26 | from importlib import import_module 27 | 28 | component = import_module('.component', package=__package__) 29 | all = {"__all__": component.__all__} 30 | for name in component.__all__: 31 | all[name] = getattr(component, name) 32 | globals().update(all) 33 | del globals()["__getattr__"] 34 | return getattr(component, attr) 35 | 36 | # TODO: 所有类和函数都要有文档 37 | # TODO: 所有类和函数都要有单元测试 38 | # TODO: 上传下载都支持进度条,下载支持多线程(返回 Future) 39 | # TODO: task 的 Future 封装,支持进度条 40 | # TODO: storage list 封装,支持批量操作,提供一些简化配置的方法 41 | -------------------------------------------------------------------------------- /python-alist-client/alist/__main__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | # encoding: utf-8 3 | 4 | def main(): 5 | from alist.cmd import parser 6 | 7 | args = parser.parse_args() 8 | if args.version: 9 | from alist import __version__ 10 | print(".".join(map(str, __version__))) 11 | raise SystemExit(0) 12 | if args.func: 13 | args.func(args) 14 | else: 15 | parser.parse_args(["-h"]) 16 | 17 | if __name__ == "__main__": 18 | from pathlib import Path 19 | from sys import path 20 | 21 | path[0] = str(Path(__file__).parents[1]) 22 | 23 | main() 24 | -------------------------------------------------------------------------------- /python-alist-client/alist/cmd/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | # encoding: utf-8 3 | 4 | __all__ = ["parser", "subparsers"] 5 | 6 | from .init import parser, subparsers 7 | 8 | from .iterdir import * 9 | from .fuse import * 10 | from .update_115_cookies import * 11 | -------------------------------------------------------------------------------- /python-alist-client/alist/cmd/download.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | # encoding: utf-8 3 | -------------------------------------------------------------------------------- /python-alist-client/alist/cmd/fuse/__main__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | # encoding: utf-8 3 | 4 | from pathlib import Path 5 | from runpy import run_path 6 | 7 | run_path(str(Path(__file__).with_name("__init__.py")), run_name="__main__") 8 | -------------------------------------------------------------------------------- /python-alist-client/alist/cmd/fuse/util/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | # encoding: utf-8 3 | 4 | from .fuser import * 5 | from .log import * 6 | from .predicate import * 7 | from .strm import * 8 | 9 | from . import __fuse_monkey_patch 10 | -------------------------------------------------------------------------------- /python-alist-client/alist/cmd/init.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | # encoding: utf-8 3 | 4 | __all__ = ["parser", "subparsers"] 5 | 6 | from argparse import ArgumentParser, RawTextHelpFormatter 7 | 8 | parser = ArgumentParser( 9 | description="alist 命令行工具集", 10 | formatter_class=RawTextHelpFormatter, 11 | ) 12 | parser.add_argument("-v", "--version", action="store_true", help="输出版本号") 13 | parser.set_defaults(func=None) 14 | subparsers = parser.add_subparsers() 15 | 16 | -------------------------------------------------------------------------------- /python-alist-client/alist/cmd/rename.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | # encoding: utf-8 3 | 4 | -------------------------------------------------------------------------------- /python-alist-client/alist/cmd/upload.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | # encoding: utf-8 3 | -------------------------------------------------------------------------------- /python-alist-client/alist/component/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | # encoding: utf-8 3 | 4 | __author__ = "ChenyangGao " 5 | __all__: list[str] = [] 6 | 7 | from . import client 8 | __all__.extend(client.__all__) 9 | from .client import * 10 | 11 | from . import fs 12 | __all__.extend(fs.__all__) 13 | from .fs import * 14 | 15 | from . import admin 16 | __all__.extend(admin.__all__) 17 | from .admin import * 18 | -------------------------------------------------------------------------------- /python-alist-client/alist/component/admin/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | # encoding: utf-8 3 | 4 | __author__ = "ChenyangGao " 5 | __all__: list[str] = [] 6 | 7 | from . import task 8 | __all__.extend(task.__all__) 9 | from .task import * 10 | -------------------------------------------------------------------------------- /python-alist-client/alist/component/admin/driver.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-alist-client/alist/component/admin/driver.py -------------------------------------------------------------------------------- /python-alist-client/alist/component/admin/index.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-alist-client/alist/component/admin/index.py -------------------------------------------------------------------------------- /python-alist-client/alist/component/admin/meta.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-alist-client/alist/component/admin/meta.py -------------------------------------------------------------------------------- /python-alist-client/alist/component/admin/setting.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-alist-client/alist/component/admin/setting.py -------------------------------------------------------------------------------- /python-alist-client/alist/component/admin/storage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-alist-client/alist/component/admin/storage.py -------------------------------------------------------------------------------- /python-alist-client/alist/component/admin/user.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-alist-client/alist/component/admin/user.py -------------------------------------------------------------------------------- /python-alist-client/alist/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-alist-client/alist/py.typed -------------------------------------------------------------------------------- /python-alist-proxy/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2024 ChenyangGao 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /python-alist-proxy/alist_proxy/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-alist-proxy/alist_proxy/py.typed -------------------------------------------------------------------------------- /python-clouddrive-client/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2023-2024 ChenyangGao 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /python-clouddrive-client/clouddrive/__main__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | # encoding: utf-8 3 | 4 | def main(): 5 | from clouddrive.cmd import parser 6 | 7 | args = parser.parse_args() 8 | if args.version: 9 | from clouddrive import __version__ 10 | print(".".join(map(str, __version__))) 11 | raise SystemExit(0) 12 | if args.func: 13 | args.func(args) 14 | else: 15 | parser.parse_args(["-h"]) 16 | 17 | if __name__ == "__main__": 18 | from pathlib import Path 19 | from sys import path 20 | 21 | path[0] = str(Path(__file__).parents[1]) 22 | 23 | main() 24 | -------------------------------------------------------------------------------- /python-clouddrive-client/clouddrive/cmd/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | # encoding: utf-8 3 | 4 | __all__ = ["parser", "subparsers"] 5 | 6 | from .init import parser, subparsers 7 | 8 | from .iterdir import * 9 | from .fuse import * 10 | -------------------------------------------------------------------------------- /python-clouddrive-client/clouddrive/cmd/download.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | # encoding: utf-8 3 | -------------------------------------------------------------------------------- /python-clouddrive-client/clouddrive/cmd/fuse/__main__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | # encoding: utf-8 3 | 4 | from pathlib import Path 5 | from runpy import run_path 6 | 7 | run_path(str(Path(__file__).with_name("__init__.py")), run_name="__main__") 8 | -------------------------------------------------------------------------------- /python-clouddrive-client/clouddrive/cmd/fuse/util/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | # encoding: utf-8 3 | 4 | from .fuser import * 5 | from .log import * 6 | from .predicate import * 7 | from .strm import * 8 | from . import __fuse_monkey_patch 9 | -------------------------------------------------------------------------------- /python-clouddrive-client/clouddrive/cmd/init.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | # encoding: utf-8 3 | 4 | __all__ = ["parser", "subparsers"] 5 | 6 | from argparse import ArgumentParser, RawTextHelpFormatter 7 | 8 | parser = ArgumentParser( 9 | description="clouddrive 命令行工具集", 10 | formatter_class=RawTextHelpFormatter, 11 | ) 12 | parser.add_argument("-v", "--version", action="store_true", help="输出版本号") 13 | parser.set_defaults(func=None) 14 | subparsers = parser.add_subparsers() 15 | 16 | -------------------------------------------------------------------------------- /python-clouddrive-client/clouddrive/cmd/rename.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | # encoding: utf-8 3 | 4 | -------------------------------------------------------------------------------- /python-clouddrive-client/clouddrive/cmd/upload.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | # encoding: utf-8 3 | -------------------------------------------------------------------------------- /python-clouddrive-client/clouddrive/pb2.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | # encoding: utf-8 3 | 4 | from .proto.CloudDrive_pb2 import * 5 | 6 | if False: 7 | def __getattr__(name): 8 | ... 9 | -------------------------------------------------------------------------------- /python-clouddrive-client/clouddrive/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-clouddrive-client/clouddrive/py.typed -------------------------------------------------------------------------------- /python-clouddrive-proxy/clouddrive_proxy/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-clouddrive-proxy/clouddrive_proxy/py.typed -------------------------------------------------------------------------------- /python-cmdline/ctfile_share_download/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2024 ChenyangGao 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /python-cmdline/ctfile_share_download/VERSION: -------------------------------------------------------------------------------- 1 | 0.2 -------------------------------------------------------------------------------- /python-cmdline/ctfile_share_download/pack.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | PROJDIR=$(dirname "$0") 4 | PROJNAME=$(basename ${PROJDIR}) 5 | CURDIR=$(pwd) 6 | VERSION=$(head -1 ${PROJDIR}/VERSION || echo latest) 7 | 8 | function createpack() { 9 | local file=$1/${PROJNAME}_${VERSION}.pyz 10 | if /usr/bin/env python3 -m zipapp --compress ${PROJDIR} --output ${file} 11 | then 12 | echo -e "Create a package file located in \n\t${file}" 13 | else 14 | return 1 15 | fi 16 | } 17 | 18 | shopt -s globstar 19 | rm -rf ${PROJDIR}/**/__pycache__ 20 | rm -rf ${PROJDIR}/**/.DS_store 21 | rm -rf ${PROJDIR}/**/._* 22 | createpack ${CURDIR} || createpack ${HOME} || createpack ${PROJDIR} || echo Cannot create package file 23 | -------------------------------------------------------------------------------- /python-cmdline/ctfile_share_download/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-cmdline/ctfile_share_download/py.typed -------------------------------------------------------------------------------- /python-cmdline/ctfile_share_download/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-cmdline/ctfile_share_download/readme.md -------------------------------------------------------------------------------- /python-cmdline/ctfile_share_download/util/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | # encoding: utf-8 3 | 4 | -------------------------------------------------------------------------------- /python-cmdline/lanzou_share_download/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2024 ChenyangGao 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /python-cmdline/lanzou_share_download/VERSION: -------------------------------------------------------------------------------- 1 | 0.1 -------------------------------------------------------------------------------- /python-cmdline/lanzou_share_download/pack.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | PROJDIR=$(dirname "$0") 4 | PROJNAME=$(basename ${PROJDIR}) 5 | CURDIR=$(pwd) 6 | VERSION=$(head -1 ${PROJDIR}/VERSION || echo latest) 7 | 8 | function createpack() { 9 | local file=$1/${PROJNAME}_${VERSION}.pyz 10 | if /usr/bin/env python3 -m zipapp --compress ${PROJDIR} --output ${file} 11 | then 12 | echo -e "Create a package file located in \n\t${file}" 13 | else 14 | return 1 15 | fi 16 | } 17 | 18 | shopt -s globstar 19 | rm -rf ${PROJDIR}/**/__pycache__ 20 | rm -rf ${PROJDIR}/**/.DS_store 21 | rm -rf ${PROJDIR}/**/._* 22 | createpack ${CURDIR} || createpack ${HOME} || createpack ${PROJDIR} || echo Cannot create package file 23 | -------------------------------------------------------------------------------- /python-cmdline/lanzou_share_download/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-cmdline/lanzou_share_download/py.typed -------------------------------------------------------------------------------- /python-cmdline/lanzou_share_download/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-cmdline/lanzou_share_download/readme.md -------------------------------------------------------------------------------- /python-cmdline/lanzou_share_download/util/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | # encoding: utf-8 3 | 4 | -------------------------------------------------------------------------------- /python-cmdline/onedrive_share_download/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2024 ChenyangGao 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /python-cmdline/onedrive_share_download/VERSION: -------------------------------------------------------------------------------- 1 | 0.0.1 -------------------------------------------------------------------------------- /python-cmdline/onedrive_share_download/pack.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | PROJDIR=$(dirname "$0") 4 | PROJNAME=$(basename ${PROJDIR}) 5 | CURDIR=$(pwd) 6 | VERSION=$(head -1 ${PROJDIR}/VERSION || echo latest) 7 | 8 | function createpack() { 9 | local file=$1/${PROJNAME}_${VERSION}.pyz 10 | if /usr/bin/env python3 -m zipapp --compress ${PROJDIR} --output ${file} 11 | then 12 | echo -e "Create a package file located in \n\t${file}" 13 | else 14 | return 1 15 | fi 16 | } 17 | 18 | shopt -s globstar 19 | rm -rf ${PROJDIR}/**/__pycache__ 20 | rm -rf ${PROJDIR}/**/.DS_store 21 | rm -rf ${PROJDIR}/**/._* 22 | createpack ${CURDIR} || createpack ${HOME} || createpack ${PROJDIR} || echo Cannot create package file 23 | -------------------------------------------------------------------------------- /python-cmdline/onedrive_share_download/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-cmdline/onedrive_share_download/py.typed -------------------------------------------------------------------------------- /python-cmdline/onedrive_share_download/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-cmdline/onedrive_share_download/readme.md -------------------------------------------------------------------------------- /python-cmdline/onedrive_share_download/util/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | # encoding: utf-8 3 | 4 | -------------------------------------------------------------------------------- /python-cmdline/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-cmdline/readme.md -------------------------------------------------------------------------------- /python-cmdline/sharepoint_share_download/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2024 ChenyangGao 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /python-cmdline/sharepoint_share_download/VERSION: -------------------------------------------------------------------------------- 1 | 0.0.1 -------------------------------------------------------------------------------- /python-cmdline/sharepoint_share_download/pack.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | PROJDIR=$(dirname "$0") 4 | PROJNAME=$(basename ${PROJDIR}) 5 | CURDIR=$(pwd) 6 | VERSION=$(head -1 ${PROJDIR}/VERSION || echo latest) 7 | 8 | function createpack() { 9 | local file=$1/${PROJNAME}_${VERSION}.pyz 10 | if /usr/bin/env python3 -m zipapp --compress ${PROJDIR} --output ${file} 11 | then 12 | echo -e "Create a package file located in \n\t${file}" 13 | else 14 | return 1 15 | fi 16 | } 17 | 18 | shopt -s globstar 19 | rm -rf ${PROJDIR}/**/__pycache__ 20 | rm -rf ${PROJDIR}/**/.DS_store 21 | rm -rf ${PROJDIR}/**/._* 22 | createpack ${CURDIR} || createpack ${HOME} || createpack ${PROJDIR} || echo Cannot create package file 23 | -------------------------------------------------------------------------------- /python-cmdline/sharepoint_share_download/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-cmdline/sharepoint_share_download/py.typed -------------------------------------------------------------------------------- /python-cmdline/sharepoint_share_download/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-cmdline/sharepoint_share_download/readme.md -------------------------------------------------------------------------------- /python-cmdline/sharepoint_share_download/util/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | # encoding: utf-8 3 | 4 | -------------------------------------------------------------------------------- /python-dupan-client/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2024 ChenyangGao 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /python-dupan-client/dupan/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | # encoding: utf-8 3 | 4 | __version__ = (0, 0, 2) 5 | __author__ = "ChenyangGao " 6 | 7 | from .client import * 8 | from .exception import * 9 | from .fs import * 10 | -------------------------------------------------------------------------------- /python-dupan-client/dupan/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-dupan-client/dupan/py.typed -------------------------------------------------------------------------------- /python-emby-proxy/emby_proxy/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-emby-proxy/emby_proxy/py.typed -------------------------------------------------------------------------------- /python-emby-proxy/readme.md: -------------------------------------------------------------------------------- 1 | # Python emby reverse proxy. 2 | 3 | ## 安装 4 | 5 | 你可以通过 [pypi](https://pypi.org/project/python-emby-proxy/) 安装 6 | 7 | ```console 8 | pip install -U python-emby-proxy 9 | ``` 10 | 11 | ## 用法 12 | 13 | ### 命令行使用 14 | 15 | ```console 16 | $ emby-proxy -h 17 | usage: emby-proxy [-h] [-H HOST] [-P PORT] [-d] [-c UVICORN_RUN_CONFIG_PATH] [-v] [-l] [base-url] 18 | 19 | 📺 Emby 反向代理 🎬 20 | 21 | positional arguments: 22 | base-url 被代理的 Emby 服务的 base_url,默认值:'http://localhost:8096' 23 | 24 | options: 25 | -h, --help show this help message and exit 26 | -H HOST, --host HOST ip 或 hostname,默认值:'0.0.0.0' 27 | -P PORT, --port PORT 端口号,默认值:8097,如果为 0 则自动确定 28 | -d, --debug 启用调试,会输出更详细信息 29 | -c UVICORN_RUN_CONFIG_PATH, -uc UVICORN_RUN_CONFIG_PATH, --uvicorn-run-config-path UVICORN_RUN_CONFIG_PATH 30 | uvicorn 启动时的配置文件路径,会作为关键字参数传给 `uvicorn.run`,支持 JSON、YAML 或 TOML 格式,会根据扩展名确定,不能确定时视为 JSON 31 | -v, --version 输出版本号 32 | -l, --license 输出授权信息 33 | ``` 34 | -------------------------------------------------------------------------------- /python-module/@python-qbittorrent2/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2024 ChenyangGao 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /python-module/@python-qbittorrent2/pyproject.toml: -------------------------------------------------------------------------------- 1 | [tool.poetry] 2 | name = "ariarpc" 3 | version = "0.0.1.1" 4 | description = "Python aria2 RPC call." 5 | authors = ["ChenyangGao "] 6 | license = "MIT" 7 | readme = "readme.md" 8 | homepage = "https://github.com/ChenyangGao/web-mount-packs/tree/main/python-module/ariarpc" 9 | repository = "https://github.com/ChenyangGao/web-mount-packs/tree/main/python-module/ariarpc" 10 | keywords = ["aria2", "rpc"] 11 | classifiers = [ 12 | "License :: OSI Approved :: MIT License", 13 | "Development Status :: 5 - Production/Stable", 14 | "Programming Language :: Python", 15 | "Programming Language :: Python :: 3", 16 | "Programming Language :: Python :: 3.11", 17 | "Programming Language :: Python :: 3 :: Only", 18 | "Operating System :: OS Independent", 19 | "Intended Audience :: Developers", 20 | "Topic :: Software Development", 21 | "Topic :: Software Development :: Libraries", 22 | "Topic :: Software Development :: Libraries :: Python Modules", 23 | ] 24 | include = [ 25 | "LICENSE", 26 | ] 27 | 28 | [tool.poetry.dependencies] 29 | python = "^3.11" 30 | orjson = "*" 31 | httpx = "*" 32 | httpx_request = ">=0.1.2" 33 | 34 | [build-system] 35 | requires = ["poetry-core"] 36 | build-backend = "poetry.core.masonry.api" 37 | 38 | [[tool.poetry.packages]] 39 | include = "ariarpc" 40 | -------------------------------------------------------------------------------- /python-module/@python-qbittorrent2/qbittorrent2/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-module/@python-qbittorrent2/qbittorrent2/py.typed -------------------------------------------------------------------------------- /python-module/@python-qbittorrent2/readme.md: -------------------------------------------------------------------------------- 1 | # Python aria2 RPC call. 2 | 3 | ## Installation 4 | 5 | You can install from [pypi](https://pypi.org/project/ariarpc/) 6 | 7 | ```console 8 | pip install -U ariarpc 9 | ``` 10 | 11 | ## Usage 12 | 13 | ```python 14 | from ariarpc import rpc_call, AriaRPC 15 | 16 | rpc = AriaRPC() 17 | rpc.system.listMethods() 18 | 19 | # asynchronous 20 | await rpc.system.listMethods(async_=True) 21 | ``` 22 | -------------------------------------------------------------------------------- /python-module/@python-rdb/rdb/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | # coding: utf-8 3 | 4 | __author__ = "ChenyangGao " 5 | __version__ = (0, 0, 1) 6 | 7 | from .rdb import * 8 | from .sql import * 9 | -------------------------------------------------------------------------------- /python-module/@python-rdb/rdb/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-module/@python-rdb/rdb/py.typed -------------------------------------------------------------------------------- /python-module/aiohttp_client_request/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2024 ChenyangGao 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /python-module/aiohttp_client_request/aiohttp_client_request/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-module/aiohttp_client_request/aiohttp_client_request/py.typed -------------------------------------------------------------------------------- /python-module/aiohttp_client_request/readme.md: -------------------------------------------------------------------------------- 1 | # aiohttp request extension. 2 | 3 | ## Installation 4 | 5 | You can install via [pypi](https://pypi.org/project/aiohttp_client_request/) 6 | 7 | ```console 8 | pip install -U aiohttp_client_request 9 | ``` 10 | 11 | ## Usage 12 | 13 | ```python 14 | from aiohttp_client_request import request 15 | ``` 16 | -------------------------------------------------------------------------------- /python-module/ariarpc/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2024 ChenyangGao 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /python-module/ariarpc/ariarpc/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-module/ariarpc/ariarpc/py.typed -------------------------------------------------------------------------------- /python-module/ariarpc/pyproject.toml: -------------------------------------------------------------------------------- 1 | [tool.poetry] 2 | name = "ariarpc" 3 | version = "0.0.2.1" 4 | description = "Python aria2 RPC call." 5 | authors = ["ChenyangGao "] 6 | license = "MIT" 7 | readme = "readme.md" 8 | homepage = "https://github.com/ChenyangGao/web-mount-packs/tree/main/python-module/ariarpc" 9 | repository = "https://github.com/ChenyangGao/web-mount-packs/tree/main/python-module/ariarpc" 10 | keywords = ["aria2", "rpc"] 11 | classifiers = [ 12 | "License :: OSI Approved :: MIT License", 13 | "Development Status :: 5 - Production/Stable", 14 | "Programming Language :: Python", 15 | "Programming Language :: Python :: 3", 16 | "Programming Language :: Python :: 3.11", 17 | "Programming Language :: Python :: 3 :: Only", 18 | "Operating System :: OS Independent", 19 | "Intended Audience :: Developers", 20 | "Topic :: Software Development", 21 | "Topic :: Software Development :: Libraries", 22 | "Topic :: Software Development :: Libraries :: Python Modules", 23 | ] 24 | include = [ 25 | "LICENSE", 26 | ] 27 | 28 | [tool.poetry.dependencies] 29 | python = "^3.11" 30 | orjson = "*" 31 | httpx = "*" 32 | httpx_request = ">=0.1.2" 33 | 34 | [build-system] 35 | requires = ["poetry-core"] 36 | build-backend = "poetry.core.masonry.api" 37 | 38 | [[tool.poetry.packages]] 39 | include = "ariarpc" 40 | -------------------------------------------------------------------------------- /python-module/ariarpc/readme.md: -------------------------------------------------------------------------------- 1 | # Python aria2 RPC call. 2 | 3 | ## Installation 4 | 5 | You can install from [pypi](https://pypi.org/project/ariarpc/) 6 | 7 | ```console 8 | pip install -U ariarpc 9 | ``` 10 | 11 | ## Usage 12 | 13 | ```python 14 | from ariarpc import AriaRPC, AriaXMLRPC 15 | 16 | # JSON RPC 17 | rpc = AriaRPC() 18 | rpc.system.listMethods() 19 | 20 | # asynchronous JSON RPC 21 | await rpc.system.listMethods(async_=True) 22 | 23 | # XML RPC 24 | rpc = AriaXMLRPC() 25 | rpc.system.listMethods() 26 | ``` 27 | -------------------------------------------------------------------------------- /python-module/blacksheep_client_request/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2024 ChenyangGao 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /python-module/blacksheep_client_request/blacksheep_client_request/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-module/blacksheep_client_request/blacksheep_client_request/py.typed -------------------------------------------------------------------------------- /python-module/blacksheep_client_request/readme.md: -------------------------------------------------------------------------------- 1 | # blacksheep request extension. 2 | 3 | ## Installation 4 | 5 | You can install via [pypi](https://pypi.org/project/blacksheep_client_request/) 6 | 7 | ```console 8 | pip install -U blacksheep_client_request 9 | ``` 10 | 11 | ## Usage 12 | 13 | ```python 14 | from blacksheep_client_request import request 15 | ``` 16 | -------------------------------------------------------------------------------- /python-module/cachedict/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2024 ChenyangGao 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /python-module/cachedict/cachedict/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-module/cachedict/cachedict/py.typed -------------------------------------------------------------------------------- /python-module/cachedict/pyproject.toml: -------------------------------------------------------------------------------- 1 | [tool.poetry] 2 | name = "cachedict" 3 | version = "0.0.3" 4 | description = "Python cache dict." 5 | authors = ["ChenyangGao "] 6 | license = "MIT" 7 | readme = "readme.md" 8 | homepage = "https://github.com/ChenyangGao/web-mount-packs/tree/main/python-module/cachedict" 9 | repository = "https://github.com/ChenyangGao/web-mount-packs/tree/main/python-module/cachedict" 10 | keywords = ["cache", "dict"] 11 | classifiers = [ 12 | "License :: OSI Approved :: MIT License", 13 | "Development Status :: 5 - Production/Stable", 14 | "Programming Language :: Python", 15 | "Programming Language :: Python :: 3", 16 | "Programming Language :: Python :: 3.12", 17 | "Programming Language :: Python :: 3 :: Only", 18 | "Operating System :: OS Independent", 19 | "Intended Audience :: Developers", 20 | "Topic :: Software Development", 21 | "Topic :: Software Development :: Libraries", 22 | "Topic :: Software Development :: Libraries :: Python Modules", 23 | ] 24 | include = [ 25 | "LICENSE", 26 | ] 27 | 28 | [tool.poetry.dependencies] 29 | python = "^3.12" 30 | python-undefined = ">=0.0.3" 31 | 32 | [build-system] 33 | requires = ["poetry-core"] 34 | build-backend = "poetry.core.masonry.api" 35 | 36 | [[tool.poetry.packages]] 37 | include = "cachedict" 38 | -------------------------------------------------------------------------------- /python-module/cachedict/readme.md: -------------------------------------------------------------------------------- 1 | # Python cache dict. 2 | 3 | ## Installation 4 | 5 | You can install via [pypi](https://pypi.org/project/cachedict/) 6 | 7 | ```console 8 | pip install -U cachedict 9 | ``` 10 | 11 | ## Usage 12 | 13 | ```python 14 | from cachedict import FIFODict, LRUDict, LFUDict, TTLDict, TLRUDict 15 | ``` 16 | -------------------------------------------------------------------------------- /python-module/capture_stream/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2024 ChenyangGao 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /python-module/capture_stream/capture_stream/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-module/capture_stream/capture_stream/py.typed -------------------------------------------------------------------------------- /python-module/ed2k/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2024 ChenyangGao 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /python-module/ed2k/ed2k/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-module/ed2k/ed2k/py.typed -------------------------------------------------------------------------------- /python-module/ed2k/pyproject.toml: -------------------------------------------------------------------------------- 1 | [tool.poetry] 2 | name = "ed2k" 3 | version = "0.0.2.1" 4 | description = "Python ed2k hash module." 5 | authors = ["ChenyangGao "] 6 | license = "MIT" 7 | readme = "readme.md" 8 | homepage = "https://github.com/ChenyangGao/web-mount-packs/tree/main/python-module/ed2k" 9 | repository = "https://github.com/ChenyangGao/web-mount-packs/tree/main/python-module/ed2k" 10 | keywords = ["ed2k", "hash"] 11 | classifiers = [ 12 | "License :: OSI Approved :: MIT License", 13 | "Development Status :: 5 - Production/Stable", 14 | "Programming Language :: Python", 15 | "Programming Language :: Python :: 3", 16 | "Programming Language :: Python :: 3 :: Only", 17 | "Operating System :: OS Independent", 18 | "Intended Audience :: Developers", 19 | "Topic :: Software Development", 20 | "Topic :: Software Development :: Libraries", 21 | "Topic :: Software Development :: Libraries :: Python Modules", 22 | ] 23 | include = [ 24 | "LICENSE", 25 | ] 26 | 27 | [tool.poetry.dependencies] 28 | python = "^3.10" 29 | iterdir = ">=0.0.6" 30 | pycryptodome = "*" 31 | python-filewrap = ">=0.2.6" 32 | 33 | [tool.poetry.scripts] 34 | python-ed2k = "ed2k.__main__:main" 35 | ed2k = "ed2k.__main__:main" 36 | 37 | [build-system] 38 | requires = ["poetry-core"] 39 | build-backend = "poetry.core.masonry.api" 40 | 41 | [[tool.poetry.packages]] 42 | include = "ed2k" 43 | -------------------------------------------------------------------------------- /python-module/ed2k/readme.md: -------------------------------------------------------------------------------- 1 | # Python ed2k hash module. 2 | 3 | ## Installation 4 | 5 | You can install from [pypi](https://pypi.org/project/ed2k/) 6 | 7 | ```console 8 | pip install -U ed2k 9 | ``` 10 | 11 | ## Usage 12 | 13 | ### Module 14 | 15 | ```python 16 | import ed2k 17 | ``` 18 | 19 | ### Command 20 | 21 | ```console 22 | $ ed2k -h 23 | usage: ed2k [-h] [-v] [path ...] 24 | 25 | calculate file ed2k hash 26 | 27 | positional arguments: 28 | path file path(s) to be downloaded, if omitted, read from stdin (one path per line) 29 | 30 | options: 31 | -h, --help show this help message and exit 32 | -v, --version print the current version 33 | ``` 34 | -------------------------------------------------------------------------------- /python-module/filerev/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2024 ChenyangGao 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /python-module/filerev/filerev/__main__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | # encoding: utf-8 3 | 4 | __author__ = "ChenyangGao " 5 | __doc__ = "Reverse output each line of a file" 6 | 7 | from argparse import ArgumentParser 8 | 9 | parser = ArgumentParser(description=__doc__) 10 | parser.add_argument("path", nargs="?", help="path to a file") 11 | parser.add_argument("-v", "--version", action="store_true", help="print the current version") 12 | args = parser.parse_args() 13 | if args.version: 14 | from filerev import __version__ 15 | print(".".join(map(str, __version__))) 16 | raise SystemExit(0) 17 | 18 | from sys import stdout 19 | 20 | write = stdout.buffer.raw.write # type: ignore 21 | try: 22 | if args.path: 23 | from filerev import file_reviter 24 | 25 | lines = file_reviter(open(args.path, "rb")) 26 | else: 27 | from sys import stdin 28 | 29 | lines = reversed(stdin.buffer.readlines()) 30 | for line in lines: 31 | if not line.endswith(b"\n"): 32 | line += b"\n" 33 | write(line) 34 | except BrokenPipeError: 35 | from sys import stderr 36 | stderr.close() 37 | except KeyboardInterrupt: 38 | pass 39 | 40 | -------------------------------------------------------------------------------- /python-module/filerev/filerev/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-module/filerev/filerev/py.typed -------------------------------------------------------------------------------- /python-module/filerev/pyproject.toml: -------------------------------------------------------------------------------- 1 | [tool.poetry] 2 | name = "filerev" 3 | version = "0.0.2" 4 | description = "Reversed iterator for files." 5 | authors = ["ChenyangGao "] 6 | license = "MIT" 7 | readme = "readme.md" 8 | homepage = "https://github.com/ChenyangGao/web-mount-packs/tree/main/python-module/filerev" 9 | repository = "https://github.com/ChenyangGao/web-mount-packs/tree/main/python-module/filerev" 10 | keywords = ["file", "reverse", "iter"] 11 | classifiers = [ 12 | "License :: OSI Approved :: MIT License", 13 | "Development Status :: 5 - Production/Stable", 14 | "Programming Language :: Python", 15 | "Programming Language :: Python :: 3", 16 | "Programming Language :: Python :: 3.10", 17 | "Programming Language :: Python :: 3 :: Only", 18 | "Operating System :: OS Independent", 19 | "Intended Audience :: Developers", 20 | "Topic :: Software Development", 21 | "Topic :: Software Development :: Libraries", 22 | "Topic :: Software Development :: Libraries :: Python Modules", 23 | ] 24 | include = [ 25 | "LICENSE", 26 | ] 27 | 28 | [tool.poetry.dependencies] 29 | python = "^3.10" 30 | 31 | [build-system] 32 | requires = ["poetry-core"] 33 | build-backend = "poetry.core.masonry.api" 34 | 35 | [[tool.poetry.packages]] 36 | include = "filerev" 37 | -------------------------------------------------------------------------------- /python-module/filerev/readme.md: -------------------------------------------------------------------------------- 1 | # Python reversed iterator for files. 2 | 3 | ## Installation 4 | 5 | You can install from [pypi](https://pypi.org/project/filerev/) 6 | 7 | ```console 8 | pip install -U filerev 9 | ``` 10 | 11 | ## Usage 12 | 13 | ... 14 | -------------------------------------------------------------------------------- /python-module/glob_pattern/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2024 ChenyangGao 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /python-module/glob_pattern/glob_pattern/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-module/glob_pattern/glob_pattern/py.typed -------------------------------------------------------------------------------- /python-module/glob_pattern/pyproject.toml: -------------------------------------------------------------------------------- 1 | [tool.poetry] 2 | name = "glob_pattern" 3 | version = "0.0.2" 4 | description = "Python shell glob pattern." 5 | authors = ["ChenyangGao "] 6 | license = "MIT" 7 | readme = "readme.md" 8 | homepage = "https://github.com/ChenyangGao/web-mount-packs/tree/main/python-module/glob_pattern" 9 | repository = "https://github.com/ChenyangGao/web-mount-packs/tree/main/python-module/glob_pattern" 10 | keywords = ["glob", "glob_pattern"] 11 | classifiers = [ 12 | "License :: OSI Approved :: MIT License", 13 | "Development Status :: 5 - Production/Stable", 14 | "Programming Language :: Python", 15 | "Programming Language :: Python :: 3", 16 | "Programming Language :: Python :: 3.10", 17 | "Programming Language :: Python :: 3 :: Only", 18 | "Operating System :: OS Independent", 19 | "Intended Audience :: Developers", 20 | "Topic :: Software Development", 21 | "Topic :: Software Development :: Libraries", 22 | "Topic :: Software Development :: Libraries :: Python Modules", 23 | ] 24 | include = [ 25 | "LICENSE", 26 | ] 27 | 28 | [tool.poetry.dependencies] 29 | python = "^3.10" 30 | posixpatht = ">=0.0.3" 31 | 32 | [build-system] 33 | requires = ["poetry-core"] 34 | build-backend = "poetry.core.masonry.api" 35 | 36 | [[tool.poetry.packages]] 37 | include = "glob_pattern" 38 | -------------------------------------------------------------------------------- /python-module/glob_pattern/readme.md: -------------------------------------------------------------------------------- 1 | # Python shell glob pattern. 2 | 3 | ## Installation 4 | 5 | You can install from [pypi](https://pypi.org/project/glob_pattern/) 6 | 7 | ```console 8 | pip install -U glob_pattern 9 | ``` 10 | 11 | ## Usage 12 | 13 | ```python 14 | import glob_pattern 15 | ``` 16 | -------------------------------------------------------------------------------- /python-module/http_response/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2024 ChenyangGao 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /python-module/http_response/http_response/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-module/http_response/http_response/py.typed -------------------------------------------------------------------------------- /python-module/http_response/pyproject.toml: -------------------------------------------------------------------------------- 1 | [tool.poetry] 2 | name = "http_response" 3 | version = "0.0.2.3" 4 | description = "Python http response utils." 5 | authors = ["ChenyangGao "] 6 | license = "MIT" 7 | readme = "readme.md" 8 | homepage = "https://github.com/ChenyangGao/web-mount-packs/tree/main/python-module/http_response" 9 | repository = "https://github.com/ChenyangGao/web-mount-packs/tree/main/python-module/http_response" 10 | keywords = ["http", "response"] 11 | classifiers = [ 12 | "License :: OSI Approved :: MIT License", 13 | "Development Status :: 5 - Production/Stable", 14 | "Programming Language :: Python", 15 | "Programming Language :: Python :: 3", 16 | "Programming Language :: Python :: 3.10", 17 | "Programming Language :: Python :: 3 :: Only", 18 | "Operating System :: OS Independent", 19 | "Intended Audience :: Developers", 20 | "Topic :: Software Development", 21 | "Topic :: Software Development :: Libraries", 22 | "Topic :: Software Development :: Libraries :: Python Modules", 23 | ] 24 | include = [ 25 | "LICENSE", 26 | ] 27 | 28 | [tool.poetry.dependencies] 29 | python = "^3.10" 30 | 31 | [build-system] 32 | requires = ["poetry-core"] 33 | build-backend = "poetry.core.masonry.api" 34 | 35 | [[tool.poetry.packages]] 36 | include = "http_response" 37 | -------------------------------------------------------------------------------- /python-module/http_response/readme.md: -------------------------------------------------------------------------------- 1 | # Python http response utils. 2 | 3 | ## Installation 4 | 5 | You can install via [pypi](https://pypi.org/project/http_response/) 6 | 7 | ```console 8 | pip install -U http_response 9 | ``` 10 | 11 | ## Usage 12 | 13 | ```python 14 | import http_response 15 | ``` 16 | -------------------------------------------------------------------------------- /python-module/httpx_request/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2024 ChenyangGao 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /python-module/httpx_request/httpx_request/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-module/httpx_request/httpx_request/py.typed -------------------------------------------------------------------------------- /python-module/httpx_request/readme.md: -------------------------------------------------------------------------------- 1 | # httpx request extension. 2 | 3 | ## Installation 4 | 5 | You can install via [pypi](https://pypi.org/project/httpx_request/) 6 | 7 | ```console 8 | pip install -U httpx_request 9 | ``` 10 | 11 | ## Usage 12 | 13 | ```python 14 | from httpx_request import request 15 | ``` 16 | -------------------------------------------------------------------------------- /python-module/integer_tool/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2024 ChenyangGao 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /python-module/integer_tool/integer_tool/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-module/integer_tool/integer_tool/py.typed -------------------------------------------------------------------------------- /python-module/integer_tool/pyproject.toml: -------------------------------------------------------------------------------- 1 | [tool.poetry] 2 | name = "integer_tool" 3 | version = "0.0.2.1" 4 | description = "Python functions for integer." 5 | authors = ["ChenyangGao "] 6 | license = "MIT" 7 | readme = "readme.md" 8 | homepage = "https://github.com/ChenyangGao/web-mount-packs/tree/main/python-module/integer_tool" 9 | repository = "https://github.com/ChenyangGao/web-mount-packs/tree/main/python-module/integer_tool" 10 | keywords = ["integer"] 11 | classifiers = [ 12 | "License :: OSI Approved :: MIT License", 13 | "Development Status :: 5 - Production/Stable", 14 | "Programming Language :: Python", 15 | "Programming Language :: Python :: 3", 16 | "Programming Language :: Python :: 3.10", 17 | "Programming Language :: Python :: 3 :: Only", 18 | "Operating System :: OS Independent", 19 | "Intended Audience :: Developers", 20 | "Topic :: Software Development", 21 | "Topic :: Software Development :: Libraries", 22 | "Topic :: Software Development :: Libraries :: Python Modules", 23 | ] 24 | include = [ 25 | "LICENSE", 26 | ] 27 | 28 | [tool.poetry.dependencies] 29 | python = "^3.10" 30 | 31 | [build-system] 32 | requires = ["poetry-core"] 33 | build-backend = "poetry.core.masonry.api" 34 | 35 | [[tool.poetry.packages]] 36 | include = "integer_tool" 37 | -------------------------------------------------------------------------------- /python-module/integer_tool/readme.md: -------------------------------------------------------------------------------- 1 | # Python functions for integer. 2 | 3 | ## Installation 4 | 5 | You can install from [pypi](https://pypi.org/project/integer_tool/) 6 | 7 | ```console 8 | pip install -U integer_tool 9 | ``` 10 | 11 | ## Usage 12 | 13 | ```python 14 | import integer_tool 15 | ``` 16 | -------------------------------------------------------------------------------- /python-module/iter_collect/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2024 ChenyangGao 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /python-module/iter_collect/iter_collect/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-module/iter_collect/iter_collect/py.typed -------------------------------------------------------------------------------- /python-module/iter_collect/pyproject.toml: -------------------------------------------------------------------------------- 1 | [tool.poetry] 2 | name = "iter_collect" 3 | version = "0.0.5.1" 4 | description = "iter_collect." 5 | authors = ["ChenyangGao "] 6 | license = "MIT" 7 | readme = "readme.md" 8 | homepage = "https://github.com/ChenyangGao/web-mount-packs/tree/main/python-module/iter_collect" 9 | repository = "https://github.com/ChenyangGao/web-mount-packs/tree/main/python-module/iter_collect" 10 | keywords = ["iterate", "collect"] 11 | classifiers = [ 12 | "License :: OSI Approved :: MIT License", 13 | "Development Status :: 5 - Production/Stable", 14 | "Programming Language :: Python", 15 | "Programming Language :: Python :: 3", 16 | "Programming Language :: Python :: 3.12", 17 | "Programming Language :: Python :: 3 :: Only", 18 | "Operating System :: OS Independent", 19 | "Intended Audience :: Developers", 20 | "Topic :: Software Development", 21 | "Topic :: Software Development :: Libraries", 22 | "Topic :: Software Development :: Libraries :: Python Modules", 23 | ] 24 | include = [ 25 | "LICENSE", 26 | ] 27 | 28 | [tool.poetry.dependencies] 29 | python = "^3.12" 30 | 31 | [build-system] 32 | requires = ["poetry-core"] 33 | build-backend = "poetry.core.masonry.api" 34 | 35 | [[tool.poetry.packages]] 36 | include = "iter_collect" 37 | -------------------------------------------------------------------------------- /python-module/iter_collect/readme.md: -------------------------------------------------------------------------------- 1 | # iter_collect 2 | 3 | ## Installation 4 | 5 | You can install via [pypi](https://pypi.org/project/iter_collect/) 6 | 7 | ```console 8 | pip install -U iter_collect 9 | ``` 10 | -------------------------------------------------------------------------------- /python-module/iterdir/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2024 ChenyangGao 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /python-module/iterdir/iterdir/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-module/iterdir/iterdir/py.typed -------------------------------------------------------------------------------- /python-module/json_write/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2024 ChenyangGao 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /python-module/json_write/json_write/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-module/json_write/json_write/py.typed -------------------------------------------------------------------------------- /python-module/json_write/pyproject.toml: -------------------------------------------------------------------------------- 1 | [tool.poetry] 2 | name = "json_write" 3 | version = "0.0.1.2" 4 | description = "JSON write tools." 5 | authors = ["ChenyangGao "] 6 | license = "MIT" 7 | readme = "readme.md" 8 | homepage = "https://github.com/ChenyangGao/web-mount-packs/tree/main/python-module/json_write" 9 | repository = "https://github.com/ChenyangGao/web-mount-packs/tree/main/python-module/json_write" 10 | keywords = ["json", "write"] 11 | classifiers = [ 12 | "License :: OSI Approved :: MIT License", 13 | "Development Status :: 5 - Production/Stable", 14 | "Programming Language :: Python", 15 | "Programming Language :: Python :: 3", 16 | "Programming Language :: Python :: 3.10", 17 | "Programming Language :: Python :: 3 :: Only", 18 | "Operating System :: OS Independent", 19 | "Intended Audience :: Developers", 20 | "Topic :: Software Development", 21 | "Topic :: Software Development :: Libraries", 22 | "Topic :: Software Development :: Libraries :: Python Modules", 23 | ] 24 | include = [ 25 | "LICENSE", 26 | ] 27 | 28 | [tool.poetry.dependencies] 29 | python = "^3.10" 30 | 31 | [build-system] 32 | requires = ["poetry-core"] 33 | build-backend = "poetry.core.masonry.api" 34 | 35 | [[tool.poetry.packages]] 36 | include = "json_write" 37 | -------------------------------------------------------------------------------- /python-module/json_write/readme.md: -------------------------------------------------------------------------------- 1 | # JSON write tools 2 | 3 | ## Installation 4 | 5 | You can install from [pypi](https://pypi.org/project/json_write/) 6 | 7 | ```console 8 | pip install -U json_write 9 | ``` 10 | 11 | ## Usage 12 | 13 | ... 14 | -------------------------------------------------------------------------------- /python-module/mimetype_more/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2024 ChenyangGao 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /python-module/mimetype_more/mimetype_more/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-module/mimetype_more/mimetype_more/py.typed -------------------------------------------------------------------------------- /python-module/mimetype_more/pyproject.toml: -------------------------------------------------------------------------------- 1 | [tool.poetry] 2 | name = "mimetype_more" 3 | version = "0.0.1" 4 | description = "Python more mimetypes." 5 | authors = ["ChenyangGao "] 6 | license = "MIT" 7 | readme = "readme.md" 8 | homepage = "https://github.com/ChenyangGao/web-mount-packs/tree/main/python-module/mimetype_more" 9 | repository = "https://github.com/ChenyangGao/web-mount-packs/tree/main/python-module/mimetype_more" 10 | keywords = ["mimetype"] 11 | classifiers = [ 12 | "License :: OSI Approved :: MIT License", 13 | "Development Status :: 5 - Production/Stable", 14 | "Programming Language :: Python", 15 | "Programming Language :: Python :: 3", 16 | "Programming Language :: Python :: 3 :: Only", 17 | "Operating System :: OS Independent", 18 | "Intended Audience :: Developers", 19 | "Topic :: Software Development", 20 | "Topic :: Software Development :: Libraries", 21 | "Topic :: Software Development :: Libraries :: Python Modules", 22 | ] 23 | include = [ 24 | "LICENSE", 25 | ] 26 | 27 | [tool.poetry.dependencies] 28 | python = "^3" 29 | 30 | [build-system] 31 | requires = ["poetry-core"] 32 | build-backend = "poetry.core.masonry.api" 33 | 34 | [[tool.poetry.packages]] 35 | include = "mimetype_more" 36 | -------------------------------------------------------------------------------- /python-module/mimetype_more/readme.md: -------------------------------------------------------------------------------- 1 | # Python more mimetypes. 2 | 3 | ## Installation 4 | 5 | You can install from [pypi](https://pypi.org/project/mimetype_more/) 6 | 7 | ```console 8 | pip install -U mimetype_more 9 | ``` 10 | 11 | ## Usage 12 | 13 | ```python 14 | import mimetype_more 15 | ``` 16 | -------------------------------------------------------------------------------- /python-module/partial_fstring/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2024 ChenyangGao 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /python-module/partial_fstring/partial_fstring/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-module/partial_fstring/partial_fstring/py.typed -------------------------------------------------------------------------------- /python-module/partial_fstring/pyproject.toml: -------------------------------------------------------------------------------- 1 | [tool.poetry] 2 | name = "partial_fstring" 3 | version = "0.0.1" 4 | description = "Python fstring-based template interpolation." 5 | authors = ["ChenyangGao "] 6 | license = "MIT" 7 | readme = "readme.md" 8 | homepage = "https://github.com/ChenyangGao/web-mount-packs/tree/main/python-module/partial_fstring" 9 | repository = "https://github.com/ChenyangGao/web-mount-packs/tree/main/python-module/partial_fstring" 10 | keywords = ["fstring", "template"] 11 | classifiers = [ 12 | "License :: OSI Approved :: MIT License", 13 | "Development Status :: 5 - Production/Stable", 14 | "Programming Language :: Python", 15 | "Programming Language :: Python :: 3", 16 | "Programming Language :: Python :: 3.10", 17 | "Programming Language :: Python :: 3 :: Only", 18 | "Operating System :: OS Independent", 19 | "Intended Audience :: Developers", 20 | "Topic :: Software Development", 21 | "Topic :: Software Development :: Libraries", 22 | "Topic :: Software Development :: Libraries :: Python Modules", 23 | ] 24 | include = [ 25 | "LICENSE", 26 | ] 27 | 28 | [tool.poetry.dependencies] 29 | python = "^3.10" 30 | 31 | [build-system] 32 | requires = ["poetry-core"] 33 | build-backend = "poetry.core.masonry.api" 34 | 35 | [[tool.poetry.packages]] 36 | include = "partial_fstring" 37 | -------------------------------------------------------------------------------- /python-module/partial_fstring/readme.md: -------------------------------------------------------------------------------- 1 | # Python fstring-based template interpolation. 2 | 3 | ## Installation 4 | 5 | You can install from [pypi](https://pypi.org/project/partial_fstring/) 6 | 7 | ```console 8 | pip install -U partial_fstring 9 | ``` 10 | 11 | ## Usage 12 | 13 | ```python 14 | from partial_fstring import parse, render 15 | 16 | block = parse("<{a}>{b}") 17 | block.render({"b": 1}) # get '1' 18 | 19 | # OR 20 | render("<{a}>{b}", {"b": 1}) 21 | ``` 22 | -------------------------------------------------------------------------------- /python-module/path_ignore_pattern/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2024 ChenyangGao 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /python-module/path_ignore_pattern/path_ignore_pattern/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-module/path_ignore_pattern/path_ignore_pattern/py.typed -------------------------------------------------------------------------------- /python-module/path_ignore_pattern/pyproject.toml: -------------------------------------------------------------------------------- 1 | [tool.poetry] 2 | name = "path_ignore_pattern" 3 | version = "0.0.1.1" 4 | description = "Python path ignore pattern." 5 | authors = ["ChenyangGao "] 6 | license = "MIT" 7 | readme = "readme.md" 8 | homepage = "https://github.com/ChenyangGao/web-mount-packs/tree/main/python-module/path_ignore_pattern" 9 | repository = "https://github.com/ChenyangGao/web-mount-packs/tree/main/python-module/path_ignore_pattern" 10 | keywords = ["gitignore", "ignore", "pattern"] 11 | classifiers = [ 12 | "License :: OSI Approved :: MIT License", 13 | "Development Status :: 5 - Production/Stable", 14 | "Programming Language :: Python", 15 | "Programming Language :: Python :: 3", 16 | "Programming Language :: Python :: 3.10", 17 | "Programming Language :: Python :: 3 :: Only", 18 | "Operating System :: OS Independent", 19 | "Intended Audience :: Developers", 20 | "Topic :: Software Development", 21 | "Topic :: Software Development :: Libraries", 22 | "Topic :: Software Development :: Libraries :: Python Modules", 23 | ] 24 | include = [ 25 | "LICENSE", 26 | ] 27 | 28 | [tool.poetry.dependencies] 29 | python = "^3.10" 30 | glob_pattern = ">=0.0.2" 31 | 32 | [build-system] 33 | requires = ["poetry-core"] 34 | build-backend = "poetry.core.masonry.api" 35 | 36 | [[tool.poetry.packages]] 37 | include = "path_ignore_pattern" 38 | -------------------------------------------------------------------------------- /python-module/path_ignore_pattern/readme.md: -------------------------------------------------------------------------------- 1 | # Python path ignore pattern. 2 | 3 | ## Installation 4 | 5 | You can install from [pypi](https://pypi.org/project/path_ignore_pattern/) 6 | 7 | ```console 8 | pip install -U path_ignore_pattern 9 | ``` 10 | 11 | ## Usage 12 | 13 | ```python 14 | import path_ignore_pattern 15 | ``` 16 | -------------------------------------------------------------------------------- /python-module/path_predicate/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2024 ChenyangGao 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /python-module/path_predicate/path_predicate/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-module/path_predicate/path_predicate/py.typed -------------------------------------------------------------------------------- /python-module/path_predicate/pyproject.toml: -------------------------------------------------------------------------------- 1 | [tool.poetry] 2 | name = "path_predicate" 3 | version = "0.0.1.1" 4 | description = "Python path predication." 5 | authors = ["ChenyangGao "] 6 | license = "MIT" 7 | readme = "readme.md" 8 | homepage = "https://github.com/ChenyangGao/web-mount-packs/tree/main/python-module/path_predicate" 9 | repository = "https://github.com/ChenyangGao/web-mount-packs/tree/main/python-module/path_predicate" 10 | keywords = ["path", "predicate", "predication"] 11 | classifiers = [ 12 | "License :: OSI Approved :: MIT License", 13 | "Development Status :: 5 - Production/Stable", 14 | "Programming Language :: Python", 15 | "Programming Language :: Python :: 3", 16 | "Programming Language :: Python :: 3.10", 17 | "Programming Language :: Python :: 3 :: Only", 18 | "Operating System :: OS Independent", 19 | "Intended Audience :: Developers", 20 | "Topic :: Software Development", 21 | "Topic :: Software Development :: Libraries", 22 | "Topic :: Software Development :: Libraries :: Python Modules", 23 | ] 24 | include = [ 25 | "LICENSE", 26 | ] 27 | 28 | [tool.poetry.dependencies] 29 | python = "^3.10" 30 | path_ignore_pattern = "*" 31 | 32 | [build-system] 33 | requires = ["poetry-core"] 34 | build-backend = "poetry.core.masonry.api" 35 | 36 | [[tool.poetry.packages]] 37 | include = "path_predicate" 38 | -------------------------------------------------------------------------------- /python-module/path_predicate/readme.md: -------------------------------------------------------------------------------- 1 | # Python path predication. 2 | 3 | ## Installation 4 | 5 | You can install from [pypi](https://pypi.org/project/path_predicate/) 6 | 7 | ```console 8 | pip install -U path_predicate 9 | ``` 10 | 11 | ## Usage 12 | 13 | ```python 14 | import path_predicate 15 | ``` 16 | -------------------------------------------------------------------------------- /python-module/posixpatht/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2024 ChenyangGao 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /python-module/posixpatht/posixpatht/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-module/posixpatht/posixpatht/py.typed -------------------------------------------------------------------------------- /python-module/posixpatht/pyproject.toml: -------------------------------------------------------------------------------- 1 | [tool.poetry] 2 | name = "posixpatht" 3 | version = "0.0.4" 4 | description = "Another posixpath module, supports names that contain backslashes." 5 | authors = ["ChenyangGao "] 6 | license = "MIT" 7 | readme = "readme.md" 8 | homepage = "https://github.com/ChenyangGao/web-mount-packs/tree/main/python-module/posixpatht" 9 | repository = "https://github.com/ChenyangGao/web-mount-packs/tree/main/python-module/posixpatht" 10 | keywords = ["posixpatht", "posixpath"] 11 | classifiers = [ 12 | "License :: OSI Approved :: MIT License", 13 | "Development Status :: 5 - Production/Stable", 14 | "Programming Language :: Python", 15 | "Programming Language :: Python :: 3", 16 | "Programming Language :: Python :: 3.10", 17 | "Programming Language :: Python :: 3 :: Only", 18 | "Operating System :: OS Independent", 19 | "Intended Audience :: Developers", 20 | "Topic :: Software Development", 21 | "Topic :: Software Development :: Libraries", 22 | "Topic :: Software Development :: Libraries :: Python Modules", 23 | ] 24 | include = [ 25 | "LICENSE", 26 | ] 27 | 28 | [tool.poetry.dependencies] 29 | python = "^3.10" 30 | 31 | [build-system] 32 | requires = ["poetry-core"] 33 | build-backend = "poetry.core.masonry.api" 34 | 35 | [[tool.poetry.packages]] 36 | include = "posixpatht" 37 | -------------------------------------------------------------------------------- /python-module/posixpatht/readme.md: -------------------------------------------------------------------------------- 1 | # Another posixpath module, supports names that contain backslashes. 2 | 3 | ## Installation 4 | 5 | You can install from [pypi](https://pypi.org/project/posixpatht/) 6 | 7 | ```console 8 | pip install -U posixpatht 9 | ``` 10 | 11 | ## Usage 12 | 13 | ```python 14 | import posixpatht 15 | ``` 16 | -------------------------------------------------------------------------------- /python-module/python-argtools/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2024 ChenyangGao 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /python-module/python-argtools/argtools/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-module/python-argtools/argtools/py.typed -------------------------------------------------------------------------------- /python-module/python-argtools/pyproject.toml: -------------------------------------------------------------------------------- 1 | [tool.poetry] 2 | name = "python-argtools" 3 | version = "0.0.1" 4 | description = "Python argument tools." 5 | authors = ["ChenyangGao "] 6 | license = "MIT" 7 | readme = "readme.md" 8 | homepage = "https://github.com/ChenyangGao/web-mount-packs/tree/main/python-module/python-argtools" 9 | repository = "https://github.com/ChenyangGao/web-mount-packs/tree/main/python-module/python-argtools" 10 | keywords = ["argument", "tools"] 11 | classifiers = [ 12 | "License :: OSI Approved :: MIT License", 13 | "Development Status :: 5 - Production/Stable", 14 | "Programming Language :: Python", 15 | "Programming Language :: Python :: 3", 16 | "Programming Language :: Python :: 3.10", 17 | "Programming Language :: Python :: 3 :: Only", 18 | "Operating System :: OS Independent", 19 | "Intended Audience :: Developers", 20 | "Topic :: Software Development", 21 | "Topic :: Software Development :: Libraries", 22 | "Topic :: Software Development :: Libraries :: Python Modules", 23 | ] 24 | include = [ 25 | "LICENSE", 26 | ] 27 | 28 | [tool.poetry.dependencies] 29 | python = "^3.10" 30 | 31 | [build-system] 32 | requires = ["poetry-core"] 33 | build-backend = "poetry.core.masonry.api" 34 | 35 | [[tool.poetry.packages]] 36 | include = "argtools" 37 | -------------------------------------------------------------------------------- /python-module/python-argtools/readme.md: -------------------------------------------------------------------------------- 1 | # Python argument tools. 2 | 3 | ## Installation 4 | 5 | You can install from [pypi](https://pypi.org/project/python-argtools/) 6 | 7 | ```console 8 | pip install -U argtools 9 | ``` 10 | 11 | ## Usage 12 | 13 | ```python 14 | import argtools 15 | ``` 16 | -------------------------------------------------------------------------------- /python-module/python-asynctools/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2024 ChenyangGao 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /python-module/python-asynctools/asynctools/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-module/python-asynctools/asynctools/py.typed -------------------------------------------------------------------------------- /python-module/python-asynctools/pyproject.toml: -------------------------------------------------------------------------------- 1 | [tool.poetry] 2 | name = "python-asynctools" 3 | version = "0.1.2" 4 | description = "Python asynchronous tools." 5 | authors = ["ChenyangGao "] 6 | license = "MIT" 7 | readme = "readme.md" 8 | homepage = "https://github.com/ChenyangGao/web-mount-packs/tree/main/python-module/python-asynctools" 9 | repository = "https://github.com/ChenyangGao/web-mount-packs/tree/main/python-module/python-asynctools" 10 | keywords = ["asynchronous", "tools"] 11 | classifiers = [ 12 | "License :: OSI Approved :: MIT License", 13 | "Development Status :: 5 - Production/Stable", 14 | "Programming Language :: Python", 15 | "Programming Language :: Python :: 3", 16 | "Programming Language :: Python :: 3.12", 17 | "Programming Language :: Python :: 3 :: Only", 18 | "Operating System :: OS Independent", 19 | "Intended Audience :: Developers", 20 | "Topic :: Software Development", 21 | "Topic :: Software Development :: Libraries", 22 | "Topic :: Software Development :: Libraries :: Python Modules", 23 | ] 24 | include = [ 25 | "LICENSE", 26 | ] 27 | 28 | [tool.poetry.dependencies] 29 | python = "^3.12" 30 | python-decotools = "*" 31 | python-undefined = ">=0.0.3" 32 | 33 | [build-system] 34 | requires = ["poetry-core"] 35 | build-backend = "poetry.core.masonry.api" 36 | 37 | [[tool.poetry.packages]] 38 | include = "asynctools" 39 | -------------------------------------------------------------------------------- /python-module/python-asynctools/readme.md: -------------------------------------------------------------------------------- 1 | # Python asynchronous tools. 2 | 3 | ## Installation 4 | 5 | You can install from [pypi](https://pypi.org/project/python-asynctools/) 6 | 7 | ```console 8 | pip install -U python-asynctools 9 | ``` 10 | 11 | ## Usage 12 | 13 | ```python 14 | import asynctools 15 | ``` 16 | -------------------------------------------------------------------------------- /python-module/python-concurrenttools/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2024 ChenyangGao 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /python-module/python-concurrenttools/concurrenttools/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-module/python-concurrenttools/concurrenttools/py.typed -------------------------------------------------------------------------------- /python-module/python-concurrenttools/readme.md: -------------------------------------------------------------------------------- 1 | # Python concurrent tools. 2 | 3 | ## Installation 4 | 5 | You can install from [pypi](https://pypi.org/project/python-concurrenttools/) 6 | 7 | ```console 8 | pip install -U python-concurrenttools 9 | ``` 10 | 11 | ## Usage 12 | 13 | ```python 14 | import concurrenttools 15 | ``` 16 | -------------------------------------------------------------------------------- /python-module/python-cookietools/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2024 ChenyangGao 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /python-module/python-cookietools/cookietools/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-module/python-cookietools/cookietools/py.typed -------------------------------------------------------------------------------- /python-module/python-cookietools/pyproject.toml: -------------------------------------------------------------------------------- 1 | [tool.poetry] 2 | name = "python-cookietools" 3 | version = "0.0.4" 4 | description = "Python cookietools." 5 | authors = ["ChenyangGao "] 6 | license = "MIT" 7 | readme = "readme.md" 8 | homepage = "https://github.com/ChenyangGao/web-mount-packs/tree/main/python-module/python-cookietools" 9 | repository = "https://github.com/ChenyangGao/web-mount-packs/tree/main/python-module/python-cookietools" 10 | keywords = ["cookies", "tools", "cookietools"] 11 | classifiers = [ 12 | "License :: OSI Approved :: MIT License", 13 | "Development Status :: 5 - Production/Stable", 14 | "Programming Language :: Python", 15 | "Programming Language :: Python :: 3", 16 | "Programming Language :: Python :: 3 :: Only", 17 | "Operating System :: OS Independent", 18 | "Intended Audience :: Developers", 19 | "Topic :: Software Development", 20 | "Topic :: Software Development :: Libraries", 21 | "Topic :: Software Development :: Libraries :: Python Modules", 22 | ] 23 | include = [ 24 | "LICENSE", 25 | ] 26 | 27 | [tool.poetry.dependencies] 28 | python = "^3" 29 | 30 | [build-system] 31 | requires = ["poetry-core"] 32 | build-backend = "poetry.core.masonry.api" 33 | 34 | [[tool.poetry.packages]] 35 | include = "cookietools" 36 | -------------------------------------------------------------------------------- /python-module/python-cookietools/readme.md: -------------------------------------------------------------------------------- 1 | # Python cookietools. 2 | 3 | ## Installation 4 | 5 | You can install from [pypi](https://pypi.org/project/python-cookietools/) 6 | 7 | ```console 8 | pip install -U python-cookietools 9 | ``` 10 | 11 | ## Usage 12 | 13 | ```python 14 | import cookietools 15 | ``` 16 | -------------------------------------------------------------------------------- /python-module/python-decotools/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2024 ChenyangGao 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /python-module/python-decotools/decotools/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-module/python-decotools/decotools/py.typed -------------------------------------------------------------------------------- /python-module/python-decotools/pyproject.toml: -------------------------------------------------------------------------------- 1 | [tool.poetry] 2 | name = "python-decotools" 3 | version = "0.0.2" 4 | description = "Python decorator tools." 5 | authors = ["ChenyangGao "] 6 | license = "MIT" 7 | readme = "readme.md" 8 | homepage = "https://github.com/ChenyangGao/web-mount-packs/tree/main/python-module/python-decotools" 9 | repository = "https://github.com/ChenyangGao/web-mount-packs/tree/main/python-module/python-decotools" 10 | keywords = ["decorator"] 11 | classifiers = [ 12 | "License :: OSI Approved :: MIT License", 13 | "Development Status :: 5 - Production/Stable", 14 | "Programming Language :: Python", 15 | "Programming Language :: Python :: 3", 16 | "Programming Language :: Python :: 3.12", 17 | "Programming Language :: Python :: 3 :: Only", 18 | "Operating System :: OS Independent", 19 | "Intended Audience :: Developers", 20 | "Topic :: Software Development", 21 | "Topic :: Software Development :: Libraries", 22 | "Topic :: Software Development :: Libraries :: Python Modules", 23 | ] 24 | include = [ 25 | "LICENSE", 26 | ] 27 | 28 | [tool.poetry.dependencies] 29 | python = "^3.12" 30 | python-partial = ">=0.0.6" 31 | python-undefined = ">=0.0.3" 32 | 33 | [build-system] 34 | requires = ["poetry-core"] 35 | build-backend = "poetry.core.masonry.api" 36 | 37 | [[tool.poetry.packages]] 38 | include = "decotools" 39 | -------------------------------------------------------------------------------- /python-module/python-decotools/readme.md: -------------------------------------------------------------------------------- 1 | # Python decorator tools. 2 | 3 | ## Installation 4 | 5 | You can install from [pypi](https://pypi.org/project/python-decotools/) 6 | 7 | ```console 8 | pip install -U decotools 9 | ``` 10 | 11 | ## Usage 12 | 13 | ```python 14 | import decotools 15 | ``` 16 | -------------------------------------------------------------------------------- /python-module/python-dictattr/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2024 ChenyangGao 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /python-module/python-dictattr/dictattr/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-module/python-dictattr/dictattr/py.typed -------------------------------------------------------------------------------- /python-module/python-dictattr/pyproject.toml: -------------------------------------------------------------------------------- 1 | [tool.poetry] 2 | name = "python-dictattr" 3 | version = "0.0.4" 4 | description = "Python dictattr." 5 | authors = ["ChenyangGao "] 6 | license = "MIT" 7 | readme = "readme.md" 8 | homepage = "https://github.com/ChenyangGao/web-mount-packs/tree/main/python-module/python-dictattr" 9 | repository = "https://github.com/ChenyangGao/web-mount-packs/tree/main/python-module/python-dictattr" 10 | keywords = ["dictattr", "attrdict"] 11 | classifiers = [ 12 | "License :: OSI Approved :: MIT License", 13 | "Development Status :: 5 - Production/Stable", 14 | "Programming Language :: Python", 15 | "Programming Language :: Python :: 3", 16 | "Programming Language :: Python :: 3 :: Only", 17 | "Operating System :: OS Independent", 18 | "Intended Audience :: Developers", 19 | "Topic :: Software Development", 20 | "Topic :: Software Development :: Libraries", 21 | "Topic :: Software Development :: Libraries :: Python Modules", 22 | ] 23 | include = [ 24 | "LICENSE", 25 | ] 26 | 27 | [tool.poetry.dependencies] 28 | python = "^3.11" 29 | 30 | [build-system] 31 | requires = ["poetry-core"] 32 | build-backend = "poetry.core.masonry.api" 33 | 34 | [[tool.poetry.packages]] 35 | include = "dictattr" 36 | -------------------------------------------------------------------------------- /python-module/python-dictattr/readme.md: -------------------------------------------------------------------------------- 1 | # Python dictattr. 2 | 3 | ## Installation 4 | 5 | You can install from [pypi](https://pypi.org/project/python-dictattr/) 6 | 7 | ```console 8 | pip install -U python-dictattr 9 | ``` 10 | 11 | ## Usage 12 | 13 | ```python 14 | import dictattr 15 | ``` 16 | -------------------------------------------------------------------------------- /python-module/python-download/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2024 ChenyangGao 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /python-module/python-download/download/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-module/python-download/download/py.typed -------------------------------------------------------------------------------- /python-module/python-download/readme.md: -------------------------------------------------------------------------------- 1 | # Python for download.. 2 | 3 | ## Installation 4 | 5 | You can install from [pypi](https://pypi.org/project/python-download/) 6 | 7 | ```console 8 | pip install -U python-download 9 | ``` 10 | 11 | ## Usage 12 | 13 | ### Module 14 | 15 | ```python 16 | import download 17 | ``` 18 | 19 | ### Command 20 | 21 | ```console 22 | $ python-download -h 23 | usage: python-download [-h] [-d SAVEDIR] [-r] [-hs HEADERS] [-rq] [-v] [url] 24 | 25 | python url downloader 26 | 27 | positional arguments: 28 | url URL(s) to be downloaded (one URL per line), if omitted, read from stdin 29 | 30 | options: 31 | -h, --help show this help message and exit 32 | -d SAVEDIR, --savedir SAVEDIR 33 | path to the downloaded file 34 | -r, --resume skip downloaded data 35 | -hs HEADERS, --headers HEADERS 36 | dictionary of HTTP Headers to send with 37 | -rq, --use-requests use `requests` module 38 | -v, --version print the current version 39 | ``` 40 | -------------------------------------------------------------------------------- /python-module/python-encode_uri/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2024 ChenyangGao 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /python-module/python-encode_uri/encode_uri/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-module/python-encode_uri/encode_uri/py.typed -------------------------------------------------------------------------------- /python-module/python-encode_uri/pyproject.toml: -------------------------------------------------------------------------------- 1 | [tool.poetry] 2 | name = "python-encode_uri" 3 | version = "0.0.3" 4 | description = "Encodes a URI by replacing each instance of certain characters." 5 | authors = ["ChenyangGao "] 6 | license = "MIT" 7 | readme = "readme.md" 8 | homepage = "https://github.com/ChenyangGao/web-mount-packs/tree/main/python-module/encode_uri" 9 | repository = "https://github.com/ChenyangGao/web-mount-packs/tree/main/python-module/encode_uri" 10 | keywords = ["encode_uri"] 11 | classifiers = [ 12 | "License :: OSI Approved :: MIT License", 13 | "Development Status :: 5 - Production/Stable", 14 | "Programming Language :: Python", 15 | "Programming Language :: Python :: 3", 16 | "Programming Language :: Python :: 3.10", 17 | "Programming Language :: Python :: 3 :: Only", 18 | "Operating System :: OS Independent", 19 | "Intended Audience :: Developers", 20 | "Topic :: Software Development", 21 | "Topic :: Software Development :: Libraries", 22 | "Topic :: Software Development :: Libraries :: Python Modules", 23 | ] 24 | include = [ 25 | "LICENSE", 26 | ] 27 | 28 | [tool.poetry.dependencies] 29 | python = "^3.10" 30 | 31 | [build-system] 32 | requires = ["poetry-core"] 33 | build-backend = "poetry.core.masonry.api" 34 | 35 | [[tool.poetry.packages]] 36 | include = "encode_uri" 37 | -------------------------------------------------------------------------------- /python-module/python-encode_uri/readme.md: -------------------------------------------------------------------------------- 1 | # Encodes a URI by replacing each instance of certain characters.. 2 | 3 | ## Installation 4 | 5 | You can install from [pypi](https://pypi.org/project/encode_uri/) 6 | 7 | ```console 8 | pip install -U encode_uri 9 | ``` 10 | 11 | ## Usage 12 | 13 | ```python 14 | from encode_uri import encode_uri, encode_uri_component, encode_uri_component_loose 15 | ``` 16 | -------------------------------------------------------------------------------- /python-module/python-filewrap/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2024 ChenyangGao 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /python-module/python-filewrap/filewrap/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-module/python-filewrap/filewrap/py.typed -------------------------------------------------------------------------------- /python-module/python-filewrap/pyproject.toml: -------------------------------------------------------------------------------- 1 | [tool.poetry] 2 | name = "python-filewrap" 3 | version = "0.2.8.1" 4 | description = "Python file wrappers." 5 | authors = ["ChenyangGao "] 6 | license = "MIT" 7 | readme = "readme.md" 8 | homepage = "https://github.com/ChenyangGao/web-mount-packs/tree/main/python-module/python-filewrap" 9 | repository = "https://github.com/ChenyangGao/web-mount-packs/tree/main/python-module/python-filewrap" 10 | keywords = ["file", "wrapper"] 11 | classifiers = [ 12 | "License :: OSI Approved :: MIT License", 13 | "Development Status :: 5 - Production/Stable", 14 | "Programming Language :: Python", 15 | "Programming Language :: Python :: 3", 16 | "Programming Language :: Python :: 3.12", 17 | "Programming Language :: Python :: 3 :: Only", 18 | "Operating System :: OS Independent", 19 | "Intended Audience :: Developers", 20 | "Topic :: Software Development", 21 | "Topic :: Software Development :: Libraries", 22 | "Topic :: Software Development :: Libraries :: Python Modules", 23 | ] 24 | include = [ 25 | "LICENSE", 26 | ] 27 | 28 | [tool.poetry.dependencies] 29 | python = "^3.12" 30 | python-asynctools = ">=0.1" 31 | python-property = ">=0.0.3" 32 | 33 | [build-system] 34 | requires = ["poetry-core"] 35 | build-backend = "poetry.core.masonry.api" 36 | 37 | [[tool.poetry.packages]] 38 | include = "filewrap" 39 | -------------------------------------------------------------------------------- /python-module/python-filewrap/readme.md: -------------------------------------------------------------------------------- 1 | # Python file wrappers. 2 | 3 | ## Installation 4 | 5 | You can install from [pypi](https://pypi.org/project/python-filewrap/) 6 | 7 | ```console 8 | pip install -U python-filewrap 9 | ``` 10 | 11 | ## Usage 12 | 13 | ```python 14 | import filewrap 15 | ``` 16 | -------------------------------------------------------------------------------- /python-module/python-hashtools/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2024 ChenyangGao 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /python-module/python-hashtools/hashtools/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-module/python-hashtools/hashtools/py.typed -------------------------------------------------------------------------------- /python-module/python-hashtools/readme.md: -------------------------------------------------------------------------------- 1 | # Python hash tools. 2 | 3 | ## Installation 4 | 5 | You can install from [pypi](https://pypi.org/project/python-hashtools/) 6 | 7 | ```console 8 | pip install -U python-hashtools 9 | ``` 10 | 11 | ## Usage 12 | 13 | ### Module 14 | 15 | ```python 16 | import hashtools 17 | ``` 18 | 19 | ### Command 20 | 21 | ```console 22 | $ hashtools -h 23 | usage: hashtools [-h] [-hs [hash ...]] [-s START] [-t STOP] [-v] [path ...] 24 | 25 | calculate file hashes 26 | 27 | positional arguments: 28 | path file path(s) to be downloaded, if omitted, read from stdin (one path per line) 29 | 30 | options: 31 | -h, --help show this help message and exit 32 | -hs [hash ...], --hashs [hash ...] 33 | hash algorithms, default to 'md5' 34 | -s START, --start START 35 | start from file offset, default to 0 (start of file) 36 | -t STOP, --stop STOP stop until file offset, default to None (end of file) 37 | -v, --version print the current version 38 | ``` 39 | -------------------------------------------------------------------------------- /python-module/python-http_request/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2024 ChenyangGao 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /python-module/python-http_request/http_request/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-module/python-http_request/http_request/py.typed -------------------------------------------------------------------------------- /python-module/python-http_request/readme.md: -------------------------------------------------------------------------------- 1 | # Python http response utils. 2 | 3 | ## Installation 4 | 5 | You can install from [pypi](https://pypi.org/project/python-http_request/) 6 | 7 | ```console 8 | pip install -U python-http_request 9 | ``` 10 | 11 | ## Usage 12 | 13 | ```python 14 | import http_request 15 | ``` 16 | -------------------------------------------------------------------------------- /python-module/python-httpfile/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2024 ChenyangGao 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /python-module/python-httpfile/httpfile/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-module/python-httpfile/httpfile/py.typed -------------------------------------------------------------------------------- /python-module/python-httpfile/readme.md: -------------------------------------------------------------------------------- 1 | # Python httpfile. 2 | 3 | ## Installation 4 | 5 | You can install from [pypi](https://pypi.org/project/python-httpfile/) 6 | 7 | ```console 8 | pip install -U python-httpfile 9 | ``` 10 | 11 | ## Usage 12 | 13 | ```python 14 | import httpfile 15 | ``` 16 | -------------------------------------------------------------------------------- /python-module/python-iterutils/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2024 ChenyangGao 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /python-module/python-iterutils/iterutils/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-module/python-iterutils/iterutils/py.typed -------------------------------------------------------------------------------- /python-module/python-iterutils/readme.md: -------------------------------------------------------------------------------- 1 | # Python another itertools. 2 | 3 | ## Installation 4 | 5 | You can install from [pypi](https://pypi.org/project/python-iterutils/) 6 | 7 | ```console 8 | pip install -U python-iterutils 9 | ``` 10 | 11 | ## Usage 12 | 13 | ```python 14 | import iterutils 15 | ``` 16 | -------------------------------------------------------------------------------- /python-module/python-lockfile/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2024 ChenyangGao 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /python-module/python-lockfile/lockfile/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-module/python-lockfile/lockfile/py.typed -------------------------------------------------------------------------------- /python-module/python-lockfile/pyproject.toml: -------------------------------------------------------------------------------- 1 | [tool.poetry] 2 | name = "python-lockfile" 3 | version = "0.0.1" 4 | description = "" 5 | authors = ["ChenyangGao "] 6 | license = "MIT" 7 | readme = "readme.md" 8 | homepage = "https://github.com/ChenyangGao/web-mount-packs/tree/main/python-module/python-lockfile" 9 | repository = "https://github.com/ChenyangGao/web-mount-packs/tree/main/python-module/python-lockfile" 10 | keywords = ["lockfile"] 11 | classifiers = [ 12 | "License :: OSI Approved :: MIT License", 13 | "Development Status :: 5 - Production/Stable", 14 | "Programming Language :: Python", 15 | "Programming Language :: Python :: 3", 16 | "Programming Language :: Python :: 3.10", 17 | "Programming Language :: Python :: 3 :: Only", 18 | "Operating System :: OS Independent", 19 | "Intended Audience :: Developers", 20 | "Topic :: Software Development", 21 | "Topic :: Software Development :: Libraries", 22 | "Topic :: Software Development :: Libraries :: Python Modules", 23 | ] 24 | include = [ 25 | "LICENSE", 26 | ] 27 | 28 | [tool.poetry.dependencies] 29 | python = "^3.10" 30 | aiofiles = "*" 31 | 32 | [tool.poetry.dev-dependencies] 33 | python = "^3.10" 34 | aiofile = "*" 35 | 36 | [build-system] 37 | requires = ["poetry-core"] 38 | build-backend = "poetry.core.masonry.api" 39 | 40 | [[tool.poetry.packages]] 41 | include = "lockfile" 42 | -------------------------------------------------------------------------------- /python-module/python-lockfile/readme.md: -------------------------------------------------------------------------------- 1 | # Python lockfile context manager. 2 | 3 | ## Installation 4 | 5 | You can install via [pypi](https://pypi.org/project/python-lockfile/) 6 | 7 | ```console 8 | pip install -U lockfile 9 | ``` 10 | 11 | ## Usage 12 | 13 | ### Module 14 | 15 | ```python 16 | >>> from lockfile import lockfile, lockfile_async 17 | ``` 18 | -------------------------------------------------------------------------------- /python-module/python-mask/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2024 ChenyangGao 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /python-module/python-mask/mask/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-module/python-mask/mask/py.typed -------------------------------------------------------------------------------- /python-module/python-mask/pyproject.toml: -------------------------------------------------------------------------------- 1 | [tool.poetry] 2 | name = "python-mask" 3 | version = "0.0.1.1" 4 | description = "Python integer mask code." 5 | authors = ["ChenyangGao "] 6 | license = "MIT" 7 | readme = "readme.md" 8 | homepage = "https://github.com/ChenyangGao/web-mount-packs/tree/main/python-module/python-mask" 9 | repository = "https://github.com/ChenyangGao/web-mount-packs/tree/main/python-module/python-mask" 10 | keywords = ["file", "reverse", "iter"] 11 | classifiers = [ 12 | "License :: OSI Approved :: MIT License", 13 | "Development Status :: 5 - Production/Stable", 14 | "Programming Language :: Python", 15 | "Programming Language :: Python :: 3", 16 | "Programming Language :: Python :: 3.10", 17 | "Programming Language :: Python :: 3 :: Only", 18 | "Operating System :: OS Independent", 19 | "Intended Audience :: Developers", 20 | "Topic :: Software Development", 21 | "Topic :: Software Development :: Libraries", 22 | "Topic :: Software Development :: Libraries :: Python Modules", 23 | ] 24 | include = [ 25 | "LICENSE", 26 | ] 27 | 28 | [tool.poetry.dependencies] 29 | python = "^3.10" 30 | 31 | [build-system] 32 | requires = ["poetry-core"] 33 | build-backend = "poetry.core.masonry.api" 34 | 35 | [[tool.poetry.packages]] 36 | include = "mask" 37 | -------------------------------------------------------------------------------- /python-module/python-mask/readme.md: -------------------------------------------------------------------------------- 1 | # Python integer mask code. 2 | 3 | ## Installation 4 | 5 | You can install from [pypi](https://pypi.org/project/python-mask/) 6 | 7 | ```console 8 | pip install -U python-mask 9 | ``` 10 | 11 | ## Usage 12 | 13 | ```python 14 | import mask 15 | ``` 16 | -------------------------------------------------------------------------------- /python-module/python-partial/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2024 ChenyangGao 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /python-module/python-partial/partial/__init__.py: -------------------------------------------------------------------------------- 1 | # /usr/bin/env python3 2 | # coding: utf-8 3 | 4 | __author__ = "ChenyangGao " 5 | __version__ = (0, 0, 6) 6 | 7 | from .partial import * 8 | from .placeholder import * 9 | 10 | -------------------------------------------------------------------------------- /python-module/python-partial/partial/placeholder.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | # coding: utf-8 3 | 4 | from __future__ import annotations 5 | 6 | __author__ = "ChenyangGao " 7 | __all__ = ["Placeholder", "_"] 8 | 9 | from typing import final, Never 10 | 11 | from undefined import Undefined, undefined 12 | 13 | 14 | @final 15 | class Placeholder(Undefined): 16 | __slots__: tuple[str, ...] = () 17 | 18 | def __init_subclass__(cls, /, **kwargs) -> Never: 19 | raise TypeError("Subclassing is not allowed") 20 | 21 | __eq__ = lambda self, other, /: self is other or other is undefined # type: ignore 22 | __repr__ = staticmethod(lambda: "_") # type: ignore 23 | 24 | 25 | _ = Placeholder() 26 | 27 | -------------------------------------------------------------------------------- /python-module/python-partial/partial/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-module/python-partial/partial/py.typed -------------------------------------------------------------------------------- /python-module/python-partial/pyproject.toml: -------------------------------------------------------------------------------- 1 | [tool.poetry] 2 | name = "python-partial" 3 | version = "0.0.6" 4 | description = "Python partial." 5 | authors = ["ChenyangGao "] 6 | license = "MIT" 7 | readme = "readme.md" 8 | homepage = "https://github.com/ChenyangGao/web-mount-packs/tree/main/python-module/python-partial" 9 | repository = "https://github.com/ChenyangGao/web-mount-packs/tree/main/python-module/python-partial" 10 | keywords = ["partial", "currying", "placeholder"] 11 | classifiers = [ 12 | "License :: OSI Approved :: MIT License", 13 | "Development Status :: 5 - Production/Stable", 14 | "Programming Language :: Python", 15 | "Programming Language :: Python :: 3", 16 | "Programming Language :: Python :: 3.11", 17 | "Programming Language :: Python :: 3 :: Only", 18 | "Operating System :: OS Independent", 19 | "Intended Audience :: Developers", 20 | "Topic :: Software Development", 21 | "Topic :: Software Development :: Libraries", 22 | "Topic :: Software Development :: Libraries :: Python Modules", 23 | ] 24 | include = [ 25 | "LICENSE", 26 | ] 27 | 28 | [tool.poetry.dependencies] 29 | python = "^3.11" 30 | python-undefined = ">=0.0.3" 31 | 32 | [build-system] 33 | requires = ["poetry-core"] 34 | build-backend = "poetry.core.masonry.api" 35 | 36 | [[tool.poetry.packages]] 37 | include = "partial" 38 | -------------------------------------------------------------------------------- /python-module/python-partial/readme.md: -------------------------------------------------------------------------------- 1 | # Python partial. 2 | 3 | ## Installation 4 | 5 | You can install from [pypi](https://pypi.org/project/python-partial/) 6 | 7 | ```console 8 | pip install -U python-partial 9 | ``` 10 | 11 | ## Usage 12 | 13 | ```python 14 | from partial import ppartial, currying 15 | ``` 16 | 17 | -------------------------------------------------------------------------------- /python-module/python-property/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2024 ChenyangGao 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /python-module/python-property/property/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-module/python-property/property/py.typed -------------------------------------------------------------------------------- /python-module/python-property/pyproject.toml: -------------------------------------------------------------------------------- 1 | [tool.poetry] 2 | name = "python-property" 3 | version = "0.0.3" 4 | description = "Python property discriptors" 5 | authors = ["ChenyangGao "] 6 | license = "MIT" 7 | readme = "readme.md" 8 | homepage = "https://github.com/ChenyangGao/web-mount-packs/tree/main/python-module/python-property" 9 | repository = "https://github.com/ChenyangGao/web-mount-packs/tree/main/python-module/python-property" 10 | keywords = ["property"] 11 | classifiers = [ 12 | "License :: OSI Approved :: MIT License", 13 | "Development Status :: 5 - Production/Stable", 14 | "Programming Language :: Python", 15 | "Programming Language :: Python :: 3", 16 | "Programming Language :: Python :: 3.10", 17 | "Programming Language :: Python :: 3 :: Only", 18 | "Operating System :: OS Independent", 19 | "Intended Audience :: Developers", 20 | "Topic :: Software Development", 21 | "Topic :: Software Development :: Libraries", 22 | "Topic :: Software Development :: Libraries :: Python Modules", 23 | ] 24 | include = [ 25 | "LICENSE", 26 | ] 27 | 28 | [tool.poetry.dependencies] 29 | python = "^3.10" 30 | 31 | [build-system] 32 | requires = ["poetry-core"] 33 | build-backend = "poetry.core.masonry.api" 34 | 35 | [[tool.poetry.packages]] 36 | include = "property" 37 | -------------------------------------------------------------------------------- /python-module/python-property/readme.md: -------------------------------------------------------------------------------- 1 | # Python property discriptors. 2 | 3 | ## Installation 4 | 5 | You can install from [pypi](https://pypi.org/project/python-property/) 6 | 7 | ```console 8 | pip install -U python-property 9 | ``` 10 | 11 | ## Usage 12 | 13 | ```python 14 | import property 15 | ``` 16 | -------------------------------------------------------------------------------- /python-module/python-renamer/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2024 ChenyangGao 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /python-module/python-renamer/readme.md: -------------------------------------------------------------------------------- 1 | # Python batch renamer. 2 | 3 | ## Installation 4 | 5 | You can install from [pypi](https://pypi.org/project/python-renamer/) 6 | 7 | ```console 8 | pip install -U python-renamer 9 | ``` 10 | 11 | ## Usage 12 | 13 | ... 14 | -------------------------------------------------------------------------------- /python-module/python-renamer/renamer/__main__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | # coding: utf-8 3 | 4 | -------------------------------------------------------------------------------- /python-module/python-renamer/renamer/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-module/python-renamer/renamer/py.typed -------------------------------------------------------------------------------- /python-module/python-renamer/requirements.txt: -------------------------------------------------------------------------------- 1 | filerev 2 | iterdir 3 | json_write -------------------------------------------------------------------------------- /python-module/python-retrytools/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2024 ChenyangGao 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /python-module/python-retrytools/pyproject.toml: -------------------------------------------------------------------------------- 1 | [tool.poetry] 2 | name = "python-retrytools" 3 | version = "0.0.2" 4 | description = "Python retry tools." 5 | authors = ["ChenyangGao "] 6 | license = "MIT" 7 | readme = "readme.md" 8 | homepage = "https://github.com/ChenyangGao/web-mount-packs/tree/main/python-module/python-retrytools" 9 | repository = "https://github.com/ChenyangGao/web-mount-packs/tree/main/python-module/python-retrytools" 10 | keywords = ["retry"] 11 | classifiers = [ 12 | "License :: OSI Approved :: MIT License", 13 | "Development Status :: 5 - Production/Stable", 14 | "Programming Language :: Python", 15 | "Programming Language :: Python :: 3", 16 | "Programming Language :: Python :: 3.10", 17 | "Programming Language :: Python :: 3 :: Only", 18 | "Operating System :: OS Independent", 19 | "Intended Audience :: Developers", 20 | "Topic :: Software Development", 21 | "Topic :: Software Development :: Libraries", 22 | "Topic :: Software Development :: Libraries :: Python Modules", 23 | ] 24 | include = [ 25 | "LICENSE", 26 | ] 27 | 28 | [tool.poetry.dependencies] 29 | python = "^3.10" 30 | python-decotools = "*" 31 | 32 | [build-system] 33 | requires = ["poetry-core"] 34 | build-backend = "poetry.core.masonry.api" 35 | 36 | [[tool.poetry.packages]] 37 | include = "retrytools" 38 | -------------------------------------------------------------------------------- /python-module/python-retrytools/readme.md: -------------------------------------------------------------------------------- 1 | # Python retry decorator. 2 | 3 | ## Installation 4 | 5 | You can install from [pypi](https://pypi.org/project/python3-retry/) 6 | 7 | ```console 8 | pip install -U python3-retry 9 | ``` 10 | 11 | ## Usage 12 | 13 | ```python 14 | from retry0 import retry 15 | ``` 16 | -------------------------------------------------------------------------------- /python-module/python-retrytools/retrytools/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-module/python-retrytools/retrytools/py.typed -------------------------------------------------------------------------------- /python-module/python-reverse-proxy/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2024 ChenyangGao 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /python-module/python-reverse-proxy/readme.md: -------------------------------------------------------------------------------- 1 | # Python reverse proxy. 2 | 3 | ## 安装 4 | 5 | 你可以从 [pypi](https://pypi.org/project/python-reverse-proxy/) 安装 6 | 7 | ```console 8 | pip install -U python-reverse-proxy 9 | ``` 10 | 11 | ## 用法 12 | 13 | ### 作为模块使用 14 | 15 | ```python 16 | from reverse_proxy import make_application 17 | ``` 18 | 19 | ### 命令行使用 20 | 21 | ```console 22 | $ proxy -h 23 | usage: reverse_proxy [-h] [-H HOST] [-P PORT] [-m {,r,w,rw}] [-d] [-c CONFIG] [-v] [base-url] 24 | 25 | 🌍🚢 python 反向代理服务 🕷️🕸️ 26 | 27 | positional arguments: 28 | base-url 被代理的服务的 base_url,默认值:'http://localhost' 29 | 30 | options: 31 | -h, --help show this help message and exit 32 | -H HOST, --host HOST ip 或 hostname,默认值:'0.0.0.0' 33 | -P PORT, --port PORT 端口号,默认值:8888,如果为 0 则自动确定 34 | -m {,r,w,rw}, --ws-mode {,r,w,rw} 35 | websocket 的读写模式,'r' 为可读,'w' 为可写 36 | -d, --debug 启用 debug 模式(会输出更详细的信息) 37 | -c CONFIG, --config CONFIG 38 | 将被作为 JSON 解析然后作为关键字参数传给 `uvicorn.run` 39 | -v, --version 输出版本号 40 | ``` 41 | -------------------------------------------------------------------------------- /python-module/python-reverse-proxy/reverse_proxy/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-module/python-reverse-proxy/reverse_proxy/py.typed -------------------------------------------------------------------------------- /python-module/python-sqlitedict/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2024 ChenyangGao 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /python-module/python-sqlitedict/readme.md: -------------------------------------------------------------------------------- 1 | # Python sqlite3 dict-like. 2 | 3 | ## Installation 4 | 5 | You can install via [pypi](https://pypi.org/project/python-sqlitedict/) 6 | 7 | ```console 8 | pip install -U python-sqlitedict 9 | ``` 10 | 11 | ## Usage 12 | 13 | ```python 14 | from sqlitedict import SqliteDict, SqliteTableDict 15 | ``` 16 | -------------------------------------------------------------------------------- /python-module/python-sqlitedict/sqlitedict/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-module/python-sqlitedict/sqlitedict/py.typed -------------------------------------------------------------------------------- /python-module/python-startfile/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2024 ChenyangGao 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /python-module/python-startfile/pyproject.toml: -------------------------------------------------------------------------------- 1 | [tool.poetry] 2 | name = "python-startfile" 3 | version = "0.0.2" 4 | description = "Python startfile." 5 | authors = ["ChenyangGao "] 6 | license = "MIT" 7 | readme = "readme.md" 8 | homepage = "https://github.com/ChenyangGao/web-mount-packs/tree/main/python-module/python-startfile" 9 | repository = "https://github.com/ChenyangGao/web-mount-packs/tree/main/python-module/python-startfile" 10 | keywords = ["startfile"] 11 | classifiers = [ 12 | "License :: OSI Approved :: MIT License", 13 | "Development Status :: 5 - Production/Stable", 14 | "Programming Language :: Python", 15 | "Operating System :: OS Independent", 16 | "Intended Audience :: Developers", 17 | "Topic :: Software Development", 18 | "Topic :: Software Development :: Libraries", 19 | "Topic :: Software Development :: Libraries :: Python Modules", 20 | ] 21 | include = [ 22 | "LICENSE", 23 | ] 24 | 25 | [tool.poetry.scripts] 26 | python-startfile = "startfile.__main__:main" 27 | startfile = "startfile.__main__:main" 28 | 29 | [build-system] 30 | requires = ["poetry-core"] 31 | build-backend = "poetry.core.masonry.api" 32 | 33 | [[tool.poetry.packages]] 34 | include = "startfile" 35 | -------------------------------------------------------------------------------- /python-module/python-startfile/readme.md: -------------------------------------------------------------------------------- 1 | # Python startfile. 2 | 3 | ## Installation 4 | 5 | You can install via [pypi](https://pypi.org/project/python-startfile/) 6 | 7 | ```console 8 | pip install -U python-startfile 9 | ``` 10 | 11 | ## Usage 12 | 13 | ### Module 14 | 15 | ```python 16 | >>> from startfile import startfile, startfile_async 17 | ``` 18 | 19 | ### Commad 20 | 21 | ```console 22 | $ startfile -h 23 | usage: startfile.py [-h] [-v] [path ...] 24 | 25 | Start file(s) with its/their associated application. 26 | 27 | positional arguments: 28 | path paths to files or directories 29 | 30 | options: 31 | -h, --help show this help message and exit 32 | -v, --version print the current version 33 | ``` 34 | -------------------------------------------------------------------------------- /python-module/python-startfile/startfile/__main__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | # coding: utf-8 3 | 4 | __author__ = "ChenyangGao " 5 | 6 | from argparse import ArgumentParser, RawTextHelpFormatter 7 | 8 | from . import startfile, __version__ 9 | 10 | def main(): 11 | parser = ArgumentParser( 12 | description="Start file(s) with its/their associated application.", 13 | formatter_class=RawTextHelpFormatter, 14 | ) 15 | parser.add_argument("paths", metavar="path", nargs="*", help="path to file or directory") 16 | parser.add_argument("-v", "--version", action="store_true", help="print the current version") 17 | 18 | args = parser.parse_args() 19 | if args.version: 20 | print(".".join(map(str, __version__))) 21 | raise SystemExit(0) 22 | paths = args.paths 23 | if not paths: 24 | parser.parse_args(["-h"]) 25 | 26 | for path in paths: 27 | startfile(path) 28 | 29 | if __name__ == "__main__": 30 | main() 31 | -------------------------------------------------------------------------------- /python-module/python-texttools/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2024 ChenyangGao 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /python-module/python-texttools/pyproject.toml: -------------------------------------------------------------------------------- 1 | [tool.poetry] 2 | name = "python-texttools" 3 | version = "0.0.4" 4 | description = "Python texttools." 5 | authors = ["ChenyangGao "] 6 | license = "MIT" 7 | readme = "readme.md" 8 | homepage = "https://github.com/ChenyangGao/web-mount-packs/tree/main/python-module/python-texttools" 9 | repository = "https://github.com/ChenyangGao/web-mount-packs/tree/main/python-module/python-texttools" 10 | keywords = ["text", "tools"] 11 | classifiers = [ 12 | "License :: OSI Approved :: MIT License", 13 | "Development Status :: 5 - Production/Stable", 14 | "Programming Language :: Python", 15 | "Programming Language :: Python :: 3", 16 | "Programming Language :: Python :: 3.10", 17 | "Programming Language :: Python :: 3 :: Only", 18 | "Operating System :: OS Independent", 19 | "Intended Audience :: Developers", 20 | "Topic :: Software Development", 21 | "Topic :: Software Development :: Libraries", 22 | "Topic :: Software Development :: Libraries :: Python Modules", 23 | ] 24 | include = [ 25 | "LICENSE", 26 | ] 27 | 28 | [tool.poetry.dependencies] 29 | python = "^3.10" 30 | wcwidth = "*" 31 | 32 | [build-system] 33 | requires = ["poetry-core"] 34 | build-backend = "poetry.core.masonry.api" 35 | 36 | [[tool.poetry.packages]] 37 | include = "texttools" 38 | -------------------------------------------------------------------------------- /python-module/python-texttools/readme.md: -------------------------------------------------------------------------------- 1 | # Python texttools. 2 | 3 | ## Installation 4 | 5 | You can install via [pypi](https://pypi.org/project/python-texttools/) 6 | 7 | ```console 8 | pip install -U python-texttools 9 | ``` 10 | 11 | ## Usage 12 | 13 | ```python 14 | import texttools 15 | ``` 16 | -------------------------------------------------------------------------------- /python-module/python-texttools/texttools/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | # encoding: utf-8 3 | 4 | __author__ = "ChenyangGao " 5 | __version__ = (0, 0, 4) 6 | 7 | from .format import * 8 | from .half_width import * 9 | from .text import * 10 | from .text_cycle import * 11 | from .text_find import * 12 | from .text_format import * 13 | -------------------------------------------------------------------------------- /python-module/python-texttools/texttools/half_width.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | # encoding: utf-8 3 | 4 | __author__ = "ChenyangGao " 5 | __all__ = ["half_width", "full_width"] 6 | 7 | from typing import Final 8 | 9 | 10 | TRANSMAP_HALF2FULL: Final = {i: i + 65248 for i in range(33, 127)} 11 | TRANSMAP_HALF2FULL[32] = 12288 12 | TRANSMAP_FULL2HALF: Final = {v: k for k, v in TRANSMAP_HALF2FULL.items()} 13 | 14 | 15 | def half_width(string: str, /) -> str: 16 | return string.translate(TRANSMAP_FULL2HALF) 17 | 18 | 19 | def full_width(string: str, /) -> str: 20 | return string.translate(TRANSMAP_HALF2FULL) 21 | 22 | -------------------------------------------------------------------------------- /python-module/python-texttools/texttools/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-module/python-texttools/texttools/py.typed -------------------------------------------------------------------------------- /python-module/python-texttools/texttools/text_format.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | # encoding: utf-8 3 | 4 | __author__ = "ChenyangGao " 5 | __all__ = ["format_bytes"] 6 | 7 | 8 | def format_bytes( 9 | n: int, 10 | /, 11 | unit: str = "", 12 | precision: int = 2, 13 | ) -> str: 14 | "scale bytes to its proper byte format" 15 | if unit == "B" or not unit and n < 1024: 16 | return f"{n} B" 17 | b = 1 18 | b2 = 1024 19 | for u in ["K", "M", "G", "T", "P", "E", "Z", "Y"]: 20 | b, b2 = b2, b2 << 10 21 | if u == unit if unit else n < b2: 22 | break 23 | return f"%.{precision}f {u}B" % (n / b) 24 | 25 | -------------------------------------------------------------------------------- /python-module/python-treedir/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2024 ChenyangGao 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /python-module/python-treedir/treedir/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-module/python-treedir/treedir/py.typed -------------------------------------------------------------------------------- /python-module/python-undefined/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2024 ChenyangGao 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /python-module/python-undefined/pyproject.toml: -------------------------------------------------------------------------------- 1 | [tool.poetry] 2 | name = "python-undefined" 3 | version = "0.0.3" 4 | description = "Python undefined type." 5 | authors = ["ChenyangGao "] 6 | license = "MIT" 7 | readme = "readme.md" 8 | homepage = "https://github.com/ChenyangGao/web-mount-packs/tree/main/python-module/python-undefined" 9 | repository = "https://github.com/ChenyangGao/web-mount-packs/tree/main/python-module/python-undefined" 10 | keywords = ["undefined"] 11 | classifiers = [ 12 | "License :: OSI Approved :: MIT License", 13 | "Development Status :: 5 - Production/Stable", 14 | "Programming Language :: Python", 15 | "Programming Language :: Python :: 3", 16 | "Programming Language :: Python :: 3.11", 17 | "Programming Language :: Python :: 3 :: Only", 18 | "Operating System :: OS Independent", 19 | "Intended Audience :: Developers", 20 | "Topic :: Software Development", 21 | "Topic :: Software Development :: Libraries", 22 | "Topic :: Software Development :: Libraries :: Python Modules", 23 | ] 24 | include = [ 25 | "LICENSE", 26 | ] 27 | 28 | [tool.poetry.dependencies] 29 | python = "^3.11" 30 | 31 | [build-system] 32 | requires = ["poetry-core"] 33 | build-backend = "poetry.core.masonry.api" 34 | 35 | [[tool.poetry.packages]] 36 | include = "undefined" 37 | -------------------------------------------------------------------------------- /python-module/python-undefined/readme.md: -------------------------------------------------------------------------------- 1 | # Python undefined type. 2 | 3 | ## Installation 4 | 5 | You can install from [pypi](https://pypi.org/project/python-undefined/) 6 | 7 | ```console 8 | pip install -U python-undefined 9 | ``` 10 | 11 | ## Usage 12 | 13 | ```python 14 | from undefined import undefined, Undefined 15 | ``` 16 | -------------------------------------------------------------------------------- /python-module/python-undefined/undefined/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | # coding: utf-8 3 | 4 | from __future__ import annotations 5 | 6 | __author__ = "ChenyangGao " 7 | __version__ = (0, 0, 3) 8 | __all__ = ["Undefined", "undefined"] 9 | 10 | from typing import final, Never, Self 11 | 12 | 13 | class Undefined: 14 | """Just like `None` and `NoneType`, which are used to mark missing values. 15 | """ 16 | __slots__: tuple[str, ...] = () 17 | __instance__: Self 18 | 19 | def __new__(cls, /) -> Self: 20 | try: 21 | return cls.__dict__["__instance__"] 22 | except KeyError: 23 | inst = cls.__instance__ = super().__new__(cls) 24 | return inst 25 | 26 | __bool__ = staticmethod(lambda: False) 27 | __eq__ = lambda self, other, /: self is other or NotImplemented 28 | __hash__ = staticmethod(lambda: 0) # type: ignore 29 | __repr__ = staticmethod(lambda: "undefined") # type: ignore 30 | 31 | 32 | undefined = Undefined() 33 | 34 | -------------------------------------------------------------------------------- /python-module/python-undefined/undefined/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-module/python-undefined/undefined/py.typed -------------------------------------------------------------------------------- /python-module/python-urlopen/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2024 ChenyangGao 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /python-module/python-urlopen/readme.md: -------------------------------------------------------------------------------- 1 | # Python urlopen wrapper. 2 | 3 | ## Installation 4 | 5 | You can install via [pypi](https://pypi.org/project/python-urlopen/) 6 | 7 | ```console 8 | pip install -U python-urlopen 9 | ``` 10 | 11 | ## Usage 12 | 13 | ### Module 14 | 15 | ```python 16 | from urlopen import urlopen 17 | ``` 18 | 19 | ### Command 20 | 21 | ```console 22 | $ python -m urlopen -h 23 | usage: __main__.py [-h] [-d SAVEDIR] [-r] [-hs HEADERS] [-v] [url ...] 24 | 25 | python url downloader 26 | 27 | positional arguments: 28 | url URL(s) to be downloaded (one URL per line), if omitted, read from stdin 29 | 30 | options: 31 | -h, --help show this help message and exit 32 | -d SAVEDIR, --savedir SAVEDIR 33 | directory to the downloading files 34 | -r, --resume skip downloaded data 35 | -hs HEADERS, --headers HEADERS 36 | dictionary of HTTP Headers to send with 37 | -v, --version print the current version 38 | ``` 39 | 40 | -------------------------------------------------------------------------------- /python-module/python-urlopen/urlopen/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-module/python-urlopen/urlopen/py.typed -------------------------------------------------------------------------------- /python-module/requests_request/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2024 ChenyangGao 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /python-module/requests_request/pyproject.toml: -------------------------------------------------------------------------------- 1 | [tool.poetry] 2 | name = "requests_request" 3 | version = "0.0.6" 4 | description = "requests request extension." 5 | authors = ["ChenyangGao "] 6 | license = "MIT" 7 | readme = "readme.md" 8 | homepage = "https://github.com/ChenyangGao/web-mount-packs/tree/main/python-module/requests_request" 9 | repository = "https://github.com/ChenyangGao/web-mount-packs/tree/main/python-module/requests_request" 10 | keywords = ["requests", "request"] 11 | classifiers = [ 12 | "License :: OSI Approved :: MIT License", 13 | "Development Status :: 5 - Production/Stable", 14 | "Programming Language :: Python", 15 | "Programming Language :: Python :: 3", 16 | "Programming Language :: Python :: 3.10", 17 | "Programming Language :: Python :: 3 :: Only", 18 | "Operating System :: OS Independent", 19 | "Intended Audience :: Developers", 20 | "Topic :: Software Development", 21 | "Topic :: Software Development :: Libraries", 22 | "Topic :: Software Development :: Libraries :: Python Modules", 23 | ] 24 | include = [ 25 | "LICENSE", 26 | ] 27 | 28 | [tool.poetry.dependencies] 29 | python = "^3.10" 30 | requests = "*" 31 | python-argtools = "*" 32 | 33 | [build-system] 34 | requires = ["poetry-core"] 35 | build-backend = "poetry.core.masonry.api" 36 | 37 | [[tool.poetry.packages]] 38 | include = "requests_request" 39 | -------------------------------------------------------------------------------- /python-module/requests_request/readme.md: -------------------------------------------------------------------------------- 1 | # requests request extension. 2 | 3 | ## Installation 4 | 5 | You can install via [pypi](https://pypi.org/project/requests_request/) 6 | 7 | ```console 8 | pip install -U requests_request 9 | ``` 10 | 11 | ## Usage 12 | 13 | ```python 14 | from requests_request import request 15 | ``` 16 | -------------------------------------------------------------------------------- /python-module/requests_request/requests_request/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-module/requests_request/requests_request/py.typed -------------------------------------------------------------------------------- /python-module/sqlite_logger/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2024 ChenyangGao 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /python-module/sqlite_logger/pyproject.toml: -------------------------------------------------------------------------------- 1 | [tool.poetry] 2 | name = "sqlite_logger" 3 | version = "0.0.1" 4 | description = "Write logs to SQLite db file." 5 | authors = ["ChenyangGao "] 6 | license = "MIT" 7 | readme = "readme.md" 8 | homepage = "https://github.com/ChenyangGao/web-mount-packs/tree/main/python-module/sqlite_logger" 9 | repository = "https://github.com/ChenyangGao/web-mount-packs/tree/main/python-module/sqlite_logger" 10 | keywords = ["sqlite", "logger"] 11 | classifiers = [ 12 | "License :: OSI Approved :: MIT License", 13 | "Development Status :: 5 - Production/Stable", 14 | "Programming Language :: Python", 15 | "Programming Language :: Python :: 3", 16 | "Programming Language :: Python :: 3.12", 17 | "Programming Language :: Python :: 3 :: Only", 18 | "Operating System :: OS Independent", 19 | "Intended Audience :: Developers", 20 | "Topic :: Software Development", 21 | "Topic :: Software Development :: Libraries", 22 | "Topic :: Software Development :: Libraries :: Python Modules", 23 | ] 24 | include = [ 25 | "LICENSE", 26 | ] 27 | 28 | [tool.poetry.dependencies] 29 | python = "^3.12" 30 | 31 | [build-system] 32 | requires = ["poetry-core"] 33 | build-backend = "poetry.core.masonry.api" 34 | 35 | [[tool.poetry.packages]] 36 | include = "sqlite_logger" 37 | -------------------------------------------------------------------------------- /python-module/sqlite_logger/readme.md: -------------------------------------------------------------------------------- 1 | # Write logs to SQLite db file. 2 | 3 | ## Installation 4 | 5 | You can install via [pypi](https://pypi.org/project/sqlite_logger/) 6 | 7 | ```console 8 | pip install -U sqlite_logger 9 | ``` 10 | 11 | ## Usage 12 | 13 | ```python 14 | from sqlite_logger import setup_logger 15 | 16 | logger, handler = setup_logger() 17 | ``` 18 | -------------------------------------------------------------------------------- /python-module/sqlite_logger/sqlite_logger/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-module/sqlite_logger/sqlite_logger/py.typed -------------------------------------------------------------------------------- /python-module/sqlitetools/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2024 ChenyangGao 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /python-module/sqlitetools/pyproject.toml: -------------------------------------------------------------------------------- 1 | [tool.poetry] 2 | name = "sqlitetools" 3 | version = "0.0.3.2" 4 | description = "Python sqlite3 tools." 5 | authors = ["ChenyangGao "] 6 | license = "MIT" 7 | readme = "readme.md" 8 | homepage = "https://github.com/ChenyangGao/web-mount-packs/tree/main/python-module/sqlitetools" 9 | repository = "https://github.com/ChenyangGao/web-mount-packs/tree/main/python-module/sqlitetools" 10 | keywords = ["sqlite3", "tools"] 11 | classifiers = [ 12 | "License :: OSI Approved :: MIT License", 13 | "Development Status :: 5 - Production/Stable", 14 | "Programming Language :: Python", 15 | "Programming Language :: Python :: 3", 16 | "Programming Language :: Python :: 3.12", 17 | "Programming Language :: Python :: 3 :: Only", 18 | "Operating System :: OS Independent", 19 | "Intended Audience :: Developers", 20 | "Topic :: Software Development", 21 | "Topic :: Software Development :: Libraries", 22 | "Topic :: Software Development :: Libraries :: Python Modules", 23 | ] 24 | include = [ 25 | "LICENSE", 26 | ] 27 | 28 | [tool.poetry.dependencies] 29 | python = "^3.12" 30 | 31 | [build-system] 32 | requires = ["poetry-core"] 33 | build-backend = "poetry.core.masonry.api" 34 | 35 | [[tool.poetry.packages]] 36 | include = "sqlitetools" 37 | -------------------------------------------------------------------------------- /python-module/sqlitetools/readme.md: -------------------------------------------------------------------------------- 1 | # Python sqlite3 tools. 2 | 3 | ## Installation 4 | 5 | You can install via [pypi](https://pypi.org/project/sqlitetools/) 6 | 7 | ```console 8 | pip install -U sqlitetools 9 | ``` 10 | 11 | ## Usage 12 | 13 | ```python 14 | import sqlitetools 15 | ``` 16 | -------------------------------------------------------------------------------- /python-module/sqlitetools/sqlitetools/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-module/sqlitetools/sqlitetools/py.typed -------------------------------------------------------------------------------- /python-module/statsdir/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2024 ChenyangGao 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /python-module/statsdir/statsdir/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-module/statsdir/statsdir/py.typed -------------------------------------------------------------------------------- /python-module/temp/bracket_pattern/bracket_pattern/__init__.py: -------------------------------------------------------------------------------- 1 | __version__ = (0, 0, 4) 2 | __all__ = ['translate', 'compile', 'make_repl', 'replace', 'BracketTemplate'] 3 | 4 | from .bracket_pattern import translate, compile 5 | from .bracket_replace import make_repl, replace 6 | from .bracket_template import BracketTemplate 7 | 8 | -------------------------------------------------------------------------------- /python-module/temp/bracket_pattern/bracket_pattern/bracket_replace.py: -------------------------------------------------------------------------------- 1 | __all__ = ['make_repl', 'replace'] 2 | 3 | from re import Match, Pattern 4 | from string import Template 5 | from typing import Callable, Mapping, Union 6 | 7 | from .bracket_pattern import compile 8 | from .bracket_template import BracketTemplate 9 | from .make_repl import make_repl_using_template 10 | 11 | 12 | def make_repl( 13 | template: Union[str, Template], 14 | extra: Mapping = {}, 15 | safe: bool = False, 16 | ): 17 | '''`template`中至少可以引用这些名字 18 | _i 19 | 代表这是第几个匹配,从 1 开始计数 20 | _0 21 | 代表当前所匹配到的字符串整体 22 | _1, _2, ..., _n 23 | 代表当前匹配中的索引是 n 的捕获组,从 1 开始计数 24 | name 25 | 代表当前匹配中的名称是 name 的捕获组 26 | ''' 27 | if isinstance(template, str): 28 | template = BracketTemplate(template) 29 | return make_repl_using_template(template, extra, safe) 30 | 31 | 32 | def replace( 33 | pattern: Union[str, Pattern], 34 | repl: Union[str, Template, Callable[[Match], str]], 35 | string: str, 36 | count: int = 0, 37 | ) -> str: 38 | if isinstance(pattern, str): 39 | pattern = compile(pattern) 40 | if not callable(repl): 41 | repl = make_repl(repl) 42 | return pattern.sub(repl, string, count) 43 | 44 | -------------------------------------------------------------------------------- /python-module/temp/bracket_pattern/bracket_pattern/bracket_template.py: -------------------------------------------------------------------------------- 1 | __all__ = ['BracketTemplate'] 2 | 3 | from string import Template 4 | 5 | 6 | class BracketTemplate(Template): 7 | flags = 0 8 | pattern = '\[(?P[^\d\W]\w*)\]' 9 | 10 | -------------------------------------------------------------------------------- /python-module/temp/bracket_pattern/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-module/temp/bracket_pattern/py.typed -------------------------------------------------------------------------------- /python-module/temp/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-module/temp/py.typed -------------------------------------------------------------------------------- /python-module/temp/python-agg/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-module/temp/python-agg/py.typed -------------------------------------------------------------------------------- /python-module/temp/python-ensure/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-module/temp/python-ensure/py.typed -------------------------------------------------------------------------------- /python-module/temp/python-exctools/exctools/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | # coding: utf-8 3 | 4 | __author__ = "ChenyangGao " 5 | __version__ = (0, 0, 1) 6 | 7 | from .traceback import * 8 | -------------------------------------------------------------------------------- /python-module/temp/python-exctools/exctools/traceback.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | # coding: utf-8 3 | 4 | __author__ = "ChenyangGao " 5 | __all__ = ["get_traceback_exceptipn", "get_traceback_string"] 6 | 7 | from sys import exc_info 8 | from traceback import TracebackException 9 | 10 | 11 | def get_traceback_exceptipn(exc=None): 12 | if exc is None: 13 | return TracebackException(*exc_info()) 14 | return TracebackException(type(exc), exc, exc.__traceback__) 15 | 16 | 17 | def get_traceback_string(exc=None): 18 | tb_exc = get_traceback_exceptipn(exc) 19 | return "".join(tb_exc.format()) 20 | 21 | -------------------------------------------------------------------------------- /python-module/temp/python-fp/fp/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-module/temp/python-fp/fp/py.typed -------------------------------------------------------------------------------- /python-module/temp/python-function/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2024 ChenyangGao 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /python-module/temp/python-function/function/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-module/temp/python-function/function/py.typed -------------------------------------------------------------------------------- /python-module/temp/python-function/placehold.py: -------------------------------------------------------------------------------- 1 | __all__ = ['_', 'PLACE_HOLDER', 'PlaceHold'] 2 | 3 | 4 | _ = PLACE_HOLDER = type('PLACE_HOLDER', (), {'__repr__': lambda self: '_'})() 5 | 6 | 7 | class PlaceHold: 8 | 9 | __slots__ = ('fn', 'args') 10 | 11 | def __init__(self, fn, args=()): 12 | self.fn = fn 13 | self.args = tuple(args) 14 | 15 | def __call__(self, *args): 16 | iargs = iter(args) 17 | fn, args = self.fn, self.args 18 | args = [next(iargs, a) if a is PLACE_HOLDER else a 19 | for a in args] 20 | args.extend(iargs) 21 | if any(map(lambda x: x is PLACE_HOLDER, args)): 22 | return type(self)(fn, args) 23 | else: 24 | return fn(*args) 25 | 26 | def __repr__(self): 27 | fn = self.fn 28 | fn_name = getattr(fn, '__qualname__', getattr(fn, '__name__', repr(fn))) 29 | return f"{fn_name}{self.args}" 30 | 31 | -------------------------------------------------------------------------------- /python-module/temp/python-function/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-module/temp/python-function/py.typed -------------------------------------------------------------------------------- /python-module/temp/python-function/pyproject.toml: -------------------------------------------------------------------------------- 1 | [tool.poetry] 2 | name = "python-function" 3 | version = "0.0.2" 4 | description = "Python yet another functools." 5 | authors = ["ChenyangGao "] 6 | license = "MIT" 7 | readme = "readme.md" 8 | homepage = "https://github.com/ChenyangGao/web-mount-packs/tree/main/python-module/python-function" 9 | repository = "https://github.com/ChenyangGao/web-mount-packs/tree/main/python-module/python-function" 10 | keywords = ["file", "reverse", "iter"] 11 | classifiers = [ 12 | "License :: OSI Approved :: MIT License", 13 | "Development Status :: 5 - Production/Stable", 14 | "Programming Language :: Python", 15 | "Programming Language :: Python :: 3", 16 | "Programming Language :: Python :: 3.10", 17 | "Programming Language :: Python :: 3 :: Only", 18 | "Operating System :: OS Independent", 19 | "Intended Audience :: Developers", 20 | "Topic :: Software Development", 21 | "Topic :: Software Development :: Libraries", 22 | "Topic :: Software Development :: Libraries :: Python Modules", 23 | ] 24 | include = [ 25 | "LICENSE", 26 | ] 27 | 28 | [tool.poetry.dependencies] 29 | python = "^3.10" 30 | 31 | [build-system] 32 | requires = ["poetry-core"] 33 | build-backend = "poetry.core.masonry.api" 34 | 35 | [[tool.poetry.packages]] 36 | include = "function" 37 | -------------------------------------------------------------------------------- /python-module/temp/python-function/readme.md: -------------------------------------------------------------------------------- 1 | # Python yet another functools. 2 | 3 | ## Installation 4 | 5 | You can install from [pypi](https://pypi.org/project/python-function/) 6 | 7 | ```console 8 | pip install -U python-function 9 | ``` 10 | 11 | ## Usage 12 | 13 | ```python 14 | import function 15 | ``` 16 | -------------------------------------------------------------------------------- /python-module/temp/python-genagg/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-module/temp/python-genagg/py.typed -------------------------------------------------------------------------------- /python-module/temp/python-iterator/iterator/__init__.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | # coding: utf-8 3 | 4 | __author__ = "ChenyangGao " 5 | __version__ = (0, 0, 1) 6 | __all__ = ["iterable", "mapf", "map_prod", "unzip"] 7 | 8 | from collections.abc import AsyncIterable, Callable, Iterable, Iterator 9 | from itertools import product 10 | from typing import Any, TypeVar 11 | 12 | 13 | T = TypeVar("T") 14 | 15 | 16 | def mapf(it: Iterable[T], /, *fns: Callable[[T], Any]) -> Iterator[tuple]: 17 | return (tuple(f(v) for f in fns) for v in it) 18 | 19 | 20 | def map_prod(f, /, *its, ignore_types=(bytes, str)): 21 | if not its: 22 | return f() 23 | for args in product(*(it if isinstance(it, Iterable) and not isinstance(it, ignore_types) else (it,) for it in its)): 24 | yield f(*args) 25 | 26 | 27 | def unzip(iterable): 28 | return zip(*iterable) 29 | 30 | -------------------------------------------------------------------------------- /python-module/temp/python-iterator/iterator/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-module/temp/python-iterator/iterator/py.typed -------------------------------------------------------------------------------- /python-module/temp/python-pathtools/pathtools/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-module/temp/python-pathtools/pathtools/py.typed -------------------------------------------------------------------------------- /python-module/temp/python-pipe/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-module/temp/python-pipe/py.typed -------------------------------------------------------------------------------- /python-module/temp/python-register/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-module/temp/python-register/py.typed -------------------------------------------------------------------------------- /python-module/temp/python-register/register/__init__.py: -------------------------------------------------------------------------------- 1 | from .exceptions import * 2 | from .register import * 3 | from .registry import * 4 | -------------------------------------------------------------------------------- /python-module/temp/python-register/register/exceptions.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | # coding: utf-8 3 | 4 | __author__ = 'ChenyangGao ' 5 | __version__ = (0, 0, 1) 6 | __all__ = ['AggregationException'] 7 | 8 | 9 | class AggregationException(Exception): 10 | pass 11 | 12 | -------------------------------------------------------------------------------- /python-module/temp/python-remote-open/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-module/temp/python-remote-open/py.typed -------------------------------------------------------------------------------- /python-module/temp/python-type/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-module/temp/python-type/py.typed -------------------------------------------------------------------------------- /python-module/temp/python-type/type.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | # coding: utf-8 3 | 4 | __author__ = "ChenyangGao " 5 | __version__ = (0, 0, 1) 6 | __all__ = ["is_nominal_subclass", "inst_hasattr", "is_buffer"] 7 | 8 | 9 | def is_nominal_subclass(cls, class_or_tuple, /): 10 | if isinstance(class_or_tuple, tuple): 11 | return cls in class_or_tuple.__mro__ 12 | else: 13 | return any(cls in b.__mro__ for b in class_or_tuple) 14 | 15 | 16 | def inst_hasattr(obj, attr): 17 | if isinstance(obj, type): 18 | return ( 19 | attr == "__dict__" or 20 | any(attr in b.__dict__ for b in obj.__mro__) 21 | ) 22 | if attr == "__dict__": 23 | return hasattr(obj, "__dict__") 24 | if hasattr(obj, "__dict__"): 25 | return attr in obj.__dict__ 26 | if hasattr(obj, "__slots__"): 27 | return attr in obj.__slots__ 28 | return False 29 | 30 | 31 | def is_buffer(obj): 32 | try: 33 | return ( 34 | isinstance(obj, (bytes, bytearray, memoryview)) or 35 | ( 36 | inst_hasattr(type(obj), '__getitem__') and 37 | inst_hasattr(type(obj), '__len__') and 38 | hasattr(obj, 'tobytes') 39 | ) 40 | ) 41 | except TypeError: 42 | return False 43 | 44 | -------------------------------------------------------------------------------- /python-module/temp/python-ufcs/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-module/temp/python-ufcs/py.typed -------------------------------------------------------------------------------- /python-module/temp/qbittorrent/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-module/temp/qbittorrent/py.typed -------------------------------------------------------------------------------- /python-module/torrent_tool/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2024 ChenyangGao 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /python-module/torrent_tool/torrent_tool/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-module/torrent_tool/torrent_tool/py.typed -------------------------------------------------------------------------------- /python-module/urllib3_request/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2024 ChenyangGao 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /python-module/urllib3_request/readme.md: -------------------------------------------------------------------------------- 1 | # urllib3 request extension. 2 | 3 | ## Installation 4 | 5 | You can install via [pypi](https://pypi.org/project/urllib3_request/) 6 | 7 | ```console 8 | pip install -U urllib3_request 9 | ``` 10 | 11 | ## Usage 12 | 13 | ```python 14 | from urllib3_request import request 15 | ``` 16 | -------------------------------------------------------------------------------- /python-module/urllib3_request/urllib3_request/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChenyangGao/web-mount-packs/877e61ab529ba092e8c30501431e8e0ed38042b1/python-module/urllib3_request/urllib3_request/py.typed -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- 1 | # web-mount-packs 2 | 3 | 提供多种与网盘挂载有关的工具 4 | --------------------------------------------------------------------------------