pymecli 0.3.6__tar.gz → 0.3.8__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.3.6 → pymecli-0.3.8}/PKG-INFO +1 -1
  2. {pymecli-0.3.6 → pymecli-0.3.8}/cli/bitget.py +2 -2
  3. {pymecli-0.3.6 → pymecli-0.3.8}/cli/fast.py +1 -1
  4. {pymecli-0.3.6 → pymecli-0.3.8}/cli/util.py +7 -1
  5. {pymecli-0.3.6 → pymecli-0.3.8}/data/template.yaml +1 -5
  6. {pymecli-0.3.6 → pymecli-0.3.8}/pyproject.toml +1 -1
  7. {pymecli-0.3.6 → pymecli-0.3.8}/.gitignore +0 -0
  8. {pymecli-0.3.6 → pymecli-0.3.8}/README.md +0 -0
  9. {pymecli-0.3.6 → pymecli-0.3.8}/api/__init__.py +0 -0
  10. {pymecli-0.3.6 → pymecli-0.3.8}/api/v1/__init__.py +0 -0
  11. {pymecli-0.3.6 → pymecli-0.3.8}/api/v1/clash.py +0 -0
  12. {pymecli-0.3.6 → pymecli-0.3.8}/api/v1/redis.py +0 -0
  13. {pymecli-0.3.6 → pymecli-0.3.8}/cli/__init__.py +0 -0
  14. {pymecli-0.3.6 → pymecli-0.3.8}/cli/baidu.py +0 -0
  15. {pymecli-0.3.6 → pymecli-0.3.8}/cli/example.py +0 -0
  16. {pymecli-0.3.6 → pymecli-0.3.8}/cli/gate.py +0 -0
  17. {pymecli-0.3.6 → pymecli-0.3.8}/cli/redis_csv.py +0 -0
  18. {pymecli-0.3.6 → pymecli-0.3.8}/core/__init__.py +0 -0
  19. {pymecli-0.3.6 → pymecli-0.3.8}/core/clash.py +0 -0
  20. {pymecli-0.3.6 → pymecli-0.3.8}/core/config.py +0 -0
  21. {pymecli-0.3.6 → pymecli-0.3.8}/core/redis_client.py +0 -0
  22. {pymecli-0.3.6 → pymecli-0.3.8}/crypto/__init__.py +0 -0
  23. {pymecli-0.3.6 → pymecli-0.3.8}/crypto/bitget.py +0 -0
  24. {pymecli-0.3.6 → pymecli-0.3.8}/crypto/gate.py +0 -0
  25. {pymecli-0.3.6 → pymecli-0.3.8}/data/__init__.py +0 -0
  26. {pymecli-0.3.6 → pymecli-0.3.8}/data/dou_dict.py +0 -0
  27. {pymecli-0.3.6 → pymecli-0.3.8}/data/dou_list.py +0 -0
  28. {pymecli-0.3.6 → pymecli-0.3.8}/data/main.py +0 -0
  29. {pymecli-0.3.6 → pymecli-0.3.8}/models/__init__.py +0 -0
  30. {pymecli-0.3.6 → pymecli-0.3.8}/models/douzero_model.py +0 -0
  31. {pymecli-0.3.6 → pymecli-0.3.8}/models/ocr_model.py +0 -0
  32. {pymecli-0.3.6 → pymecli-0.3.8}/models/response.py +0 -0
  33. {pymecli-0.3.6 → pymecli-0.3.8}/utils/__init__.py +0 -0
  34. {pymecli-0.3.6 → pymecli-0.3.8}/utils/elapsed.py +0 -0
  35. {pymecli-0.3.6 → pymecli-0.3.8}/utils/helper.py +0 -0
  36. {pymecli-0.3.6 → pymecli-0.3.8}/utils/logger.py +0 -0
  37. {pymecli-0.3.6 → pymecli-0.3.8}/utils/mysql.py +0 -0
  38. {pymecli-0.3.6 → pymecli-0.3.8}/utils/path.py +0 -0
  39. {pymecli-0.3.6 → pymecli-0.3.8}/utils/pd.py +0 -0
  40. {pymecli-0.3.6 → pymecli-0.3.8}/utils/pyredis.py +0 -0
  41. {pymecli-0.3.6 → pymecli-0.3.8}/utils/sleep.py +0 -0
  42. {pymecli-0.3.6 → pymecli-0.3.8}/utils/text.py +0 -0
  43. {pymecli-0.3.6 → pymecli-0.3.8}/utils/toml.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pymecli
3
- Version: 0.3.6
3
+ Version: 0.3.8
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
@@ -44,7 +44,7 @@ def sync(
44
44
  def spot(
45
45
  symbols: str,
46
46
  proxy: str = typer.Option(
47
- None, "--proxy", "-p", help="代理服务器地址,例如: http://127.0.0.1:7890"
47
+ None, "--proxy", "-p", help="代理服务器地址,例如: http://127.0.0.1:7897"
48
48
  ),
49
49
  ):
50
50
  """
@@ -60,7 +60,7 @@ def spot(
60
60
  def mix(
61
61
  symbols: str,
62
62
  proxy: str = typer.Option(
63
- None, "--proxy", "-p", help="代理服务器地址,例如: http://127.0.0.1:7890"
63
+ None, "--proxy", "-p", help="代理服务器地址,例如: http://127.0.0.1:7897"
64
64
  ),
65
65
  ):
66
66
  """
@@ -151,7 +151,7 @@ def run_app(
151
151
  None,
152
152
  "--proxy",
153
153
  "-p",
154
- help="服务器代理,传入则通过代理转换Clash订阅,比如:socks5://127.0.0.1:7890",
154
+ help="服务器代理,传入则通过代理转换Clash订阅,比如:socks5://127.0.0.1:7897",
155
155
  ),
156
156
  ):
157
157
  clash_config = ClashConfig(rule, my_rule, proxy)
@@ -18,7 +18,13 @@ app = typer.Typer()
18
18
  def sid(
19
19
  length: int = typer.Argument(30, help="生成secure_id的长度"),
20
20
  ):
21
- chars = string.ascii_letters + string.digits
21
+ chars = (
22
+ (string.ascii_letters + string.digits)
23
+ .replace("i", "")
24
+ .replace("I", "")
25
+ .replace("o", "")
26
+ .replace("O", "")
27
+ )
22
28
  id = "".join(secrets.choice(chars) for _ in range(length))
23
29
  print(id)
24
30
 
@@ -104,11 +104,7 @@ dns:
104
104
  - "https://208.67.220.220/dns-query" # OpenDNS(备)
105
105
  - "https://194.242.2.2/dns-query" # Mullvad(主)
106
106
  - "https://194.242.2.3/dns-query" # Mullvad(备)
107
- direct-nameserver:
108
- # 国内DNS服务器↓
109
- - "https://dns.alidns.com/dns-query" # 阿里云公共DNS
110
- - "https://doh.pub/dns-query" # 腾讯DNSPod
111
- - "https://doh.360.cn/dns-query" # 360安全DNS
107
+ direct-nameserver: []
112
108
  external-controller-cors:
113
109
  allow-private-network: true
114
110
  allow-origins:
@@ -30,7 +30,7 @@
30
30
  name = "pymecli"
31
31
  readme = "README.md"
32
32
  requires-python = ">=3.10"
33
- version = "0.3.6"
33
+ version = "0.3.8"
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