quantdb-sdk 0.2.3__tar.gz → 0.2.4__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 (23) hide show
  1. {quantdb_sdk-0.2.3 → quantdb_sdk-0.2.4}/CHANGELOG.md +5 -0
  2. {quantdb_sdk-0.2.3/quantdb_sdk.egg-info → quantdb_sdk-0.2.4}/PKG-INFO +1 -1
  3. {quantdb_sdk-0.2.3 → quantdb_sdk-0.2.4}/pyproject.toml +1 -1
  4. {quantdb_sdk-0.2.3 → quantdb_sdk-0.2.4}/quantdb_sdk/__init__.py +1 -1
  5. {quantdb_sdk-0.2.3 → quantdb_sdk-0.2.4}/quantdb_sdk/__main__.py +2 -2
  6. {quantdb_sdk-0.2.3 → quantdb_sdk-0.2.4}/quantdb_sdk/async_client.py +1 -1
  7. {quantdb_sdk-0.2.3 → quantdb_sdk-0.2.4}/quantdb_sdk/client.py +1 -1
  8. {quantdb_sdk-0.2.3 → quantdb_sdk-0.2.4/quantdb_sdk.egg-info}/PKG-INFO +1 -1
  9. {quantdb_sdk-0.2.3 → quantdb_sdk-0.2.4}/LICENSE +0 -0
  10. {quantdb_sdk-0.2.3 → quantdb_sdk-0.2.4}/MANIFEST.in +0 -0
  11. {quantdb_sdk-0.2.3 → quantdb_sdk-0.2.4}/README.md +0 -0
  12. {quantdb_sdk-0.2.3 → quantdb_sdk-0.2.4}/quantdb_sdk/_utils.py +0 -0
  13. {quantdb_sdk-0.2.3 → quantdb_sdk-0.2.4}/quantdb_sdk/errors.py +0 -0
  14. {quantdb_sdk-0.2.3 → quantdb_sdk-0.2.4}/quantdb_sdk/py.typed +0 -0
  15. {quantdb_sdk-0.2.3 → quantdb_sdk-0.2.4}/quantdb_sdk.egg-info/SOURCES.txt +0 -0
  16. {quantdb_sdk-0.2.3 → quantdb_sdk-0.2.4}/quantdb_sdk.egg-info/dependency_links.txt +0 -0
  17. {quantdb_sdk-0.2.3 → quantdb_sdk-0.2.4}/quantdb_sdk.egg-info/entry_points.txt +0 -0
  18. {quantdb_sdk-0.2.3 → quantdb_sdk-0.2.4}/quantdb_sdk.egg-info/requires.txt +0 -0
  19. {quantdb_sdk-0.2.3 → quantdb_sdk-0.2.4}/quantdb_sdk.egg-info/top_level.txt +0 -0
  20. {quantdb_sdk-0.2.3 → quantdb_sdk-0.2.4}/setup.cfg +0 -0
  21. {quantdb_sdk-0.2.3 → quantdb_sdk-0.2.4}/tests/test_async_client.py +0 -0
  22. {quantdb_sdk-0.2.3 → quantdb_sdk-0.2.4}/tests/test_client.py +0 -0
  23. {quantdb_sdk-0.2.3 → quantdb_sdk-0.2.4}/tests/test_technical_indicators.py +0 -0
@@ -3,6 +3,11 @@
3
3
  所有 notable 变更都会记录在此文件。格式基于 [Keep a Changelog](https://keepachangelog.com/zh-CN/1.1.0/),
4
4
  版本号遵循 [Semantic Versioning](https://semver.org/lang/zh-CN/)。
5
5
 
6
+ ## [0.2.4] - 2026-07-26
7
+
8
+ ### Fixed
9
+ - **Windows CLI 编码**:移除 `✓/✗` 字符,GBK 控制台可正常执行 `quantdb check`。
10
+
6
11
  ## [0.2.3] - 2026-07-26
7
12
 
8
13
  ### Added
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: quantdb-sdk
3
- Version: 0.2.3
3
+ Version: 0.2.4
4
4
  Summary: QuantDB 量化数据平台官方 Python SDK
5
5
  Author: QuantDB Team
6
6
  License: MIT
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "quantdb-sdk"
7
- version = "0.2.3"
7
+ version = "0.2.4"
8
8
  description = "QuantDB 量化数据平台官方 Python SDK"
9
9
  readme = "README.md"
10
10
  license = {text = "MIT"}
@@ -5,7 +5,7 @@ try:
5
5
  # 注意:此处用 PyPI 包名(连字符)查找版本号,不是模块名(下划线)
6
6
  __version__ = version("quantdb-sdk")
7
7
  except ImportError:
8
- __version__ = "0.2.3"
8
+ __version__ = "0.2.4"
9
9
 
10
10
  from .async_client import AsyncQuantDBClient
11
11
  from .client import DuckDBWarehouse, QuantDBClient
@@ -56,7 +56,7 @@ def main() -> int:
56
56
 
57
57
  if args.command == "check":
58
58
  me = client.get_me()
59
- print(f" API Key 有效")
59
+ print("[OK] API Key 有效")
60
60
  print(f" 用户: {me.get('username', 'N/A')}")
61
61
  print(f" ID: {me.get('id', 'N/A')}")
62
62
  return 0
@@ -81,7 +81,7 @@ def main() -> int:
81
81
  return 0
82
82
 
83
83
  except Exception as e:
84
- print(f" 错误: {e}", file=sys.stderr)
84
+ print(f"[ERROR] {e}", file=sys.stderr)
85
85
  return 1
86
86
 
87
87
  return 0
@@ -37,7 +37,7 @@ class AsyncQuantDBClient:
37
37
  ):
38
38
  self.api_host = api_host.rstrip("/")
39
39
  self.timeout = timeout
40
- headers = {"User-Agent": "QuantDB-Python-SDK/0.2.3"}
40
+ headers = {"User-Agent": "QuantDB-Python-SDK/0.2.4"}
41
41
  if api_key:
42
42
  headers["X-API-Key"] = api_key
43
43
  elif token:
@@ -48,7 +48,7 @@ class QuantDBClient:
48
48
  self.session = requests.Session()
49
49
  # User-Agent 中的版本与 pyproject.toml 同步,用于服务端日志归因
50
50
  # 维护提示:每次版本号变化必须同步改这里(init 里的 __version__ 走 metadata 自动同步)
51
- self.session.headers.update({"User-Agent": "QuantDB-Python-SDK/0.2.3"})
51
+ self.session.headers.update({"User-Agent": "QuantDB-Python-SDK/0.2.4"})
52
52
 
53
53
  if api_key:
54
54
  self.headers = {"X-API-Key": api_key}
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: quantdb-sdk
3
- Version: 0.2.3
3
+ Version: 0.2.4
4
4
  Summary: QuantDB 量化数据平台官方 Python SDK
5
5
  Author: QuantDB Team
6
6
  License: MIT
File without changes
File without changes
File without changes
File without changes