quantdb-sdk 0.4.1__tar.gz → 0.4.3__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 (38) hide show
  1. {quantdb_sdk-0.4.1 → quantdb_sdk-0.4.3}/CHANGELOG.md +18 -0
  2. {quantdb_sdk-0.4.1/quantdb_sdk.egg-info → quantdb_sdk-0.4.3}/PKG-INFO +1 -1
  3. {quantdb_sdk-0.4.1 → quantdb_sdk-0.4.3}/pyproject.toml +1 -1
  4. {quantdb_sdk-0.4.1 → quantdb_sdk-0.4.3}/quantdb_sdk/__init__.py +1 -1
  5. {quantdb_sdk-0.4.1 → quantdb_sdk-0.4.3}/quantdb_sdk/_utils.py +1 -1
  6. {quantdb_sdk-0.4.1 → quantdb_sdk-0.4.3}/quantdb_sdk/async_client.py +955 -955
  7. {quantdb_sdk-0.4.1 → quantdb_sdk-0.4.3}/quantdb_sdk/client.py +1 -1
  8. {quantdb_sdk-0.4.1 → quantdb_sdk-0.4.3}/quantdb_sdk/hub.py +2 -0
  9. {quantdb_sdk-0.4.1 → quantdb_sdk-0.4.3/quantdb_sdk.egg-info}/PKG-INFO +1 -1
  10. {quantdb_sdk-0.4.1 → quantdb_sdk-0.4.3}/tests/test_data_hub.py +10 -2
  11. {quantdb_sdk-0.4.1 → quantdb_sdk-0.4.3}/LICENSE +0 -0
  12. {quantdb_sdk-0.4.1 → quantdb_sdk-0.4.3}/MANIFEST.in +0 -0
  13. {quantdb_sdk-0.4.1 → quantdb_sdk-0.4.3}/README.md +0 -0
  14. {quantdb_sdk-0.4.1 → quantdb_sdk-0.4.3}/quantdb_sdk/__main__.py +0 -0
  15. {quantdb_sdk-0.4.1 → quantdb_sdk-0.4.3}/quantdb_sdk/errors.py +0 -0
  16. {quantdb_sdk-0.4.1 → quantdb_sdk-0.4.3}/quantdb_sdk/examples/__init__.py +0 -0
  17. {quantdb_sdk-0.4.1 → quantdb_sdk-0.4.3}/quantdb_sdk/examples/demo_01_connect_basics.py +0 -0
  18. {quantdb_sdk-0.4.1 → quantdb_sdk-0.4.3}/quantdb_sdk/examples/demo_02_kline_v2_daily.py +0 -0
  19. {quantdb_sdk-0.4.1 → quantdb_sdk-0.4.3}/quantdb_sdk/examples/demo_03_sync_full_market.py +0 -0
  20. {quantdb_sdk-0.4.1 → quantdb_sdk-0.4.3}/quantdb_sdk/examples/demo_04_duckdb_warehouse.py +0 -0
  21. {quantdb_sdk-0.4.1 → quantdb_sdk-0.4.3}/quantdb_sdk/examples/demo_05_read_local_data.py +0 -0
  22. {quantdb_sdk-0.4.1 → quantdb_sdk-0.4.3}/quantdb_sdk/examples/demo_06_tick_and_factors.py +0 -0
  23. {quantdb_sdk-0.4.1 → quantdb_sdk-0.4.3}/quantdb_sdk/examples/demo_07_data_hub.py +0 -0
  24. {quantdb_sdk-0.4.1 → quantdb_sdk-0.4.3}/quantdb_sdk/layout.py +0 -0
  25. {quantdb_sdk-0.4.1 → quantdb_sdk-0.4.3}/quantdb_sdk/py.typed +0 -0
  26. {quantdb_sdk-0.4.1 → quantdb_sdk-0.4.3}/quantdb_sdk.egg-info/SOURCES.txt +0 -0
  27. {quantdb_sdk-0.4.1 → quantdb_sdk-0.4.3}/quantdb_sdk.egg-info/dependency_links.txt +0 -0
  28. {quantdb_sdk-0.4.1 → quantdb_sdk-0.4.3}/quantdb_sdk.egg-info/entry_points.txt +0 -0
  29. {quantdb_sdk-0.4.1 → quantdb_sdk-0.4.3}/quantdb_sdk.egg-info/requires.txt +0 -0
  30. {quantdb_sdk-0.4.1 → quantdb_sdk-0.4.3}/quantdb_sdk.egg-info/top_level.txt +0 -0
  31. {quantdb_sdk-0.4.1 → quantdb_sdk-0.4.3}/setup.cfg +0 -0
  32. {quantdb_sdk-0.4.1 → quantdb_sdk-0.4.3}/tests/test_async_client.py +0 -0
  33. {quantdb_sdk-0.4.1 → quantdb_sdk-0.4.3}/tests/test_client.py +0 -0
  34. {quantdb_sdk-0.4.1 → quantdb_sdk-0.4.3}/tests/test_hub_models.py +0 -0
  35. {quantdb_sdk-0.4.1 → quantdb_sdk-0.4.3}/tests/test_layout.py +0 -0
  36. {quantdb_sdk-0.4.1 → quantdb_sdk-0.4.3}/tests/test_technical_indicators.py +0 -0
  37. {quantdb_sdk-0.4.1 → quantdb_sdk-0.4.3}/tests/test_update_pipeline.py +0 -0
  38. {quantdb_sdk-0.4.1 → quantdb_sdk-0.4.3}/tests/test_utils.py +0 -0
