xtquant-share 1.1.2__tar.gz → 1.1.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.1.2 → xtquant_share-1.1.4}/PKG-INFO +2 -1
  2. {xtquant_share-1.1.2 → xtquant_share-1.1.4}/pyproject.toml +2 -1
  3. {xtquant_share-1.1.2 → xtquant_share-1.1.4}/xqshare/auth.py +2 -2
  4. {xtquant_share-1.1.2 → xtquant_share-1.1.4}/xtquant_share.egg-info/PKG-INFO +2 -1
  5. {xtquant_share-1.1.2 → xtquant_share-1.1.4}/xtquant_share.egg-info/requires.txt +1 -0
  6. {xtquant_share-1.1.2 → xtquant_share-1.1.4}/LICENSE +0 -0
  7. {xtquant_share-1.1.2 → xtquant_share-1.1.4}/README.md +0 -0
  8. {xtquant_share-1.1.2 → xtquant_share-1.1.4}/setup.cfg +0 -0
  9. {xtquant_share-1.1.2 → xtquant_share-1.1.4}/tests/test_auth.py +0 -0
  10. {xtquant_share-1.1.2 → xtquant_share-1.1.4}/tests/test_client.py +0 -0
  11. {xtquant_share-1.1.2 → xtquant_share-1.1.4}/tests/test_client_permission.py +0 -0
  12. {xtquant_share-1.1.2 → xtquant_share-1.1.4}/tests/test_integration.py +0 -0
  13. {xtquant_share-1.1.2 → xtquant_share-1.1.4}/tests/test_server.py +0 -0
  14. {xtquant_share-1.1.2 → xtquant_share-1.1.4}/tests/test_server_permission.py +0 -0
  15. {xtquant_share-1.1.2 → xtquant_share-1.1.4}/tests/test_tools_common.py +0 -0
  16. {xtquant_share-1.1.2 → xtquant_share-1.1.4}/xqshare/__init__.py +0 -0
  17. {xtquant_share-1.1.2 → xtquant_share-1.1.4}/xqshare/client.py +0 -0
  18. {xtquant_share-1.1.2 → xtquant_share-1.1.4}/xqshare/server.py +0 -0
  19. {xtquant_share-1.1.2 → xtquant_share-1.1.4}/xqshare/tools/__init__.py +0 -0
  20. {xtquant_share-1.1.2 → xtquant_share-1.1.4}/xqshare/tools/common.py +0 -0
  21. {xtquant_share-1.1.2 → xtquant_share-1.1.4}/xqshare/tools/xtdata.py +0 -0
  22. {xtquant_share-1.1.2 → xtquant_share-1.1.4}/xqshare/tools/xttrader.py +0 -0
  23. {xtquant_share-1.1.2 → xtquant_share-1.1.4}/xtquant_share.egg-info/SOURCES.txt +0 -0
  24. {xtquant_share-1.1.2 → xtquant_share-1.1.4}/xtquant_share.egg-info/dependency_links.txt +0 -0
  25. {xtquant_share-1.1.2 → xtquant_share-1.1.4}/xtquant_share.egg-info/entry_points.txt +0 -0
  26. {xtquant_share-1.1.2 → xtquant_share-1.1.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.1.2
3
+ Version: 1.1.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
@@ -27,6 +27,7 @@ Description-Content-Type: text/markdown
27
27
  License-File: LICENSE
28
28
  Requires-Dist: rpyc>=6.0
29
29
  Requires-Dist: python-dotenv>=1.0
30
+ Requires-Dist: pyyaml>=6.0
30
31
  Provides-Extra: dev
31
32
  Requires-Dist: pytest>=7.0; extra == "dev"
32
33
  Requires-Dist: black>=23.0; extra == "dev"
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "xtquant-share"
7
- version = "1.1.2"
7
+ version = "1.1.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"
@@ -41,6 +41,7 @@ classifiers = [
41
41
  dependencies = [
42
42
  "rpyc>=6.0",
43
43
  "python-dotenv>=1.0",
44
+ "pyyaml>=6.0",
44
45
  ]
45
46
 
46
47
  [project.optional-dependencies]
@@ -226,10 +226,10 @@ class PermissionChecker:
226
226
  self._use_default_client = True
227
227
  self._clients[DEFAULT_CLIENT_ID] = ClientConfig(
228
228
  secret=DEFAULT_CLIENT_SECRET,
229
- level=AccountLevel.STANDARD
229
+ level=AccountLevel.ENTERPRISE
230
230
  )
231
231
  import logging
232
- logging.warning(f"[配置加载] 未找到 clients.yaml,启用默认账号: {DEFAULT_CLIENT_ID} (level=standard)")
232
+ logging.warning(f"[配置加载] 未找到 clients.yaml,启用默认账号: {DEFAULT_CLIENT_ID} (level=enterprise)")
233
233
 
234
234
  def check_and_reload_if_changed(self) -> bool:
235
235
  """
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: xtquant-share
3
- Version: 1.1.2
3
+ Version: 1.1.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
@@ -27,6 +27,7 @@ Description-Content-Type: text/markdown
27
27
  License-File: LICENSE
28
28
  Requires-Dist: rpyc>=6.0
29
29
  Requires-Dist: python-dotenv>=1.0
30
+ Requires-Dist: pyyaml>=6.0
30
31
  Provides-Extra: dev
31
32
  Requires-Dist: pytest>=7.0; extra == "dev"
32
33
  Requires-Dist: black>=23.0; extra == "dev"
@@ -1,5 +1,6 @@
1
1
  rpyc>=6.0
2
2
  python-dotenv>=1.0
3
+ pyyaml>=6.0
3
4
 
4
5
  [dev]
5
6
  pytest>=7.0
File without changes
File without changes
File without changes