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.
- {pymecli-0.4.7 → pymecli-0.4.8}/PKG-INFO +1 -1
- {pymecli-0.4.7 → pymecli-0.4.8}/cli/baidu.py +2 -2
- {pymecli-0.4.7 → pymecli-0.4.8}/core/config.py +1 -1
- {pymecli-0.4.7 → pymecli-0.4.8}/pyproject.toml +2 -2
- {pymecli-0.4.7 → pymecli-0.4.8}/.gitignore +0 -0
- {pymecli-0.4.7 → pymecli-0.4.8}/README.md +0 -0
- {pymecli-0.4.7 → pymecli-0.4.8}/api/__init__.py +0 -0
- {pymecli-0.4.7 → pymecli-0.4.8}/api/v1/__init__.py +0 -0
- {pymecli-0.4.7 → pymecli-0.4.8}/api/v1/clash.py +0 -0
- {pymecli-0.4.7 → pymecli-0.4.8}/api/v1/redis.py +0 -0
- {pymecli-0.4.7 → pymecli-0.4.8}/cli/__init__.py +0 -0
- {pymecli-0.4.7 → pymecli-0.4.8}/cli/bitget.py +0 -0
- {pymecli-0.4.7 → pymecli-0.4.8}/cli/dst.py +0 -0
- {pymecli-0.4.7 → pymecli-0.4.8}/cli/example.py +0 -0
- {pymecli-0.4.7 → pymecli-0.4.8}/cli/fast.py +0 -0
- {pymecli-0.4.7 → pymecli-0.4.8}/cli/gate.py +0 -0
- {pymecli-0.4.7 → pymecli-0.4.8}/cli/redis_csv.py +0 -0
- {pymecli-0.4.7 → pymecli-0.4.8}/cli/util.py +0 -0
- {pymecli-0.4.7 → pymecli-0.4.8}/core/__init__.py +0 -0
- {pymecli-0.4.7 → pymecli-0.4.8}/core/clash.py +0 -0
- {pymecli-0.4.7 → pymecli-0.4.8}/core/redis_client.py +0 -0
- {pymecli-0.4.7 → pymecli-0.4.8}/crypto/__init__.py +0 -0
- {pymecli-0.4.7 → pymecli-0.4.8}/crypto/bitget.py +0 -0
- {pymecli-0.4.7 → pymecli-0.4.8}/crypto/gate.py +0 -0
- {pymecli-0.4.7 → pymecli-0.4.8}/data/__init__.py +0 -0
- {pymecli-0.4.7 → pymecli-0.4.8}/data/dou_dict.py +0 -0
- {pymecli-0.4.7 → pymecli-0.4.8}/data/dou_list.py +0 -0
- {pymecli-0.4.7 → pymecli-0.4.8}/data/main.py +0 -0
- {pymecli-0.4.7 → pymecli-0.4.8}/data/template.yaml +0 -0
- {pymecli-0.4.7 → pymecli-0.4.8}/models/__init__.py +0 -0
- {pymecli-0.4.7 → pymecli-0.4.8}/models/douzero_model.py +0 -0
- {pymecli-0.4.7 → pymecli-0.4.8}/models/ocr_model.py +0 -0
- {pymecli-0.4.7 → pymecli-0.4.8}/models/response.py +0 -0
- {pymecli-0.4.7 → pymecli-0.4.8}/utils/__init__.py +0 -0
- {pymecli-0.4.7 → pymecli-0.4.8}/utils/elapsed.py +0 -0
- {pymecli-0.4.7 → pymecli-0.4.8}/utils/helper.py +0 -0
- {pymecli-0.4.7 → pymecli-0.4.8}/utils/logger.py +0 -0
- {pymecli-0.4.7 → pymecli-0.4.8}/utils/mysql.py +0 -0
- {pymecli-0.4.7 → pymecli-0.4.8}/utils/path.py +0 -0
- {pymecli-0.4.7 → pymecli-0.4.8}/utils/pd.py +0 -0
- {pymecli-0.4.7 → pymecli-0.4.8}/utils/pyredis.py +0 -0
- {pymecli-0.4.7 → pymecli-0.4.8}/utils/sleep.py +0 -0
- {pymecli-0.4.7 → pymecli-0.4.8}/utils/text.py +0 -0
- {pymecli-0.4.7 → pymecli-0.4.8}/utils/toml.py +0 -0
|
@@ -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://
|
|
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://
|
|
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
|
|
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.
|
|
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
|