scalebox-sdk 0.1.9__py3-none-any.whl → 0.1.10__py3-none-any.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.
scalebox/__init__.py CHANGED
@@ -9,7 +9,7 @@ A multi-language code execution sandbox with support for:
9
9
  - Real-time callbacks and monitoring
10
10
  """
11
11
 
12
- __version__ = "0.1.9"
12
+ __version__ = "0.1.10"
13
13
  __author__ = "ScaleBox Team"
14
14
  __email__ = "dev@scalebox.dev"
15
15
 
@@ -8,69 +8,20 @@ from collections.abc import AsyncIterator, Iterable, Iterator
8
8
 
9
9
  import aiohttp
10
10
  import urllib3
11
-
12
- try:
13
- from connectrpc.client_async import AsyncConnectClient
14
- from connectrpc.client_connect import ConnectProtocolError
15
- from connectrpc.client_protocol import ConnectProtocol
16
- from connectrpc.client_sync import ConnectClient
17
- from connectrpc.headers import HeaderInput
18
- from connectrpc.server import (
19
- ClientRequest,
20
- ClientStream,
21
- ServerResponse,
22
- ServerStream,
23
- )
24
- from connectrpc.server_sync import ConnectWSGI
25
- from connectrpc.streams import AsyncStreamOutput, StreamInput, StreamOutput
26
- from connectrpc.unary import ClientStreamingOutput, UnaryOutput
27
- except ImportError:
28
- # connectrpc not available, define dummy classes
29
- class AsyncConnectClient:
30
- pass
31
-
32
- class ConnectProtocolError(Exception):
33
- pass
34
-
35
- class ConnectProtocol:
36
- CONNECT_PROTOBUF = "connect_protobuf"
37
-
38
- class ConnectClient:
39
- pass
40
-
41
- class HeaderInput:
42
- pass
43
-
44
- class ClientRequest:
45
- pass
46
-
47
- class ClientStream:
48
- pass
49
-
50
- class ServerResponse:
51
- pass
52
-
53
- class ServerStream:
54
- pass
55
-
56
- class ConnectWSGI:
57
- pass
58
-
59
- class AsyncStreamOutput:
60
- pass
61
-
62
- class StreamInput:
63
- pass
64
-
65
- class StreamOutput:
66
- pass
67
-
68
- class ClientStreamingOutput:
69
- pass
70
-
71
- class UnaryOutput:
72
- pass
73
-
11
+ from connectrpc.client_async import AsyncConnectClient
12
+ from connectrpc.client_connect import ConnectProtocolError
13
+ from connectrpc.client_protocol import ConnectProtocol
14
+ from connectrpc.client_sync import ConnectClient
15
+ from connectrpc.headers import HeaderInput
16
+ from connectrpc.server import (
17
+ ClientRequest,
18
+ ClientStream,
19
+ ServerResponse,
20
+ ServerStream,
21
+ )
22
+ from connectrpc.server_sync import ConnectWSGI
23
+ from connectrpc.streams import AsyncStreamOutput, StreamInput, StreamOutput
24
+ from connectrpc.unary import ClientStreamingOutput, UnaryOutput
74
25
 
75
26
  if typing.TYPE_CHECKING:
76
27
  # wsgiref.types was added in Python 3.11.
scalebox/version.py CHANGED
@@ -2,8 +2,8 @@
2
2
  Version information for ScaleBox Python SDK
3
3
  """
4
4
 
5
- __version__ = "0.1.9"
6
- __version_info__ = (0, 1, 9)
5
+ __version__ = "0.1.10"
6
+ __version_info__ = (0, 1, 10)
7
7
 
8
8
 
9
9
  def get_version() -> str:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: scalebox-sdk
3
- Version: 0.1.9
3
+ Version: 0.1.10
4
4
  Summary: ScaleBox Python SDK - A multi-language code execution sandbox with Python, R, Node.js, Deno/TypeScript, Java, and Bash support
5
5
  Author-email: ScaleBox Team <dev@scalebox.dev>
6
6
  Maintainer-email: ScaleBox Team <dev@scalebox.dev>
