Files
EZProxy/child/utils/__init__.py
2025-11-10 17:29:11 +08:00

56 lines
967 B
Python

"""
EZProxy Utilities Module
========================
工具函数模块,提供各种辅助功能
"""
# 导入工具函数
from .config_utils import (
init_config,
load_config,
save_config,
parse_vless_url,
generate_v2ray_config
)
from .system_utils import (
get_architecture,
get_v2ray_binary_path,
set_system_proxy,
get_temp_dir
)
from .network_utils import (
download_file,
fetch_json,
fetch_yaml,
check_connectivity,
get_public_ip
)
# 定义包的公开接口
__all__ = [
# 配置工具
'init_config',
'load_config',
'save_config',
'parse_vless_url',
'generate_v2ray_config',
# 系统工具
'get_architecture',
'get_v2ray_binary_path',
'set_system_proxy',
'get_temp_dir',
# 网络工具
'download_file',
'fetch_json',
'fetch_yaml',
'check_connectivity',
'get_public_ip'
]
# 包版本信息
__version__ = "1.0.0"