pymecli 0.3.8__tar.gz → 0.3.9__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pymecli-0.3.8 → pymecli-0.3.9}/PKG-INFO +1 -1
- pymecli-0.3.9/data/template.yaml +70 -0
- {pymecli-0.3.8 → pymecli-0.3.9}/pyproject.toml +1 -1
- pymecli-0.3.8/data/template.yaml +0 -116
- {pymecli-0.3.8 → pymecli-0.3.9}/.gitignore +0 -0
- {pymecli-0.3.8 → pymecli-0.3.9}/README.md +0 -0
- {pymecli-0.3.8 → pymecli-0.3.9}/api/__init__.py +0 -0
- {pymecli-0.3.8 → pymecli-0.3.9}/api/v1/__init__.py +0 -0
- {pymecli-0.3.8 → pymecli-0.3.9}/api/v1/clash.py +0 -0
- {pymecli-0.3.8 → pymecli-0.3.9}/api/v1/redis.py +0 -0
- {pymecli-0.3.8 → pymecli-0.3.9}/cli/__init__.py +0 -0
- {pymecli-0.3.8 → pymecli-0.3.9}/cli/baidu.py +0 -0
- {pymecli-0.3.8 → pymecli-0.3.9}/cli/bitget.py +0 -0
- {pymecli-0.3.8 → pymecli-0.3.9}/cli/example.py +0 -0
- {pymecli-0.3.8 → pymecli-0.3.9}/cli/fast.py +0 -0
- {pymecli-0.3.8 → pymecli-0.3.9}/cli/gate.py +0 -0
- {pymecli-0.3.8 → pymecli-0.3.9}/cli/redis_csv.py +0 -0
- {pymecli-0.3.8 → pymecli-0.3.9}/cli/util.py +0 -0
- {pymecli-0.3.8 → pymecli-0.3.9}/core/__init__.py +0 -0
- {pymecli-0.3.8 → pymecli-0.3.9}/core/clash.py +0 -0
- {pymecli-0.3.8 → pymecli-0.3.9}/core/config.py +0 -0
- {pymecli-0.3.8 → pymecli-0.3.9}/core/redis_client.py +0 -0
- {pymecli-0.3.8 → pymecli-0.3.9}/crypto/__init__.py +0 -0
- {pymecli-0.3.8 → pymecli-0.3.9}/crypto/bitget.py +0 -0
- {pymecli-0.3.8 → pymecli-0.3.9}/crypto/gate.py +0 -0
- {pymecli-0.3.8 → pymecli-0.3.9}/data/__init__.py +0 -0
- {pymecli-0.3.8 → pymecli-0.3.9}/data/dou_dict.py +0 -0
- {pymecli-0.3.8 → pymecli-0.3.9}/data/dou_list.py +0 -0
- {pymecli-0.3.8 → pymecli-0.3.9}/data/main.py +0 -0
- {pymecli-0.3.8 → pymecli-0.3.9}/models/__init__.py +0 -0
- {pymecli-0.3.8 → pymecli-0.3.9}/models/douzero_model.py +0 -0
- {pymecli-0.3.8 → pymecli-0.3.9}/models/ocr_model.py +0 -0
- {pymecli-0.3.8 → pymecli-0.3.9}/models/response.py +0 -0
- {pymecli-0.3.8 → pymecli-0.3.9}/utils/__init__.py +0 -0
- {pymecli-0.3.8 → pymecli-0.3.9}/utils/elapsed.py +0 -0
- {pymecli-0.3.8 → pymecli-0.3.9}/utils/helper.py +0 -0
- {pymecli-0.3.8 → pymecli-0.3.9}/utils/logger.py +0 -0
- {pymecli-0.3.8 → pymecli-0.3.9}/utils/mysql.py +0 -0
- {pymecli-0.3.8 → pymecli-0.3.9}/utils/path.py +0 -0
- {pymecli-0.3.8 → pymecli-0.3.9}/utils/pd.py +0 -0
- {pymecli-0.3.8 → pymecli-0.3.9}/utils/pyredis.py +0 -0
- {pymecli-0.3.8 → pymecli-0.3.9}/utils/sleep.py +0 -0
- {pymecli-0.3.8 → pymecli-0.3.9}/utils/text.py +0 -0
- {pymecli-0.3.8 → pymecli-0.3.9}/utils/toml.py +0 -0
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
mixed-port: 7897
|
|
2
|
+
allow-lan: false
|
|
3
|
+
mode: rule
|
|
4
|
+
log-level: warning
|
|
5
|
+
external-controller: "127.0.0.1:9097"
|
|
6
|
+
global-client-fingerprint: chrome
|
|
7
|
+
unified-delay: true
|
|
8
|
+
ipv6: false
|
|
9
|
+
profile:
|
|
10
|
+
store-selected: true
|
|
11
|
+
tun:
|
|
12
|
+
mtu: 1500
|
|
13
|
+
dns:
|
|
14
|
+
enable: true
|
|
15
|
+
listen: ":53"
|
|
16
|
+
enhanced-mode: "fake-ip"
|
|
17
|
+
fake-ip-range: "198.18.0.1/16"
|
|
18
|
+
fake-ip-filter-mode: "blacklist"
|
|
19
|
+
prefer-h3: false
|
|
20
|
+
respect-rules: false # 是否让 DNS 解析遵循路由规则
|
|
21
|
+
use-hosts: true # 启用本地 hosts
|
|
22
|
+
use-system-hosts: true # 启用系统 hosts
|
|
23
|
+
ipv6: true # 禁用 IPv6 DNS 解析
|
|
24
|
+
fake-ip-filter:
|
|
25
|
+
- "*.lan"
|
|
26
|
+
- "*.local"
|
|
27
|
+
- "*.arpa"
|
|
28
|
+
- "time.*.com"
|
|
29
|
+
- "ntp.*.com"
|
|
30
|
+
- "time.*.com"
|
|
31
|
+
- "+.market.xiaomi.com"
|
|
32
|
+
- "localhost.ptlogin2.qq.com"
|
|
33
|
+
- "*.msftncsi.com"
|
|
34
|
+
- "www.msftconnecttest.com"
|
|
35
|
+
- "ipv6.shuzilm.cn"
|
|
36
|
+
default-nameserver:
|
|
37
|
+
- "223.5.5.5" # 阿里云 DNS(国内)
|
|
38
|
+
- "8.8.8.8" # Google DNS(国外)
|
|
39
|
+
- "2400:3200::1" # 阿里云 IPv6 DNS
|
|
40
|
+
- "2001:4860:4860::8888" # Google IPv6 DNS
|
|
41
|
+
nameserver:
|
|
42
|
+
- "8.8.8.8" # Google DNS(UDP 协议)
|
|
43
|
+
- "https://doh.pub/dns-query" # 公共 DoH DNS(加密解析,防污染)
|
|
44
|
+
- "https://dns.alidns.com/dns-query" # 阿里云 DoH DNS(国内稳定)
|
|
45
|
+
fallback: []
|
|
46
|
+
fallback-filter:
|
|
47
|
+
geoip: true
|
|
48
|
+
geoip-code: "CN"
|
|
49
|
+
ipcidr:
|
|
50
|
+
- "240.0.0.0/4"
|
|
51
|
+
- "0.0.0.0/32"
|
|
52
|
+
domain:
|
|
53
|
+
- "+.google.com"
|
|
54
|
+
- "+.facebook.com"
|
|
55
|
+
- "+.youtube.com"
|
|
56
|
+
proxy-server-nameserver:
|
|
57
|
+
- "https://doh.pub/dns-query"
|
|
58
|
+
- "https://dns.alidns.com/dns-query"
|
|
59
|
+
- "tls://223.5.5.5"
|
|
60
|
+
direct-nameserver-follow-policy: false # 直连域名的 DNS 不遵循代理规则
|
|
61
|
+
direct-nameserver: []
|
|
62
|
+
external-controller-cors:
|
|
63
|
+
allow-private-network: true
|
|
64
|
+
allow-origins:
|
|
65
|
+
- "*"
|
|
66
|
+
proxies: []
|
|
67
|
+
proxy-providers: {}
|
|
68
|
+
proxy-groups: []
|
|
69
|
+
rule-providers: {}
|
|
70
|
+
rules: []
|
pymecli-0.3.8/data/template.yaml
DELETED
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
mixed-port: 7897
|
|
2
|
-
allow-lan: false
|
|
3
|
-
mode: rule
|
|
4
|
-
log-level: warning
|
|
5
|
-
external-controller: "127.0.0.1:9097"
|
|
6
|
-
global-client-fingerprint: chrome
|
|
7
|
-
unified-delay: true
|
|
8
|
-
ipv6: false
|
|
9
|
-
profile:
|
|
10
|
-
store-selected: true
|
|
11
|
-
tun:
|
|
12
|
-
mtu: 1500
|
|
13
|
-
dns:
|
|
14
|
-
enable: true
|
|
15
|
-
listen: ":53"
|
|
16
|
-
enhanced-mode: "fake-ip"
|
|
17
|
-
fake-ip-range: "198.18.0.1/16"
|
|
18
|
-
fake-ip-filter-mode: "blacklist"
|
|
19
|
-
prefer-h3: false
|
|
20
|
-
respect-rules: false
|
|
21
|
-
use-hosts: false
|
|
22
|
-
use-system-hosts: false
|
|
23
|
-
ipv6: false
|
|
24
|
-
cache-algorithm: arc
|
|
25
|
-
fake-ip-filter:
|
|
26
|
-
- "*.lan"
|
|
27
|
-
- "*.local"
|
|
28
|
-
- "*.arpa"
|
|
29
|
-
- "*.time.*"
|
|
30
|
-
- "*.ntp.*"
|
|
31
|
-
- "*.music.*"
|
|
32
|
-
- "*.msftncsi.com"
|
|
33
|
-
- "*.msftconnecttest.com"
|
|
34
|
-
- "+.market.xiaomi.com"
|
|
35
|
-
- "localhost.ptlogin2.qq.com"
|
|
36
|
-
- "stun.*"
|
|
37
|
-
- "*.srv.nintendo.net"
|
|
38
|
-
- "*.stun.playstation.net"
|
|
39
|
-
- "xbox.*.microsoft.com"
|
|
40
|
-
- "*.ipv6.microsoft.com"
|
|
41
|
-
- "*.xboxlive.com"
|
|
42
|
-
- "speedtest.cros.wr.pvp.net"
|
|
43
|
-
default-nameserver:
|
|
44
|
-
- "223.5.5.5"
|
|
45
|
-
- "119.29.29.29"
|
|
46
|
-
- "1.1.1.1"
|
|
47
|
-
- "8.8.8.8"
|
|
48
|
-
- "2400:3200::1"
|
|
49
|
-
- "2001:4860:4860::8888"
|
|
50
|
-
nameserver:
|
|
51
|
-
# 国内DNS服务器↓
|
|
52
|
-
- "https://dns.alidns.com/dns-query" # 阿里云公共DNS
|
|
53
|
-
- "https://doh.pub/dns-query" # 腾讯DNSPod
|
|
54
|
-
- "https://doh.360.cn/dns-query" # 360安全DNS
|
|
55
|
-
- "https://1.1.1.1/dns-query" # Cloudflare(主)
|
|
56
|
-
# 国外DNS服务器↓
|
|
57
|
-
- "https://1.0.0.1/dns-query" # Cloudflare(备)
|
|
58
|
-
- "https://208.67.222.222/dns-query" # OpenDNS(主)
|
|
59
|
-
- "https://208.67.220.220/dns-query" # OpenDNS(备)
|
|
60
|
-
- "https://194.242.2.2/dns-query" # Mullvad(主)
|
|
61
|
-
- "https://194.242.2.3/dns-query" # Mullvad(备)
|
|
62
|
-
direct-nameserver-follow-policy: false
|
|
63
|
-
fallback-filter:
|
|
64
|
-
geoip: true
|
|
65
|
-
geoip-code: "CN"
|
|
66
|
-
ipcidr:
|
|
67
|
-
- "240.0.0.0/4"
|
|
68
|
-
- "0.0.0.0/32"
|
|
69
|
-
- "127.0.0.1/32"
|
|
70
|
-
- "192.168.0.0/16"
|
|
71
|
-
- "10.0.0.0/8"
|
|
72
|
-
- "172.16.0.0/12"
|
|
73
|
-
domain:
|
|
74
|
-
- "+.google.com"
|
|
75
|
-
- "+.facebook.com"
|
|
76
|
-
- "+.twitter.com"
|
|
77
|
-
- "+.youtube.com"
|
|
78
|
-
- "+.googleapis.com"
|
|
79
|
-
- "+.gvt1.com"
|
|
80
|
-
fallback: []
|
|
81
|
-
proxy-server-nameserver:
|
|
82
|
-
# 国内DNS服务器↓
|
|
83
|
-
- "https://dns.alidns.com/dns-query" # 阿里云公共DNS
|
|
84
|
-
- "https://doh.pub/dns-query" # 腾讯DNSPod
|
|
85
|
-
- "https://doh.360.cn/dns-query" # 360安全DNS
|
|
86
|
-
# 国外DNS服务器↓
|
|
87
|
-
- "https://1.1.1.1/dns-query" # Cloudflare(主)
|
|
88
|
-
- "https://1.0.0.1/dns-query" # Cloudflare(备)
|
|
89
|
-
- "https://208.67.222.222/dns-query" # OpenDNS(主)
|
|
90
|
-
- "https://208.67.220.220/dns-query" # OpenDNS(备)
|
|
91
|
-
- "https://194.242.2.2/dns-query" # Mullvad(主)
|
|
92
|
-
- "https://194.242.2.3/dns-query" # Mullvad(备)
|
|
93
|
-
nameserver-policy:
|
|
94
|
-
"geosite:private,cn,geolocation-cn":
|
|
95
|
-
# 国内DNS服务器↓
|
|
96
|
-
- "https://dns.alidns.com/dns-query" # 阿里云公共DNS
|
|
97
|
-
- "https://doh.pub/dns-query" # 腾讯DNSPod
|
|
98
|
-
- "https://doh.360.cn/dns-query" # 360安全DNS
|
|
99
|
-
"geosite:google,youtube,telegram,gfw,geolocation-!cn":
|
|
100
|
-
# 国外DNS服务器↓
|
|
101
|
-
- "https://1.1.1.1/dns-query" # Cloudflare(主)
|
|
102
|
-
- "https://1.0.0.1/dns-query" # Cloudflare(备)
|
|
103
|
-
- "https://208.67.222.222/dns-query" # OpenDNS(主)
|
|
104
|
-
- "https://208.67.220.220/dns-query" # OpenDNS(备)
|
|
105
|
-
- "https://194.242.2.2/dns-query" # Mullvad(主)
|
|
106
|
-
- "https://194.242.2.3/dns-query" # Mullvad(备)
|
|
107
|
-
direct-nameserver: []
|
|
108
|
-
external-controller-cors:
|
|
109
|
-
allow-private-network: true
|
|
110
|
-
allow-origins:
|
|
111
|
-
- "*"
|
|
112
|
-
proxies: []
|
|
113
|
-
proxy-providers: {}
|
|
114
|
-
proxy-groups: []
|
|
115
|
-
rule-providers: {}
|
|
116
|
-
rules: []
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|