pymecli 0.4.7__tar.gz → 0.4.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 (44) hide show
  1. {pymecli-0.4.7 → pymecli-0.4.8}/PKG-INFO +1 -1
  2. {pymecli-0.4.7 → pymecli-0.4.8}/cli/baidu.py +2 -2
  3. {pymecli-0.4.7 → pymecli-0.4.8}/core/config.py +1 -1
  4. {pymecli-0.4.7 → pymecli-0.4.8}/pyproject.toml +2 -2
  5. {pymecli-0.4.7 → pymecli-0.4.8}/.gitignore +0 -0
  6. {pymecli-0.4.7 → pymecli-0.4.8}/README.md +0 -0
  7. {pymecli-0.4.7 → pymecli-0.4.8}/api/__init__.py +0 -0
  8. {pymecli-0.4.7 → pymecli-0.4.8}/api/v1/__init__.py +0 -0
  9. {pymecli-0.4.7 → pymecli-0.4.8}/api/v1/clash.py +0 -0
  10. {pymecli-0.4.7 → pymecli-0.4.8}/api/v1/redis.py +0 -0
  11. {pymecli-0.4.7 → pymecli-0.4.8}/cli/__init__.py +0 -0
  12. {pymecli-0.4.7 → pymecli-0.4.8}/cli/bitget.py +0 -0
  13. {pymecli-0.4.7 → pymecli-0.4.8}/cli/dst.py +0 -0
  14. {pymecli-0.4.7 → pymecli-0.4.8}/cli/example.py +0 -0
  15. {pymecli-0.4.7 → pymecli-0.4.8}/cli/fast.py +0 -0
  16. {pymecli-0.4.7 → pymecli-0.4.8}/cli/gate.py +0 -0
  17. {pymecli-0.4.7 → pymecli-0.4.8}/cli/redis_csv.py +0 -0
  18. {pymecli-0.4.7 → pymecli-0.4.8}/cli/util.py +0 -0
  19. {pymecli-0.4.7 → pymecli-0.4.8}/core/__init__.py +0 -0
  20. {pymecli-0.4.7 → pymecli-0.4.8}/core/clash.py +0 -0
  21. {pymecli-0.4.7 → pymecli-0.4.8}/core/redis_client.py +0 -0
  22. {pymecli-0.4.7 → pymecli-0.4.8}/crypto/__init__.py +0 -0
  23. {pymecli-0.4.7 → pymecli-0.4.8}/crypto/bitget.py +0 -0
  24. {pymecli-0.4.7 → pymecli-0.4.8}/crypto/gate.py +0 -0
  25. {pymecli-0.4.7 → pymecli-0.4.8}/data/__init__.py +0 -0
  26. {pymecli-0.4.7 → pymecli-0.4.8}/data/dou_dict.py +0 -0
  27. {pymecli-0.4.7 → pymecli-0.4.8}/data/dou_list.py +0 -0
  28. {pymecli-0.4.7 → pymecli-0.4.8}/data/main.py +0 -0
  29. {pymecli-0.4.7 → pymecli-0.4.8}/data/template.yaml +0 -0
  30. {pymecli-0.4.7 → pymecli-0.4.8}/models/__init__.py +0 -0
  31. {pymecli-0.4.7 → pymecli-0.4.8}/models/douzero_model.py +0 -0
  32. {pymecli-0.4.7 → pymecli-0.4.8}/models/ocr_model.py +0 -0
  33. {pymecli-0.4.7 → pymecli-0.4.8}/models/response.py +0 -0
  34. {pymecli-0.4.7 → pymecli-0.4.8}/utils/__init__.py +0 -0
  35. {pymecli-0.4.7 → pymecli-0.4.8}/utils/elapsed.py +0 -0
  36. {pymecli-0.4.7 → pymecli-0.4.8}/utils/helper.py +0 -0
  37. {pymecli-0.4.7 → pymecli-0.4.8}/utils/logger.py +0 -0
  38. {pymecli-0.4.7 → pymecli-0.4.8}/utils/mysql.py +0 -0
  39. {pymecli-0.4.7 → pymecli-0.4.8}/utils/path.py +0 -0
  40. {pymecli-0.4.7 → pymecli-0.4.8}/utils/pd.py +0 -0
  41. {pymecli-0.4.7 → pymecli-0.4.8}/utils/pyredis.py +0 -0
  42. {pymecli-0.4.7 → pymecli-0.4.8}/utils/sleep.py +0 -0
  43. {pymecli-0.4.7 → pymecli-0.4.8}/utils/text.py +0 -0
  44. {pymecli-0.4.7 → pymecli-0.4.8}/utils/toml.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pymecli
3
- Version: 0.4.7
3
+ Version: 0.4.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
@@ -16,7 +16,7 @@ r = get_redis_client_sync()
16
16
  @app.command()
17
17
  def acsToken(
18
18
  url: str = typer.Argument(
19
- "https://gushitong.baidu.com/index/ab-000001?name=%25E4%25B8%258A%25E8%25AF%2581%25E6%258C%2587%25E6%2595%25B0",
19
+ "https://finance.baidu.com/index/ab-000001?name=%25E4%25B8%258A%25E8%25AF%2581%25E6%258C%2587%25E6%2595%25B0",
20
20
  help="request url",
21
21
  ),
22
22
  timeout: int = typer.Option(
@@ -29,7 +29,7 @@ def acsToken(
29
29
  """通过selenium获取百度股事通Acs-Token
30
30
 
31
31
  Args:
32
- url (str, optional): 请求的『URL』地址. Defaults to typer.Argument( "https://gushitong.baidu.com/", help="request url", ).
32
+ url (str, optional): 请求的『URL』地址. Defaults to typer.Argument( "https://finance.baidu.com/", help="request url", ).
33
33
  timeout (int, optional): _description_. Defaults to typer.Option( 3, "--timeout", "-t", help="timeout内如果没有请求完整,会强制中断,然后从已有的请求中获取数据", ).
34
34
 
35
35
  Returns:
@@ -19,7 +19,7 @@ class Settings(BaseSettings):
19
19
  REDIS_PASSWORD: str = ""
20
20
 
21
21
  PROJECT_DESCRIPTION: str = (
22
- f"{metadata['Summary']}, FastAPI提供: clash订阅转换、baidu.gushitong api"
22
+ f"{metadata['Summary']}, FastAPI提供: clash订阅转换、finance.baidu api"
23
23
  )
24
24
  PROJECT_VERSION: str = metadata["Version"]
25
25
 
@@ -33,14 +33,14 @@
33
33
  name = "pymecli"
34
34
  readme = "README.md"
35
35
  requires-python = ">=3.10"
36
- version = "0.4.7"
36
+ version = "0.4.8"
37
37
 
38
38
  [project.urls]
39
39
  Homepage = "https://pypi.org/project/pymecli"
40
40
  Repository = "https://github.com/meme2046/pymecli"
41
41
 
42
42
  [project.scripts]
43
- baidu = "cli.baidu:app"
43
+ # baidu = "cli.baidu:app" # 废弃
44
44
  bitget = "cli.bitget:app"
45
45
  dst = "cli.dst:app"
46
46
  example = "cli.example:app"
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