datahub_binary 1.7.8__cp312-cp312-win_amd64.whl → 1.7.10__cp312-cp312-win_amd64.whl

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.
datahub/datahub.pyi CHANGED
@@ -33,7 +33,7 @@ class BarDataMatrix:
33
33
  data_matrix: npt.NDArray[Any]
34
34
  def to_df(self) -> pl.DataFrame: ...
35
35
  @staticmethod
36
- def get_empty_matrix(instrument_ids: Sequence[str], cols: Sequence[str], trade_time: datetime) -> BarDataMatrix: ...
36
+ def get_empty_matrix(instrument_ids: Sequence[str], cols: Sequence[str], trade_time: datetime, timezone: str = 'Asia/Shanghai') -> BarDataMatrix: ...
37
37
  @staticmethod
38
38
  def from_df(instrument_ids: Sequence[str], cols: Sequence[str], trade_time: datetime, df: pl.DataFrame) -> BarDataMatrix: ...
39
39
  @staticmethod
Binary file
datahub.pyi CHANGED
@@ -37,6 +37,8 @@ import ntpath
37
37
  import bisect
38
38
  import random
39
39
  import traceback
40
+ import zoneinfo
41
+ import zoneinfo.ZoneInfo
40
42
  import httpx
41
43
  import numpy
42
44
  import numpy.typing
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: datahub_binary
3
- Version: 1.7.8
3
+ Version: 1.7.10
4
4
  Summary: A comprehensive Python library for data processing, integration, and management.
5
5
  Requires-Python: <3.13,>=3.9
6
6
  Description-Content-Type: text/markdown
@@ -21,6 +21,7 @@ Requires-Dist: lark-oapi>=1.4.22
21
21
  Requires-Dist: pyzmq>=26.4.0
22
22
  Requires-Dist: sortedcontainers>=2.4.0
23
23
  Requires-Dist: mypy>=1.18.1
24
+ Requires-Dist: tzdata>=2025.2
24
25
 
25
26
  ### 使用示例
26
27
 
@@ -1,8 +1,8 @@
1
- datahub.cp312-win_amd64.pyd,sha256=adZ7uoIFGCbfpFcbHZp7zgXcpN1NqL4gA39aWRRR3fA,1917952
2
- datahub.pyi,sha256=-gTlJbRVvAJFaQs-lo9Atxu0qPruT2CSEr9qFczbKko,1466
1
+ datahub.cp312-win_amd64.pyd,sha256=4oYOhcIsvM3w8USvFQr2IlLsOyh3eibH7PoqR2I_Jtc,1920000
2
+ datahub.pyi,sha256=RCXeWHG7NPZBPCR6Kn2tGHTBvItWj8e3_Smus_1ZPGk,1507
3
3
  datahub/__init__.pyi,sha256=hX8D9Qd6uPjZiUBd6rIq7Llkt_H4l_RvRXsws3sdYbI,630
4
4
  datahub/datacache.pyi,sha256=rVDkzr0nLn54RT6EkYMDBh41t788XfVFyL4XKTJ2eSM,3587
5
- datahub/datahub.pyi,sha256=zKiRxUDs6zhlLVMjocohABi9Zs1AdWiOktiIN7QGpo4,10269
5
+ datahub/datahub.pyi,sha256=IXSIjZf9fGTXp2HTuVi8gz5b5IsQ9djEafg608Q11Po,10302
6
6
  datahub/setting.pyi,sha256=u6gYjjF6r1thSpp2XNMvg_1JUcqB64dRTkNoHlOoKUQ,889
7
7
  datahub/ats/client_sdk.pyi,sha256=ZdXVLPNXdh5AgHGo1E2fhA_4MLVYq-yeZYHsOvGqCL8,4107
8
8
  datahub/dbo/database.pyi,sha256=O8Gp0Os3tzznLa6hdmCaXnq7Iw4xAAkW4YcjK0jUSUY,1024
@@ -26,7 +26,7 @@ datahub/utils/monitor/__init__.pyi,sha256=EOwgf8CbJ4g3iUAaFoR6O-mYemJ9xjP42zlBj2
26
26
  datahub/utils/monitor/base.pyi,sha256=n1dKYK73JJ_7QPkCWFc-6Aj_a16j2z_VBaQ9zkN9A3E,310
27
27
  datahub/utils/monitor/feishu.pyi,sha256=GgvJXYeX3cPOQjqpV0GJUr_Ri1_cZe2-viRBkpe6O_g,402
28
28
  datahub.build/.gitignore,sha256=aEiIwOuxfzdCmLZe4oB1JsBmCUxwG8x-u-HBCV9JT8E,1
29
- datahub_binary-1.7.8.dist-info/METADATA,sha256=DDf5RmQMjEwYj1E9o6MiAI_cMVTOlG-1JN7Ph2bmKcs,7871
30
- datahub_binary-1.7.8.dist-info/WHEEL,sha256=FQxUvv368yzeQ5jnDTKEMIdX3KL1fZX-LEwWLnwUgUg,97
31
- datahub_binary-1.7.8.dist-info/top_level.txt,sha256=J0rzqYfZghMgpObWaPGhQtV88I-KXrgArDvi_ddf6ZA,8
32
- datahub_binary-1.7.8.dist-info/RECORD,,
29
+ datahub_binary-1.7.10.dist-info/METADATA,sha256=abxTTW_u-YNfEoNNB3seaVq9EXigFqo_TIxiX02ZjhE,7903
30
+ datahub_binary-1.7.10.dist-info/WHEEL,sha256=FQxUvv368yzeQ5jnDTKEMIdX3KL1fZX-LEwWLnwUgUg,97
31
+ datahub_binary-1.7.10.dist-info/top_level.txt,sha256=J0rzqYfZghMgpObWaPGhQtV88I-KXrgArDvi_ddf6ZA,8
32
+ datahub_binary-1.7.10.dist-info/RECORD,,