xtquant-share 1.2.5__tar.gz → 1.2.6__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.
- {xtquant_share-1.2.5 → xtquant_share-1.2.6}/PKG-INFO +1 -1
- {xtquant_share-1.2.5 → xtquant_share-1.2.6}/pyproject.toml +1 -1
- {xtquant_share-1.2.5 → xtquant_share-1.2.6}/xqshare/server.py +11 -0
- {xtquant_share-1.2.5 → xtquant_share-1.2.6}/xtquant_share.egg-info/PKG-INFO +1 -1
- {xtquant_share-1.2.5 → xtquant_share-1.2.6}/LICENSE +0 -0
- {xtquant_share-1.2.5 → xtquant_share-1.2.6}/README.md +0 -0
- {xtquant_share-1.2.5 → xtquant_share-1.2.6}/setup.cfg +0 -0
- {xtquant_share-1.2.5 → xtquant_share-1.2.6}/tests/test_auth.py +0 -0
- {xtquant_share-1.2.5 → xtquant_share-1.2.6}/tests/test_client.py +0 -0
- {xtquant_share-1.2.5 → xtquant_share-1.2.6}/tests/test_client_permission.py +0 -0
- {xtquant_share-1.2.5 → xtquant_share-1.2.6}/tests/test_integration.py +0 -0
- {xtquant_share-1.2.5 → xtquant_share-1.2.6}/tests/test_server.py +0 -0
- {xtquant_share-1.2.5 → xtquant_share-1.2.6}/tests/test_server_permission.py +0 -0
- {xtquant_share-1.2.5 → xtquant_share-1.2.6}/tests/test_tools_common.py +0 -0
- {xtquant_share-1.2.5 → xtquant_share-1.2.6}/xqshare/__init__.py +0 -0
- {xtquant_share-1.2.5 → xtquant_share-1.2.6}/xqshare/auth.py +0 -0
- {xtquant_share-1.2.5 → xtquant_share-1.2.6}/xqshare/client.py +0 -0
- {xtquant_share-1.2.5 → xtquant_share-1.2.6}/xqshare/tools/__init__.py +0 -0
- {xtquant_share-1.2.5 → xtquant_share-1.2.6}/xqshare/tools/common.py +0 -0
- {xtquant_share-1.2.5 → xtquant_share-1.2.6}/xqshare/tools/xtdata.py +0 -0
- {xtquant_share-1.2.5 → xtquant_share-1.2.6}/xqshare/tools/xttrader.py +0 -0
- {xtquant_share-1.2.5 → xtquant_share-1.2.6}/xtquant_share.egg-info/SOURCES.txt +0 -0
- {xtquant_share-1.2.5 → xtquant_share-1.2.6}/xtquant_share.egg-info/dependency_links.txt +0 -0
- {xtquant_share-1.2.5 → xtquant_share-1.2.6}/xtquant_share.egg-info/entry_points.txt +0 -0
- {xtquant_share-1.2.5 → xtquant_share-1.2.6}/xtquant_share.egg-info/requires.txt +0 -0
- {xtquant_share-1.2.5 → xtquant_share-1.2.6}/xtquant_share.egg-info/top_level.txt +0 -0
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "xtquant-share"
|
|
7
|
-
version = "1.2.
|
|
7
|
+
version = "1.2.6"
|
|
8
8
|
description = "Xtreme Quant Share - eXtreme transparent sharing proxy for XtQuant on macOS/Linux"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = "GPL-3.0-only"
|
|
@@ -1080,8 +1080,19 @@ def _default_env_file():
|
|
|
1080
1080
|
|
|
1081
1081
|
def main():
|
|
1082
1082
|
"""命令行入口函数"""
|
|
1083
|
+
import sys
|
|
1083
1084
|
import argparse
|
|
1084
1085
|
|
|
1086
|
+
# Windows 终端默认 GBK,统一切换 stdout/stderr 为 UTF-8,避免中文乱码
|
|
1087
|
+
if sys.platform == "win32":
|
|
1088
|
+
try:
|
|
1089
|
+
sys.stdout.reconfigure(encoding="utf-8", errors="replace")
|
|
1090
|
+
sys.stderr.reconfigure(encoding="utf-8", errors="replace")
|
|
1091
|
+
except AttributeError:
|
|
1092
|
+
import io
|
|
1093
|
+
sys.stdout = io.TextIOWrapper(sys.stdout.buffer, encoding="utf-8", errors="replace")
|
|
1094
|
+
sys.stderr = io.TextIOWrapper(sys.stderr.buffer, encoding="utf-8", errors="replace")
|
|
1095
|
+
|
|
1085
1096
|
parser = argparse.ArgumentParser(
|
|
1086
1097
|
description="XtQuant Share (xqshare) 服务",
|
|
1087
1098
|
formatter_class=argparse.RawDescriptionHelpFormatter,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|