xtquant-share 1.2.3__tar.gz → 1.2.4__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 (26) hide show
  1. {xtquant_share-1.2.3 → xtquant_share-1.2.4}/PKG-INFO +1 -1
  2. {xtquant_share-1.2.3 → xtquant_share-1.2.4}/pyproject.toml +1 -1
  3. {xtquant_share-1.2.3 → xtquant_share-1.2.4}/xqshare/server.py +6 -1
  4. {xtquant_share-1.2.3 → xtquant_share-1.2.4}/xtquant_share.egg-info/PKG-INFO +1 -1
  5. {xtquant_share-1.2.3 → xtquant_share-1.2.4}/LICENSE +0 -0
  6. {xtquant_share-1.2.3 → xtquant_share-1.2.4}/README.md +0 -0
  7. {xtquant_share-1.2.3 → xtquant_share-1.2.4}/setup.cfg +0 -0
  8. {xtquant_share-1.2.3 → xtquant_share-1.2.4}/tests/test_auth.py +0 -0
  9. {xtquant_share-1.2.3 → xtquant_share-1.2.4}/tests/test_client.py +0 -0
  10. {xtquant_share-1.2.3 → xtquant_share-1.2.4}/tests/test_client_permission.py +0 -0
  11. {xtquant_share-1.2.3 → xtquant_share-1.2.4}/tests/test_integration.py +0 -0
  12. {xtquant_share-1.2.3 → xtquant_share-1.2.4}/tests/test_server.py +0 -0
  13. {xtquant_share-1.2.3 → xtquant_share-1.2.4}/tests/test_server_permission.py +0 -0
  14. {xtquant_share-1.2.3 → xtquant_share-1.2.4}/tests/test_tools_common.py +0 -0
  15. {xtquant_share-1.2.3 → xtquant_share-1.2.4}/xqshare/__init__.py +0 -0
  16. {xtquant_share-1.2.3 → xtquant_share-1.2.4}/xqshare/auth.py +0 -0
  17. {xtquant_share-1.2.3 → xtquant_share-1.2.4}/xqshare/client.py +0 -0
  18. {xtquant_share-1.2.3 → xtquant_share-1.2.4}/xqshare/tools/__init__.py +0 -0
  19. {xtquant_share-1.2.3 → xtquant_share-1.2.4}/xqshare/tools/common.py +0 -0
  20. {xtquant_share-1.2.3 → xtquant_share-1.2.4}/xqshare/tools/xtdata.py +0 -0
  21. {xtquant_share-1.2.3 → xtquant_share-1.2.4}/xqshare/tools/xttrader.py +0 -0
  22. {xtquant_share-1.2.3 → xtquant_share-1.2.4}/xtquant_share.egg-info/SOURCES.txt +0 -0
  23. {xtquant_share-1.2.3 → xtquant_share-1.2.4}/xtquant_share.egg-info/dependency_links.txt +0 -0
  24. {xtquant_share-1.2.3 → xtquant_share-1.2.4}/xtquant_share.egg-info/entry_points.txt +0 -0
  25. {xtquant_share-1.2.3 → xtquant_share-1.2.4}/xtquant_share.egg-info/requires.txt +0 -0
  26. {xtquant_share-1.2.3 → xtquant_share-1.2.4}/xtquant_share.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: xtquant-share
3
- Version: 1.2.3
3
+ Version: 1.2.4
4
4
  Summary: Xtreme Quant Share - eXtreme transparent sharing proxy for XtQuant on macOS/Linux
5
5
  Author-email: Jason Hu <63170682@qq.com>
6
6
  License-Expression: GPL-3.0-only
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "xtquant-share"
7
- version = "1.2.3"
7
+ version = "1.2.4"
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"
@@ -1120,6 +1120,9 @@ def main():
1120
1120
  fg_parser = subparsers.add_parser("fg", help="前台启动 server(调试用)", aliases=["foreground"])
1121
1121
  add_server_args(fg_parser)
1122
1122
 
1123
+ # help 子命令
1124
+ subparsers.add_parser("help", help="显示帮助信息")
1125
+
1123
1126
  # stop 子命令
1124
1127
  subparsers.add_parser("stop", help="停止后台运行的 server")
1125
1128
 
@@ -1146,7 +1149,9 @@ def main():
1146
1149
  if not hasattr(args, 'env_file') or args.env_file is None:
1147
1150
  args.env_file = _default_env_file()
1148
1151
 
1149
- if args.command in ("start", "background", "bg"):
1152
+ if args.command == "help":
1153
+ parser.print_help()
1154
+ elif args.command in ("start", "background", "bg"):
1150
1155
  _cmd_background(args)
1151
1156
  elif args.command == "stop":
1152
1157
  _cmd_stop(args)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: xtquant-share
3
- Version: 1.2.3
3
+ Version: 1.2.4
4
4
  Summary: Xtreme Quant Share - eXtreme transparent sharing proxy for XtQuant on macOS/Linux
5
5
  Author-email: Jason Hu <63170682@qq.com>
6
6
  License-Expression: GPL-3.0-only
File without changes
File without changes
File without changes