@@ -3,6 +3,24 @@
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.4.3] - 2026-10-05
7
+
8
+ ### Changed
9
+
10
+ - **`per_share` 数据集更名**:中文名由「每股指标(补充)」改为「**财务指标(TTM)**」,描述与关键词同步更新(`每股/eps` → `财务/ttm`)。
11
+
12
+ 该表实际为 **TTM 口径财务指标补充表**(营收 / 归母净利 / 扣非净利 / 经营现金流等),原名既与 `pershare_index`「每股指标」混淆,也不符合数据口径。与后端 MCP catalog、桌面端分类表保持一致;`per_share` 标识符不变,`client.data` 用法不受影响。
13
+
14
+ ## \[0.4.2] - 2026-10-05
15
+
16
+ ### Added
17
+
18
+ - **新增数据集 `per_share`(每股指标补充表,分类 3)**:补登记为第 30 个数据集。
19
+
20
+ - `SYNC_DATASET_CATEGORIES` 与 `DATASET_REGISTRY` 由 29 项增至 30 项;`client.data.datasets()` / `info()` / `local_files()` / `read_local()` / `sync_dataset()` / `mount()` 均可直接按 `per_share` 使用。
21
+ - 物理形态为 V1 逐股票文件 `3_financial_data/per_share/{Symbol}.parquet`(由 `03_financial.py` 采集,部分股票为空);`layout=v1_symbol`,读取/查询需提供 `symbol`。
22
+ - 与 MCP catalog、后端 `subCategoryMapping`、前端分类表同步对齐(均为 30 项)。
23
+
6
24
  ## \[0.4.1] - 2026-10-05
7
25
 
8
26
  ### Changed
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: quantdb-sdk
3
- Version: 0.4.1
3
+ Version: 0.4.3
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.4.1"
7
+ version = "0.4.3"
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.4.1"
8
+ __version__ = "0.4.3"
9
9
 
10
10
  from . import layout
11
11
  from ._utils import scan_local_directory
@@ -19,7 +19,7 @@ SYNC_DATASET_CATEGORIES: Dict[str, str] = {
19
19
  "instrument_detail": "2", "sector_concept": "2", "index_weights": "2",
20
20
  "trading_calendar": "2", "margin_trading": "2",
21
21
  "balance": "3", "income": "3", "cashflow": "3", "capital": "3",
22
- "holder_num": "3", "pershare_index": "3", "dividend_factors": "3",
22
+ "holder_num": "3", "pershare_index": "3", "per_share": "3", "dividend_factors": "3",
23
23
  "etf_pcf": "4", "convertible_bond": "4", "etf_kline": "4",
24
24
  "valuation": "5", "technical_indicators": "5", "market_sentiment": "5",
25
25
  "features_daily": "6", "l1_factors": "6", "l1_l2_factors": "6", "l2_factors": "6",