@@ -15,7 +15,6 @@ Classifier: Development Status :: 4 - Beta
15
15
  Classifier: Intended Audience :: Developers
16
16
  Classifier: Operating System :: OS Independent
17
17
  Classifier: Programming Language :: Python :: 3
18
- Classifier: Programming Language :: Python :: 3.9
19
18
  Classifier: Programming Language :: Python :: 3.10
20
19
  Classifier: Programming Language :: Python :: 3.11
21
20
  Classifier: Programming Language :: Python :: 3.12
@@ -23,16 +22,17 @@ Classifier: Programming Language :: Python :: 3.13
23
22
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
24
23
  Classifier: Topic :: Software Development :: Testing
25
24
  Classifier: Topic :: System :: Distributed Computing
26
- Requires-Python: >=3.9
25
+ Requires-Python: >=3.10
27
26
  Description-Content-Type: text/markdown
28
27
  License-File: LICENSE
29
28
  Requires-Dist: httpx>=0.24
30
29
  Requires-Dist: aiohttp>=3.8.0
31
30
  Requires-Dist: urllib3>=1.26.0
32
31
  Requires-Dist: httpcore>=0.15.0
33
- Requires-Dist: grpcio>=1.70.0
34
- Requires-Dist: grpcio-tools>=1.70.0
35
- Requires-Dist: protobuf>=4.0.0
32
+ Requires-Dist: grpcio>=1.74.0
33
+ Requires-Dist: grpcio-tools>=1.74.0
34
+ Requires-Dist: protobuf>=4.21
35
+ Requires-Dist: connect-python<0.5.0,>=0.4.2
36
36
  Requires-Dist: attrs>=21.4.0
37
37
  Requires-Dist: dataclasses-json>=0.5.0
38
38
  Requires-Dist: python-dateutil>=2.8.0
@@ -49,8 +49,6 @@ Requires-Dist: flake8>=4.0.0; extra == "dev"
49
49
  Requires-Dist: mypy>=0.950; extra == "dev"
50
50
  Requires-Dist: pre-commit>=2.17.0; extra == "dev"
51
51
  Requires-Dist: python-dotenv>=0.19.0; extra == "dev"
52
- Provides-Extra: connect
53
- Requires-Dist: connectrpc>=0.0.1; python_version >= "3.13" and extra == "connect"
54
52
  Provides-Extra: docs
55
53
  Requires-Dist: sphinx>=4.0.0; extra == "docs"
56
54
  Requires-Dist: sphinx-rtd-theme>=1.0.0; extra == "docs"
@@ -1,9 +1,9 @@
1
- scalebox/__init__.py,sha256=0-UEIPURikrb0cgUlWnejeWGDYpf7G4j5LnP2ATZ9dk,1811
1
+ scalebox/__init__.py,sha256=OOUIrZm0bIJ4fXmIlFqwDoZy-XkLEoJePeww5CK46hg,1812
2
2
  scalebox/cli.py,sha256=HWIyGuhbP1WZm839CwTysauL78xMBOoatFychxzloxQ,3904
3
3
  scalebox/connection_config.py,sha256=J49-3tYaaoRDpa1l2dbnW3T8XmLrqEZBPXlraFvPp7I,2563
4
4
  scalebox/exceptions.py,sha256=10R9VXfvgO4XJJnxyzyrzkxliyeEBX0ZC36izXa8R5k,2053
5
5
  scalebox/requirements.txt,sha256=LEYsk2VzoxKR-V44Y6qJuJ3vKdTYS79f1Gv1Ajleifo,567
6
- scalebox/version.py,sha256=wg8a1tRSkrTr3O_qmbDBYvsZieHI2enKt7J0a4-ZrCc,321
6
+ scalebox/version.py,sha256=XenxhK5dc7f1QIWN2EKuzle6QNCn6NYjWu4f8knz0D4,323
7
7
  scalebox/api/__init__.py,sha256=4Ci1HcIcKfSdloTw1BNwneudeqo1yC_MUZgwGdl9Mb8,4167
