pymecli 0.4.0__tar.gz → 0.4.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. {pymecli-0.4.0 → pymecli-0.4.2}/PKG-INFO +1 -1
  2. {pymecli-0.4.0 → pymecli-0.4.2}/core/clash.py +4 -2
  3. {pymecli-0.4.0 → pymecli-0.4.2}/data/template.yaml +7 -2
  4. {pymecli-0.4.0 → pymecli-0.4.2}/pyproject.toml +1 -1
  5. {pymecli-0.4.0 → pymecli-0.4.2}/.gitignore +0 -0
  6. {pymecli-0.4.0 → pymecli-0.4.2}/README.md +0 -0
  7. {pymecli-0.4.0 → pymecli-0.4.2}/api/__init__.py +0 -0
  8. {pymecli-0.4.0 → pymecli-0.4.2}/api/v1/__init__.py +0 -0
  9. {pymecli-0.4.0 → pymecli-0.4.2}/api/v1/clash.py +0 -0
  10. {pymecli-0.4.0 → pymecli-0.4.2}/api/v1/redis.py +0 -0
  11. {pymecli-0.4.0 → pymecli-0.4.2}/cli/__init__.py +0 -0
  12. {pymecli-0.4.0 → pymecli-0.4.2}/cli/baidu.py +0 -0
  13. {pymecli-0.4.0 → pymecli-0.4.2}/cli/bitget.py +0 -0
  14. {pymecli-0.4.0 → pymecli-0.4.2}/cli/example.py +0 -0
  15. {pymecli-0.4.0 → pymecli-0.4.2}/cli/fast.py +0 -0
  16. {pymecli-0.4.0 → pymecli-0.4.2}/cli/gate.py +0 -0
  17. {pymecli-0.4.0 → pymecli-0.4.2}/cli/redis_csv.py +0 -0
  18. {pymecli-0.4.0 → pymecli-0.4.2}/cli/util.py +0 -0
  19. {pymecli-0.4.0 → pymecli-0.4.2}/core/__init__.py +0 -0
  20. {pymecli-0.4.0 → pymecli-0.4.2}/core/config.py +0 -0
  21. {pymecli-0.4.0 → pymecli-0.4.2}/core/redis_client.py +0 -0
  22. {pymecli-0.4.0 → pymecli-0.4.2}/crypto/__init__.py +0 -0
  23. {pymecli-0.4.0 → pymecli-0.4.2}/crypto/bitget.py +0 -0
  24. {pymecli-0.4.0 → pymecli-0.4.2}/crypto/gate.py +0 -0
  25. {pymecli-0.4.0 → pymecli-0.4.2}/data/__init__.py +0 -0
  26. {pymecli-0.4.0 → pymecli-0.4.2}/data/dou_dict.py +0 -0
  27. {pymecli-0.4.0 → pymecli-0.4.2}/data/dou_list.py +0 -0
  28. {pymecli-0.4.0 → pymecli-0.4.2}/data/main.py +0 -0
  29. {pymecli-0.4.0 → pymecli-0.4.2}/models/__init__.py +0 -0
  30. {pymecli-0.4.0 → pymecli-0.4.2}/models/douzero_model.py +0 -0
  31. {pymecli-0.4.0 → pymecli-0.4.2}/models/ocr_model.py +0 -0
  32. {pymecli-0.4.0 → pymecli-0.4.2}/models/response.py +0 -0
  33. {pymecli-0.4.0 → pymecli-0.4.2}/utils/__init__.py +0 -0
  34. {pymecli-0.4.0 → pymecli-0.4.2}/utils/elapsed.py +0 -0
  35. {pymecli-0.4.0 → pymecli-0.4.2}/utils/helper.py +0 -0
  36. {pymecli-0.4.0 → pymecli-0.4.2}/utils/logger.py +0 -0
  37. {pymecli-0.4.0 → pymecli-0.4.2}/utils/mysql.py +0 -0
  38. {pymecli-0.4.0 → pymecli-0.4.2}/utils/path.py +0 -0
  39. {pymecli-0.4.0 → pymecli-0.4.2}/utils/pd.py +0 -0
  40. {pymecli-0.4.0 → pymecli-0.4.2}/utils/pyredis.py +0 -0
  41. {pymecli-0.4.0 → pymecli-0.4.2}/utils/sleep.py +0 -0
  42. {pymecli-0.4.0 → pymecli-0.4.2}/utils/text.py +0 -0
  43. {pymecli-0.4.0 → pymecli-0.4.2}/utils/toml.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pymecli
3
- Version: 0.4.0
3
+ Version: 0.4.2
4
4
  Summary: My CLI
5
5
  Project-URL: Homepage, https://pypi.org/project/pymecli
6
6
  Project-URL: Repository, https://github.com/meme2046/pymecli
@@ -102,6 +102,10 @@ class ClashYamlGenerator:
102
102
  },
103
103
  )
104
104
 
105
+ template["rules"].append("DOMAIN,clash.razord.top,DIRECT")
106
+ template["rules"].append("DOMAIN,yacd.haishan.me,DIRECT")
107
+ template["rules"].append("DOMAIN-SUFFIX,kleientertainment.com,全局选择")
108
+ template["rules"].append("DOMAIN-SUFFIX,klei.com,全局选择")
105
109
  # 获取rules
106
110
  rule_list = [
107
111
  [f"{self.my_rule_base_url}/direct.yaml", "DIRECT"],
@@ -216,8 +220,6 @@ class ClashYamlGenerator:
216
220
  template["rules"].extend(
217
221
  [
218
222
  "RULE-SET,applications,DIRECT",
219
- "DOMAIN,clash.razord.top,DIRECT",
220
- "DOMAIN,yacd.haishan.me,DIRECT",
221
223
  "RULE-SET,private,DIRECT",
222
224
  "RULE-SET,icloud,DIRECT",
223
225
  "RULE-SET,apple,DIRECT",
@@ -3,7 +3,7 @@ allow-lan: false
3
3
  mode: rule
4
4
  log-level: warning
5
5
  external-controller: "127.0.0.1:9097"
6
- global-client-fingerprint: chrome
6
+ client-fingerprint: chrome
7
7
  unified-delay: true
8
8
  ipv6: false
9
9
  profile:
@@ -12,7 +12,7 @@ tun:
12
12
  mtu: 1500
13
13
  dns:
14
14
  enable: true
15
- listen: ":53"
15
+ listen: ":5353"
16
16
  enhanced-mode: "fake-ip"
17
17
  fake-ip-range: "198.18.0.1/16"
18
18
  fake-ip-filter-mode: "blacklist"
@@ -33,6 +33,11 @@ dns:
33
33
  - "*.msftncsi.com"
34
34
  - "www.msftconnecttest.com"
35
35
  - "ipv6.shuzilm.cn"
36
+ - "+.qq.com"
37
+ - "+.tgp.qq.com"
38
+ - "+.klei.com"
39
+ - "+.steamserver.net"
40
+ - "dontstarve_rail_x64.exe"
36
41
  default-nameserver: # 默认 DNS 服务器
37
42
  - "223.5.5.5" # 阿里云 DNS(国内)
38
43
  - "8.8.8.8" # Google DNS(国外)
@@ -30,7 +30,7 @@
30
30
  name = "pymecli"
31
31
  readme = "README.md"
32
32
  requires-python = ">=3.10"
33
- version = "0.4.0"
33
+ version = "0.4.2"
34
34
 
35
35
  [project.urls]
36
36
  Homepage = "https://pypi.org/project/pymecli"
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