tamar-model-client 0.1.5__tar.gz → 0.1.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.
Files changed (24) hide show
  1. {tamar_model_client-0.1.5 → tamar_model_client-0.1.6}/PKG-INFO +2 -5
  2. {tamar_model_client-0.1.5 → tamar_model_client-0.1.6}/setup.py +2 -5
  3. {tamar_model_client-0.1.5 → tamar_model_client-0.1.6}/tamar_model_client/async_client.py +1 -3
  4. {tamar_model_client-0.1.5 → tamar_model_client-0.1.6}/tamar_model_client.egg-info/PKG-INFO +2 -5
  5. {tamar_model_client-0.1.5 → tamar_model_client-0.1.6}/README.md +0 -0
  6. {tamar_model_client-0.1.5 → tamar_model_client-0.1.6}/setup.cfg +0 -0
  7. {tamar_model_client-0.1.5 → tamar_model_client-0.1.6}/tamar_model_client/__init__.py +0 -0
  8. {tamar_model_client-0.1.5 → tamar_model_client-0.1.6}/tamar_model_client/auth.py +0 -0
  9. {tamar_model_client-0.1.5 → tamar_model_client-0.1.6}/tamar_model_client/enums/__init__.py +0 -0
  10. {tamar_model_client-0.1.5 → tamar_model_client-0.1.6}/tamar_model_client/enums/channel.py +0 -0
  11. {tamar_model_client-0.1.5 → tamar_model_client-0.1.6}/tamar_model_client/enums/invoke.py +0 -0
  12. {tamar_model_client-0.1.5 → tamar_model_client-0.1.6}/tamar_model_client/enums/providers.py +0 -0
  13. {tamar_model_client-0.1.5 → tamar_model_client-0.1.6}/tamar_model_client/exceptions.py +0 -0
  14. {tamar_model_client-0.1.5 → tamar_model_client-0.1.6}/tamar_model_client/generated/__init__.py +0 -0
  15. {tamar_model_client-0.1.5 → tamar_model_client-0.1.6}/tamar_model_client/generated/model_service_pb2.py +0 -0
  16. {tamar_model_client-0.1.5 → tamar_model_client-0.1.6}/tamar_model_client/generated/model_service_pb2_grpc.py +0 -0
  17. {tamar_model_client-0.1.5 → tamar_model_client-0.1.6}/tamar_model_client/schemas/__init__.py +0 -0
  18. {tamar_model_client-0.1.5 → tamar_model_client-0.1.6}/tamar_model_client/schemas/inputs.py +0 -0
  19. {tamar_model_client-0.1.5 → tamar_model_client-0.1.6}/tamar_model_client/schemas/outputs.py +0 -0
  20. {tamar_model_client-0.1.5 → tamar_model_client-0.1.6}/tamar_model_client/sync_client.py +0 -0
  21. {tamar_model_client-0.1.5 → tamar_model_client-0.1.6}/tamar_model_client.egg-info/SOURCES.txt +0 -0
  22. {tamar_model_client-0.1.5 → tamar_model_client-0.1.6}/tamar_model_client.egg-info/dependency_links.txt +0 -0
  23. {tamar_model_client-0.1.5 → tamar_model_client-0.1.6}/tamar_model_client.egg-info/requires.txt +0 -0
  24. {tamar_model_client-0.1.5 → tamar_model_client-0.1.6}/tamar_model_client.egg-info/top_level.txt +0 -0
@@ -1,15 +1,12 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tamar-model-client
3
- Version: 0.1.5
3
+ Version: 0.1.6
4
4
  Summary: A Python SDK for interacting with the Model Manager gRPC service
5
5
  Home-page: http://gitlab.tamaredge.top/project-tap/AgentOS/model-manager-client
6
6
  Author: Oscar Ou
7
7
  Author-email: oscar.ou@tamaredge.ai
8
- Classifier: Programming Language :: Python :: 3
9
- Classifier: Programming Language :: Python :: 3.8
10
- Classifier: Programming Language :: Python :: 3.9
11
- Classifier: Programming Language :: Python :: 3.10
12
8
  Classifier: Programming Language :: Python :: 3.11
9
+ Classifier: Programming Language :: Python :: 3.12
13
10
  Classifier: License :: OSI Approved :: MIT License
14
11
  Classifier: Operating System :: OS Independent
15
12
  Requires-Python: >=3.8
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
2
2
 
3
3
  setup(
4
4
  name="tamar-model-client",
5
- version="0.1.5",
5
+ version="0.1.6",
6
6
  description="A Python SDK for interacting with the Model Manager gRPC service",
7
7
  author="Oscar Ou",
8
8
  author_email="oscar.ou@tamaredge.ai",
@@ -24,11 +24,8 @@ setup(
24
24
  long_description_content_type="text/markdown",
25
25
  url="http://gitlab.tamaredge.top/project-tap/AgentOS/model-manager-client",
26
26
  classifiers=[
27
- "Programming Language :: Python :: 3",
28
- "Programming Language :: Python :: 3.8",
29
- "Programming Language :: Python :: 3.9",
30
- "Programming Language :: Python :: 3.10",
31
27
  "Programming Language :: Python :: 3.11",
28
+ "Programming Language :: Python :: 3.12",
32
29
  "License :: OSI Approved :: MIT License",
33
30
  "Operating System :: OS Independent",
34
31
  ],
@@ -4,7 +4,6 @@ import base64
4
4
  import json
5
5
  import logging
6
6
  import os
7
- import sys
8
7
 
9
8
  import grpc
10
9
  from typing import Optional, AsyncIterator, Union, Iterable
@@ -29,8 +28,7 @@ if not logging.getLogger().hasHandlers():
29
28
 
30
29
  logger = logging.getLogger(__name__)
31
30
 
32
- # 设置最大消息大小为 sys.maxsize
33
- MAX_MESSAGE_LENGTH = sys.maxsize
31
+ MAX_MESSAGE_LENGTH = 2 ** 31 - 1 # 对于32位系统
34
32
 
35
33
 
36
34
  def is_effective_value(value) -> bool:
@@ -1,15 +1,12 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tamar-model-client
3
- Version: 0.1.5
3
+ Version: 0.1.6
4
4
  Summary: A Python SDK for interacting with the Model Manager gRPC service
5
5
  Home-page: http://gitlab.tamaredge.top/project-tap/AgentOS/model-manager-client
6
6
  Author: Oscar Ou
7
7
  Author-email: oscar.ou@tamaredge.ai
8
- Classifier: Programming Language :: Python :: 3
9
- Classifier: Programming Language :: Python :: 3.8
10
- Classifier: Programming Language :: Python :: 3.9
11
- Classifier: Programming Language :: Python :: 3.10
12
8
  Classifier: Programming Language :: Python :: 3.11
9
+ Classifier: Programming Language :: Python :: 3.12
13
10
  Classifier: License :: OSI Approved :: MIT License
14
11
  Classifier: Operating System :: OS Independent
15
12
  Requires-Python: >=3.8