8
8
  scalebox/api/metadata.py,sha256=lg5ekfnFZYZoCoJxIPo961HEGVg_rLLRJBbw4ZApM_Y,512
9
9
  scalebox/api/client/__init__.py,sha256=0s784iDWjy52HOxrCdQVVeF8Fqrc9gzh1cLpMd9sOA8,150
@@ -84,7 +84,7 @@ scalebox/generated/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuF
84
84
  scalebox/generated/api.py,sha256=SjK64GhgaWFMkktn4ekb5p8zBZXvA88GZ4legCT27Jo,1558
85
85
  scalebox/generated/api_pb2.py,sha256=n6SmPlDl4Fx6vQl3kiw6oXUb9eTLK07_WNHjoPOhtLI,25941
86
86
  scalebox/generated/api_pb2.pyi,sha256=qdmTkmfGyLevV8hmT67DDNK8DPKh0qkIGyObPD2bvZo,30158
87
- scalebox/generated/api_pb2_connect.py,sha256=TaCrcR6jmpLQbk_2UFHH9r9xH8zCs0P56hlxP_awRaE,52547
87
+ scalebox/generated/api_pb2_connect.py,sha256=J9uLK055fQO5KrS34RvNR_rp7UyXlYk4r8KC-zn7RyI,51767
88
88
  scalebox/generated/rpc.py,sha256=-rbzeXz60kJFiik5tPOkQ6whK9ZOzJbHS-SDJ2w8cm0,1998
89
89
  scalebox/generated/versions.py,sha256=rBZ4T4ZxsrP7LVnWU-E9r_yN-x8qJXyR2q-EU-bFEMo,87
90
90
  scalebox/sandbox/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -149,9 +149,9 @@ scalebox/test/testsandbox_sync.py,sha256=l0iYqML1ci2jp-SaQ8-hZuRL7XZhgiMUwtJgJx6
149
149
  scalebox/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
150
150
  scalebox/utils/httpcoreclient.py,sha256=kjTndd-YECPe3n_G1HfGgitzRwntC21tqtIqZ62V6Lg,9868
151
151
  scalebox/utils/httpxclient.py,sha256=oLpCP2RChvnspS6Unl6ngmpY72yPokTfSqMm9m-7k38,13442
152
- scalebox_sdk-0.1.9.dist-info/licenses/LICENSE,sha256=9zP32kHlBovkfji1R6ptx3H7WjJJvnf4UuwTpfogmsY,1069
153
- scalebox_sdk-0.1.9.dist-info/METADATA,sha256=Rz5Glh4ktrpCjXZUpQ0HcQovWc3EH-4d6RiwUdMMxq0,12327
154
- scalebox_sdk-0.1.9.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
155
- scalebox_sdk-0.1.9.dist-info/entry_points.txt,sha256=g7C1Trcg8EyvAGMnHpJ3alqtZzQuMypYUQVFK13kOFM,47
156
- scalebox_sdk-0.1.9.dist-info/top_level.txt,sha256=CDjlibkbOG-MT-s1TRxs4Xe_iN1m11ii48spB6DOMj4,9
157
- scalebox_sdk-0.1.9.dist-info/RECORD,,
152
+ scalebox_sdk-0.1.10.dist-info/licenses/LICENSE,sha256=9zP32kHlBovkfji1R6ptx3H7WjJJvnf4UuwTpfogmsY,1069
153
+ scalebox_sdk-0.1.10.dist-info/METADATA,sha256=0R3C4_13amUIWVwHy3ZsRw3v449wJwXyqQUgvdkUPco,12216
154
+ scalebox_sdk-0.1.10.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
155
+ scalebox_sdk-0.1.10.dist-info/entry_points.txt,sha256=g7C1Trcg8EyvAGMnHpJ3alqtZzQuMypYUQVFK13kOFM,47
156
+ scalebox_sdk-0.1.10.dist-info/top_level.txt,sha256=CDjlibkbOG-MT-s1TRxs4Xe_iN1m11ii48spB6DOMj4,9
157
+ scalebox_sdk-0.1.10.dist-info/RECORD,,