hikyuu-plugin 2.7.0__py3-none-macosx_11_0_arm64.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.
@@ -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"
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
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=CuCNhtmfAwV6N1KwERdc-WpY9lhYo5OIM25Kyaj47vU,113
2
+ hikyuu_plugin/extra.py,sha256=aD-ZDNxzj9G8xnSrT_WGG7LVK57gUB7srSIMtOtMhL8,2136
3
+ hikyuu_plugin/libbacktest.dylib,sha256=R9i5VCAad-Aahc5YfHEYN6Vhpxm6UTKt9oxAYbt2lEo,378928
4
+ hikyuu_plugin/libboost_charconv-mt.dylib,sha256=3Yyln2BbMJsqDhy9ZoCJ6KeHdwwye-SOHUeNHDLn0XI,165992
5
+ hikyuu_plugin/libboost_chrono-mt.dylib,sha256=G6CKRZtnk4hsq0nDi2XJUOEzDhIX4hK133dhr0K-ThA,64536
6
+ hikyuu_plugin/libboost_date_time-mt.dylib,sha256=-mQ4NS42sfhyhpJLv8_nj2ABKqRLdYDePfQX5Ub8F-M,17304
7
+ hikyuu_plugin/libboost_serialization-mt.dylib,sha256=nM8ntr5PHppPYBFNw7qxuZVRdx9C6vmxYW-O0kbvcLU,475184
8
+ hikyuu_plugin/libboost_system-mt.dylib,sha256=8NrIjIbu3zafEg_Y3UPoU2s9EigiV1oUiZLQ5imhpdI,17256
9
+ hikyuu_plugin/libboost_thread-mt.dylib,sha256=k6aOic-K1HkVI8UJPRxL_E7DRibfULTnVBzueuRi5Yw,134056
10
+ hikyuu_plugin/libboost_wserialization-mt.dylib,sha256=9Ng8LvKhSYnmQ1WOdiSr7NxDgy-DBIIHpGmi0N7ZKzw,365744
11
+ hikyuu_plugin/libclickhousedriver.dylib,sha256=b3fQC7YISj0QZTUve0r3M5Fh3gU9upH5webrFZWh-a0,1784360
12
+ hikyuu_plugin/libdataserver.dylib,sha256=WJBOOpI6rbNMX57f5fzE98jNaIKSFXYV_0SJgXUfkiY,1832896
13
+ hikyuu_plugin/libdataserver_parquet.dylib,sha256=1p6yBwbVEbNbjYnlociw2nMOCwcX1-tJkZKQkdn-lkM,11041352
14
+ hikyuu_plugin/libdevice.dylib,sha256=mxqYDuDJb1k9LHGCuw5S4OOoMcXEJ3PWkSOnDTTBSZ8,371600
15
+ hikyuu_plugin/libextind.dylib,sha256=rXWDc5FM_RGe4DDyl9sgEekRyJanmSjycgt0UziJ--4,591104
16
+ hikyuu_plugin/libhkuextra.dylib,sha256=rygJfzCb4_-Q20E77rq4-JXXU8OZA5qANNbSHpntFiE,412000
17
+ hikyuu_plugin/libimport2hdf5.dylib,sha256=Pa_W3Cx9p6SZ9mPRtbZ-ai7Ks0IYHkDSg2yvBTp5EJ0,417848
18
+ hikyuu_plugin/libtmreport.dylib,sha256=mlM4sMT_wUo2E482ZyfjNt32ocPrZk8w9tJGzyuoBJs,375696
19
+ hikyuu_plugin/pycheck310.so,sha256=hag7yoKDhpCjSZCApJkPSdyvySCuhPa0whSbdHZ6Ct4,147768
20
+ hikyuu_plugin/pycheck311.so,sha256=EwYfMh3ynvez61M2HKS-MxWt6XDwFk8OwMASDLU4_UQ,147896
21
+ hikyuu_plugin/pycheck312.so,sha256=d95c0iS_D-MGr0GaduumaT-omJvFbAqsrCGLsW4VZec,148056
22
+ hikyuu_plugin/pycheck313.so,sha256=Yw-gUisCvMLYnIKB1MezvHdxSm3BiKxzeNo2fW9QZiY,148296
23
+ hikyuu_plugin/pyextra310.so,sha256=yOBU_3UEpcz-HJSUsOOMQow5dz_0TQH6QelJh31desk,9520680
24
+ hikyuu_plugin/pyextra311.so,sha256=9w-C8wKQU_SuPnzVyvnErY7OOgxh2thyvb3j8aIbbgs,9520824
25
+ hikyuu_plugin/pyextra312.so,sha256=1IjpABapAbBIvtFQu-VqghAxY_Fi2QBLc-fkUtlbZGc,9520984
26
+ hikyuu_plugin/pyextra313.so,sha256=0TiNicUhG4ReqTV_ZyLNC38LHV_2I43key9fa8MSMkY,9521224
27
+ hikyuu_plugin-2.7.0.dist-info/METADATA,sha256=8_LMjbrie5GxHXd3i-OfbfKJOEoY-iIs7ReLpxpCfSo,1840
28
+ hikyuu_plugin-2.7.0.dist-info/WHEEL,sha256=jc2C2uw104ioj1TL9cE0YO67_kdAwX4W8JgYPomxr5M,105
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-macosx_11_0_arm64
5
+
@@ -0,0 +1 @@
1
+ hikyuu_plugin