hikyuu-plugin 2.7.0__py3-none-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.

Potentially problematic release.


This version of hikyuu-plugin might be problematic. Click here for more details.

@@ -0,0 +1,7 @@
1
+ #!/usr/bin/python
2
+ # -*- coding: utf8 -*-
3
+ #
4
+ # Create on: 2025-10-22
5
+ # Author: fasiondog
6
+
7
+ __version__ = "2.7.0"
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
hikyuu_plugin/extra.py ADDED
@@ -0,0 +1,68 @@
1
+ #!/usr/bin/python
2
+ # -*- coding: utf8 -*-
3
+ #
4
+ # Create on: 20240126
5
+ # Author: fasiondog
6
+
7
+ import sys
8
+
9
+ if sys.version_info[1] == 10:
10
+ from .pycheck310 import *
11
+ elif sys.version_info[1] == 11:
12
+ from .pycheck311 import *
13
+ elif sys.version_info[1] == 12:
14
+ from .pycheck312 import *
15
+ elif sys.version_info[1] == 13:
16
+ from .pycheck313 import *
17
+ elif sys.version_info[1] == 14:
18
+ from .pycheck314 import *
19
+ else:
20
+ from .pycheck import *
21
+
22
+ can_use_pyarrow = support_arrow()
23
+
24
+ if can_use_pyarrow:
25
+ try:
26
+ import pyarrow as pa
27
+ except Exception as e:
28
+ print("依赖 pyarrow >= 19.0 库, 请检查pyarrow安装")
29
+ raise e
30
+
31
+ try:
32
+ import hikyuu as _hku
33
+ except Exception as e:
34
+ print("依赖 hikyuu 库, 请检查hikyuu安装")
35
+ raise e
36
+
37
+ try:
38
+ if sys.version_info[1] == 10:
39
+ from .pyextra310 import *
40
+ elif sys.version_info[1] == 11:
41
+ from .pyextra311 import *
42
+ elif sys.version_info[1] == 12:
43
+ from .pyextra312 import *
44
+ elif sys.version_info[1] == 13:
45
+ from .pyextra313 import *
46
+ elif sys.version_info[1] == 14:
47
+ from .pyextra314 import *
48
+ else:
49
+ from .pyextra import *
50
+ except Exception as e:
51
+ print("缺失pyextra模块, 仅支持Python3.10以上版本")
52
+ raise e
53
+
54
+ _hku.KData.to_pyarrow = lambda data: kdata_to_pa(data)
55
+ _hku.Indicator.to_pyarrow = lambda data: indicator_to_pa(data)
56
+ _hku.Indicator.value_to_pyarrow = lambda data: indicator_value_to_pa(data)
57
+ _hku.DatetimeList.to_pyarrow = lambda data: dates_to_pa(data)
58
+ _hku.TimeLineList.to_pyarrow = lambda data: timeline_to_pa(data)
59
+ _hku.TransList.to_pyarrow = lambda data: translist_to_pa(data)
60
+ _hku.StockWeightList.to_pyarrow = lambda data: weights_to_pa(data)
61
+ _hku.KRecordList.to_pyarrow = lambda data: krecords_to_pa(data)
62
+ _hku.TradeRecordList.to_pyarrow = lambda self: trades_to_pa(self)
63
+ _hku.PositionRecordList.to_pyarrow = lambda self: positions_to_pa(self)
64
+
65
+ del _hku
66
+
67
+ else:
68
+ print("当前Python版本不支持pyarrow, 无法使用扩展功能")
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -0,0 +1,63 @@
1
+ Metadata-Version: 2.4
2
+ Name: hikyuu-plugin
3
+ Version: 2.7.0
4
+ Summary: Hikyuu Plugin Package
5
+ Home-page: https://github.com/fasiondog/hikyuu
6
+ Author: fasiondog
7
+ Author-email: fasiondog@gmail.com
8
+ License: LGPL-3.0-or-later
9
+ Classifier: Development Status :: 3 - Alpha
10
+ Classifier: Intended Audience :: Developers
11
+ Classifier: Operating System :: MacOS
12
+ Classifier: Operating System :: Microsoft :: Windows
13
+ Classifier: Operating System :: POSIX :: Linux
14
+ Classifier: Programming Language :: Python :: 3
15
+ Classifier: Programming Language :: Python :: 3.8
16
+ Classifier: Programming Language :: Python :: 3.9
17
+ Classifier: Programming Language :: Python :: 3.10
18
+ Classifier: Programming Language :: Python :: 3.11
19
+ Requires-Python: >=3.8
20
+ Description-Content-Type: text/markdown
21
+ Dynamic: author
22
+ Dynamic: author-email
23
+ Dynamic: classifier
24
+ Dynamic: description
25
+ Dynamic: description-content-type
26
+ Dynamic: home-page
27
+ Dynamic: license
28
+ Dynamic: requires-python
29
+ Dynamic: summary
30
+
31
+ # Hikyuu Plugin Package
32
+
33
+ 这是一个为 Hikyuu 量化框架提供的插件包,包含了各种功能插件的动态库文件。
34
+
35
+ ## 插件列表
36
+
37
+ - backtest: 回测插件
38
+ - clickhouse: ClickHouse 数据库驱动
39
+ - dataserver: 数据服务插件
40
+ - device: 设备认证插件
41
+ - extind: 扩展指标插件
42
+ - hkuextra: HKU 扩展功能
43
+ - hkuviews: HKU 视图插件
44
+ - import2hdf5: 导入数据到 HDF5 格式
45
+ - tmreport: 交易管理报告插件
46
+
47
+ ## 安装
48
+
49
+ ```
50
+ pip install hikyuu-plugin
51
+ ```
52
+
53
+ 安装时,pip 会根据你的系统平台和 CPU 架构自动选择对应的预编译版本(wheel 包)。
54
+
55
+ ## 使用说明
56
+
57
+ 安装后,这些插件将自动被 Hikyuu 框架加载和使用。
58
+
59
+ ## 许可证
60
+
61
+ GNU Lesser General Public License v3.0 (LGPL-3.0)
62
+
63
+ LGPL许可证允许您在专有软件中链接使用该库,但如果您修改了库本身的源代码,则必须将这些修改开源。
@@ -0,0 +1,30 @@
1
+ hikyuu_plugin/__init__.py,sha256=9f11Sr4-10q7lkuf2LUy2zof75kSs2dtDWMpkYehrpo,120
2
+ hikyuu_plugin/arrow.dll,sha256=i_lb4u2RGDusvFY0mtuEuA8HXU2U3vQIKXFDjaeKuG8,21367296
3
+ hikyuu_plugin/backtest.dll,sha256=5QWdAsGlmISJaEjTnbDbkrCKkRYLjvL8CKTTWYG7if4,4422144
4
+ hikyuu_plugin/boost_date_time-mt.dll,sha256=GL1vhEkybhkZTKlFsQbwYK51W8B6ZnsZEPjEf9GEQDE,9728
5
+ hikyuu_plugin/boost_serialization-mt.dll,sha256=S_xxh4QP71VZymFwPdBzZRQQ0zIqjZGwuwzGw-l76U4,218624
6
+ hikyuu_plugin/boost_system-mt.dll,sha256=nEaozHMYb2hcvSVAeb_8BT68GcJtlCb5zQAYgN84rGc,9728
7
+ hikyuu_plugin/boost_wserialization-mt.dll,sha256=MxOqW2XbBDSLcmmnk-TLRNWq2XUv-SIvDdgEJmMQJ-E,156160
8
+ hikyuu_plugin/clickhousedriver.dll,sha256=wMt76e2F1XO6T4yKBbA-D9eY4lBJErlgv2Jar0S6uYg,5432832
9
+ hikyuu_plugin/dataserver.dll,sha256=2wipbmRuF8s65acu0dxBfpkPSv6mGaq4N7C_cdnCvoY,5661184
10
+ hikyuu_plugin/dataserver_parquet.dll,sha256=9Aaug4vNbGrds4PBguBlVcrCOqYcPRQjIPVS0FVWwCs,158208
11
+ hikyuu_plugin/device.dll,sha256=pzuRWEHZplBNZYpFxrPITT2IU-4sIYd59s3YHJBtuzs,4477440
12
+ hikyuu_plugin/extind.dll,sha256=_9-T02WsU__6ML15FtBoMV72w12uAHam8IHGuNUYO0o,4932096
13
+ hikyuu_plugin/extra.py,sha256=nt7lsMkA3nlJiGTZlSXFlwbIXl8x5HZnBUrYUYgXDUc,2204
14
+ hikyuu_plugin/hkuextra.dll,sha256=AN6tzSAhF1dI6mj93x1JF0QGFNJPICjbnjfzCaeYd4g,4441600
15
+ hikyuu_plugin/import2hdf5.dll,sha256=uEaU1__wm_uF8OpFVxJKXEqCgYFV86vLpIOJC6GFF7U,4478464
16
+ hikyuu_plugin/msvcp140-a118642f3ae8774fb9dc223e15c4a52e.dll,sha256=pUKfCOyeSxLIn_tGHY2YhJYBC3WFD3OYx02QjzvH1ms,576128
17
+ hikyuu_plugin/parquet.dll,sha256=kAPM0Y5cKUkmS8HZLZPZKSFAAFMficF1gEe3L_z1A6c,6291456
18
+ hikyuu_plugin/pycheck310.pyd,sha256=De341cpeRFqioiN8B0Pz4kdxQ0CLNeXIyWK9Ou3UYrk,140800
19
+ hikyuu_plugin/pycheck311.pyd,sha256=E61ktS-h6-Q3s6wewN1xfaDqN24o6ltP8cNqJ6woWAg,142848
20
+ hikyuu_plugin/pycheck312.pyd,sha256=ZjRQjwN4nPc9P2e79CGhJCXFpnSnRmxMAoIAOmcUd7A,145408
21
+ hikyuu_plugin/pycheck313.pyd,sha256=8RoxTTNeuIK1zEOKinaUdrpDfjhKemTqU6i3YZ3GBtU,145408
22
+ hikyuu_plugin/pyextra310.pyd,sha256=zDaU8-TOpRJkaHybUaO261fQ_lx1xJb6KtzZLjL1Xmg,576512
23
+ hikyuu_plugin/pyextra311.pyd,sha256=epsgU_4mvs5tC6K-zCOwUWwMgaqxgWfBSJwVjtOsxIM,578560
24
+ hikyuu_plugin/pyextra312.pyd,sha256=tTH3GvQ0OrzAmXbzB1gNmZIa5DOTn2asGUyYqbN4QhU,582656
25
+ hikyuu_plugin/pyextra313.pyd,sha256=STSt1ph8qzx_Ni2gRwYH6JdFn1DJyThimeTXmx_H-T0,582656
26
+ hikyuu_plugin/tmreport.dll,sha256=6dtQgNaL7kJ_r2SDQSD9HWPQfil19lR5HvxD-RQ9YZE,4422656
27
+ hikyuu_plugin-2.7.0.dist-info/METADATA,sha256=HdqaCADdsnwg_5VP086TH-V99PiT9byhNVBg1ci_Vdo,1903
28
+ hikyuu_plugin-2.7.0.dist-info/WHEEL,sha256=ZjXRCNaQ9YSypEK2TE0LRB0sy2OVXSszb4Sx1XjM99k,97
29
+ hikyuu_plugin-2.7.0.dist-info/top_level.txt,sha256=yetO4wtaqwQm0c36FOqAeJB6wwRO8vzwjsMiZ4m8hwg,14
30
+ hikyuu_plugin-2.7.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (80.9.0)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-win_amd64
5
+
@@ -0,0 +1 @@
1
+ hikyuu_plugin