scale-gp-beta 0.1.0a40__py3-none-any.whl → 0.1.0a41__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.
- scale_gp_beta/_base_client.py +134 -11
- scale_gp_beta/_client.py +38 -0
- scale_gp_beta/_models.py +16 -1
- scale_gp_beta/_types.py +9 -0
- scale_gp_beta/_version.py +1 -1
- scale_gp_beta/resources/__init__.py +14 -0
- scale_gp_beta/resources/build.py +582 -0
- scale_gp_beta/types/__init__.py +6 -0
- scale_gp_beta/types/build_cancel_response.py +38 -0
- scale_gp_beta/types/build_create_params.py +26 -0
- scale_gp_beta/types/build_create_response.py +38 -0
- scale_gp_beta/types/build_list_params.py +19 -0
- scale_gp_beta/types/build_list_response.py +38 -0
- scale_gp_beta/types/build_retrieve_response.py +38 -0
- {scale_gp_beta-0.1.0a40.dist-info → scale_gp_beta-0.1.0a41.dist-info}/METADATA +12 -3
- {scale_gp_beta-0.1.0a40.dist-info → scale_gp_beta-0.1.0a41.dist-info}/RECORD +18 -11
- {scale_gp_beta-0.1.0a40.dist-info → scale_gp_beta-0.1.0a41.dist-info}/licenses/LICENSE +1 -1
- {scale_gp_beta-0.1.0a40.dist-info → scale_gp_beta-0.1.0a41.dist-info}/WHEEL +0 -0
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from typing import Optional
|
|
4
|
+
from datetime import datetime
|
|
5
|
+
from typing_extensions import Literal
|
|
6
|
+
|
|
7
|
+
from .._models import BaseModel
|
|
8
|
+
from .shared.identity import Identity
|
|
9
|
+
|
|
10
|
+
__all__ = ["BuildCreateResponse"]
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class BuildCreateResponse(BaseModel):
|
|
14
|
+
account_id: str
|
|
15
|
+
|
|
16
|
+
build_id: str
|
|
17
|
+
|
|
18
|
+
created_at: datetime
|
|
19
|
+
|
|
20
|
+
created_by: Identity
|
|
21
|
+
"""The identity that created the entity."""
|
|
22
|
+
|
|
23
|
+
image_name: str
|
|
24
|
+
|
|
25
|
+
image_tag: str
|
|
26
|
+
|
|
27
|
+
image_url: str
|
|
28
|
+
|
|
29
|
+
status: str
|
|
30
|
+
"""The current build status from the cloud provider"""
|
|
31
|
+
|
|
32
|
+
build_end_time: Optional[datetime] = None
|
|
33
|
+
"""When the cloud provider finished the build"""
|
|
34
|
+
|
|
35
|
+
build_start_time: Optional[datetime] = None
|
|
36
|
+
"""When the cloud provider started the build"""
|
|
37
|
+
|
|
38
|
+
object: Optional[Literal["agentex_cloud_build"]] = None
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing_extensions import Literal, TypedDict
|
|
6
|
+
|
|
7
|
+
__all__ = ["BuildListParams"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class BuildListParams(TypedDict, total=False):
|
|
11
|
+
ending_before: str
|
|
12
|
+
|
|
13
|
+
limit: int
|
|
14
|
+
|
|
15
|
+
sort_by: str
|
|
16
|
+
|
|
17
|
+
sort_order: Literal["asc", "desc"]
|
|
18
|
+
|
|
19
|
+
starting_after: str
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from typing import Optional
|
|
4
|
+
from datetime import datetime
|
|
5
|
+
from typing_extensions import Literal
|
|
6
|
+
|
|
7
|
+
from .._models import BaseModel
|
|
8
|
+
from .shared.identity import Identity
|
|
9
|
+
|
|
10
|
+
__all__ = ["BuildListResponse"]
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class BuildListResponse(BaseModel):
|
|
14
|
+
account_id: str
|
|
15
|
+
|
|
16
|
+
build_id: str
|
|
17
|
+
|
|
18
|
+
created_at: datetime
|
|
19
|
+
|
|
20
|
+
created_by: Identity
|
|
21
|
+
"""The identity that created the entity."""
|
|
22
|
+
|
|
23
|
+
image_name: str
|
|
24
|
+
|
|
25
|
+
image_tag: str
|
|
26
|
+
|
|
27
|
+
image_url: str
|
|
28
|
+
|
|
29
|
+
status: str
|
|
30
|
+
"""The current build status from the cloud provider"""
|
|
31
|
+
|
|
32
|
+
build_end_time: Optional[datetime] = None
|
|
33
|
+
"""When the cloud provider finished the build"""
|
|
34
|
+
|
|
35
|
+
build_start_time: Optional[datetime] = None
|
|
36
|
+
"""When the cloud provider started the build"""
|
|
37
|
+
|
|
38
|
+
object: Optional[Literal["agentex_cloud_build"]] = None
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from typing import Optional
|
|
4
|
+
from datetime import datetime
|
|
5
|
+
from typing_extensions import Literal
|
|
6
|
+
|
|
7
|
+
from .._models import BaseModel
|
|
8
|
+
from .shared.identity import Identity
|
|
9
|
+
|
|
10
|
+
__all__ = ["BuildRetrieveResponse"]
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class BuildRetrieveResponse(BaseModel):
|
|
14
|
+
account_id: str
|
|
15
|
+
|
|
16
|
+
build_id: str
|
|
17
|
+
|
|
18
|
+
created_at: datetime
|
|
19
|
+
|
|
20
|
+
created_by: Identity
|
|
21
|
+
"""The identity that created the entity."""
|
|
22
|
+
|
|
23
|
+
image_name: str
|
|
24
|
+
|
|
25
|
+
image_tag: str
|
|
26
|
+
|
|
27
|
+
image_url: str
|
|
28
|
+
|
|
29
|
+
status: str
|
|
30
|
+
"""The current build status from the cloud provider"""
|
|
31
|
+
|
|
32
|
+
build_end_time: Optional[datetime] = None
|
|
33
|
+
"""When the cloud provider finished the build"""
|
|
34
|
+
|
|
35
|
+
build_start_time: Optional[datetime] = None
|
|
36
|
+
"""When the cloud provider started the build"""
|
|
37
|
+
|
|
38
|
+
object: Optional[Literal["agentex_cloud_build"]] = None
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: scale-gp-beta
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.0a41
|
|
4
4
|
Summary: The official Python library for the Scale GP API
|
|
5
5
|
Project-URL: Homepage, https://github.com/scaleapi/sgp-python-beta
|
|
6
6
|
Project-URL: Repository, https://github.com/scaleapi/sgp-python-beta
|
|
@@ -44,6 +44,15 @@ and offers both synchronous and asynchronous clients powered by [httpx](https://
|
|
|
44
44
|
|
|
45
45
|
It is generated with [Stainless](https://www.stainless.com/).
|
|
46
46
|
|
|
47
|
+
## MCP Server
|
|
48
|
+
|
|
49
|
+
Use the Scale GP MCP Server to enable AI assistants to interact with this API, allowing them to explore endpoints, make test requests, and use documentation to help integrate this SDK into your application.
|
|
50
|
+
|
|
51
|
+
[](https://cursor.com/en-US/install-mcp?name=scale-gp-mcp&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsInNjYWxlLWdwLW1jcCJdfQ)
|
|
52
|
+
[](https://vscode.stainless.com/mcp/%7B%22name%22%3A%22scale-gp-mcp%22%2C%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22scale-gp-mcp%22%5D%7D)
|
|
53
|
+
|
|
54
|
+
> Note: You may need to set environment variables in your MCP client.
|
|
55
|
+
|
|
47
56
|
## Documentation
|
|
48
57
|
|
|
49
58
|
The REST API documentation can be found on [docs.gp.scale.com](https://docs.gp.scale.com). The full API of this library can be found in [api.md](https://github.com/scaleapi/sgp-python-beta/tree/main/api.md).
|
|
@@ -52,7 +61,7 @@ The REST API documentation can be found on [docs.gp.scale.com](https://docs.gp.s
|
|
|
52
61
|
|
|
53
62
|
```sh
|
|
54
63
|
# install from PyPI
|
|
55
|
-
pip install --pre scale-gp-beta
|
|
64
|
+
pip install '--pre scale-gp-beta'
|
|
56
65
|
```
|
|
57
66
|
|
|
58
67
|
## Usage
|
|
@@ -358,7 +367,7 @@ You can enable this by installing `aiohttp`:
|
|
|
358
367
|
|
|
359
368
|
```sh
|
|
360
369
|
# install from PyPI
|
|
361
|
-
pip install --pre scale-gp-beta[aiohttp]
|
|
370
|
+
pip install '--pre scale-gp-beta[aiohttp]'
|
|
362
371
|
```
|
|
363
372
|
|
|
364
373
|
Then you can enable it by instantiating the client with `http_client=DefaultAioHttpClient()`:
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
scale_gp_beta/__init__.py,sha256=MFsKxnaLkZ-Rqv127bA2T0OpHD3me1OnwIom-0I2gB0,2742
|
|
2
|
-
scale_gp_beta/_base_client.py,sha256=
|
|
3
|
-
scale_gp_beta/_client.py,sha256=
|
|
2
|
+
scale_gp_beta/_base_client.py,sha256=J1u-5BLJ_gL10TknCyP420e8kRngnTzGh6bY5AcZez8,73416
|
|
3
|
+
scale_gp_beta/_client.py,sha256=0fFnb2Te5RY5NqhgOOEx_l_218gDReBBnfUPrTtmI6Y,41097
|
|
4
4
|
scale_gp_beta/_compat.py,sha256=DQBVORjFb33zch24jzkhM14msvnzY7mmSmgDLaVFUM8,6562
|
|
5
5
|
scale_gp_beta/_constants.py,sha256=S14PFzyN9-I31wiV7SmIlL5Ga0MLHxdvegInGdXH7tM,462
|
|
6
6
|
scale_gp_beta/_exceptions.py,sha256=95GM5CLFtP-QMjjmzsr5ajjZOyEZvyaETfGmqNPR8YM,3226
|
|
7
7
|
scale_gp_beta/_files.py,sha256=HOCL7NYupx5rmxPWzvzifOW_LkRj0zBssmxqLFtYURI,3616
|
|
8
|
-
scale_gp_beta/_models.py,sha256=
|
|
8
|
+
scale_gp_beta/_models.py,sha256=R3MpO2z4XhTAnD3ObEks32suRXleF1g7BEgQTOLIxTs,32112
|
|
9
9
|
scale_gp_beta/_qs.py,sha256=craIKyvPktJ94cvf9zn8j8ekG9dWJzhWv0ob34lIOv4,4828
|
|
10
10
|
scale_gp_beta/_resource.py,sha256=siZly_U6D0AOVLAzaOsqUdEFFzVMbWRj-ml30nvRp7E,1118
|
|
11
11
|
scale_gp_beta/_response.py,sha256=GemuybPk0uemovTlGHyHkj-ScYTTDJA0jqH5FQqIPwQ,28852
|
|
12
12
|
scale_gp_beta/_streaming.py,sha256=-_hEXPmI3ouK-z-AqZgV-7E0nsg0hGFbSay_4DS0G4E,10233
|
|
13
|
-
scale_gp_beta/_types.py,sha256=
|
|
14
|
-
scale_gp_beta/_version.py,sha256=
|
|
13
|
+
scale_gp_beta/_types.py,sha256=91u4yp566AoT5VoDhNGZbmJ213XzpSbyPHgZLCBqAs8,7601
|
|
14
|
+
scale_gp_beta/_version.py,sha256=n4_fu2WdZu0bO0wYwmjuwZm6voO_F8uLlhqB7e7nFJU,174
|
|
15
15
|
scale_gp_beta/pagination.py,sha256=t-U86PYxl20VRsz8VXOMJJDe7HxkX7ISFMvRNbBNy9s,4054
|
|
16
16
|
scale_gp_beta/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
17
17
|
scale_gp_beta/_utils/__init__.py,sha256=7fch0GT9zpNnErbciSpUNa-SjTxxjY6kxHxKMOM4AGs,2305
|
|
@@ -43,7 +43,8 @@ scale_gp_beta/lib/tracing/integrations/openai/__init__.py,sha256=47DEQpj8HBSa-_T
|
|
|
43
43
|
scale_gp_beta/lib/tracing/integrations/openai/openai_span_type_map.py,sha256=WIPVdOd1aaVmenZuK3PJ7pZMnk_uJRX5vQXj0s6O9ow,792
|
|
44
44
|
scale_gp_beta/lib/tracing/integrations/openai/openai_tracing_sgp_processor.py,sha256=o-Fp_V7U9cC1kKP0_750GQInKGlF7KAdpIbGTmyu2tg,5270
|
|
45
45
|
scale_gp_beta/lib/tracing/integrations/openai/utils.py,sha256=DqCb7_QX-OT4y34K9wtoXIv7-Yk_IOvSbQvC96Sgpy8,2183
|
|
46
|
-
scale_gp_beta/resources/__init__.py,sha256=
|
|
46
|
+
scale_gp_beta/resources/__init__.py,sha256=7OBbTu19SH3ZS6kO0VWCPIOUk66prBJpLy6PVP4W8ZA,7440
|
|
47
|
+
scale_gp_beta/resources/build.py,sha256=7m6FhLsasO7aGazAvqvCD_BHmnDicPQspXg4DCram5M,22002
|
|
47
48
|
scale_gp_beta/resources/completions.py,sha256=wtVhUh5LMwXolICQhpeCZUlzRM-ChLSvLiQm92sO-EQ,30934
|
|
48
49
|
scale_gp_beta/resources/credentials.py,sha256=Eax7ouhJQ61CHy-mQlmBiylBKiNfGhBFoWlBiuHHQH4,32903
|
|
49
50
|
scale_gp_beta/resources/dataset_items.py,sha256=-cJJ1ikJ5mDUGIRkhqTuY652h0EAP5Wa-lmH2gA782w,23278
|
|
@@ -62,9 +63,15 @@ scale_gp_beta/resources/chat/completions.py,sha256=yOnyGK2QBaFNL0el5aL1A5T6JmBKo
|
|
|
62
63
|
scale_gp_beta/resources/files/__init__.py,sha256=VgAtqUimN5Kf_-lmEaNBnu_ApGegKsJQ1zNf-42MXFA,1002
|
|
63
64
|
scale_gp_beta/resources/files/content.py,sha256=QDtcnsK2my4-ndmwyaR6zyQnV1fEjIJ7CSDoyXUcYxg,5762
|
|
64
65
|
scale_gp_beta/resources/files/files.py,sha256=dowTYD-xKhCI17zINYZywUtzv7VwofjV1tY6AfncHjE,24603
|
|
65
|
-
scale_gp_beta/types/__init__.py,sha256=
|
|
66
|
+
scale_gp_beta/types/__init__.py,sha256=cgPnOBpdkmIF5fyr5uCCXkPewwv4fFdXVPjEq7P3pIc,6899
|
|
66
67
|
scale_gp_beta/types/approval_status.py,sha256=rI70l7e2ey2ax8tR_sBkziVSirq_QaDDV1bHgNrfCWQ,227
|
|
67
68
|
scale_gp_beta/types/assessment_type.py,sha256=_4V6RZ5wUyU0UYrDjCoIRdaiiZtZVpY6DMsW1QClq-c,271
|
|
69
|
+
scale_gp_beta/types/build_cancel_response.py,sha256=ghlldFT3BpPZbbDa0Ag0Jj4gJKXXe9rDxX9BPN9j29Q,867
|
|
70
|
+
scale_gp_beta/types/build_create_params.py,sha256=3alD9BW5k1rHJxgUE4qj4Bj4xeMevV2jY0makgJzrHs,628
|
|
71
|
+
scale_gp_beta/types/build_create_response.py,sha256=-llE80GkT8AnycW4Bl8XacbhnkJQCdV8oNxG2MnsFe8,867
|
|
72
|
+
scale_gp_beta/types/build_list_params.py,sha256=Vwq0wtyTrHPcaRpr-qIBBjf2BRqISbgo7J5S8qUAHG8,374
|
|
73
|
+
scale_gp_beta/types/build_list_response.py,sha256=SBAAuCRpQw3C6dbE43GhPGQMAHQ9YYTtZ8xAlcgbYro,863
|
|
74
|
+
scale_gp_beta/types/build_retrieve_response.py,sha256=wnSjOzg2Cq61FCBu48Pn1v2a6LKFj5Hyz5jsqSLJGVA,871
|
|
68
75
|
scale_gp_beta/types/completion.py,sha256=1UOFGSkAmTCfhKGSQQLEU-PHGdnWLV1y0usa1UizBBQ,5406
|
|
69
76
|
scale_gp_beta/types/completion_create_params.py,sha256=XWyto29VVJQ5nJTykSXPwlW5b4CZxGU7GSlk1hMwDxo,3114
|
|
70
77
|
scale_gp_beta/types/component.py,sha256=0dLrvTEHpF628wZ-CIniOpsOzKfnLlaZy4OPIFDzoF0,403
|
|
@@ -150,7 +157,7 @@ scale_gp_beta/types/chat/model_definition.py,sha256=OWcZ4StZ4K2wfL7FqHNK-HqxLjy9
|
|
|
150
157
|
scale_gp_beta/types/files/__init__.py,sha256=OKfJYcKb4NObdiRObqJV_dOyDQ8feXekDUge2o_4pXQ,122
|
|
151
158
|
scale_gp_beta/types/shared/__init__.py,sha256=6-walu4YgOTaOj7wsidywTj67PyBJaNYFqasfiTP9-4,130
|
|
152
159
|
scale_gp_beta/types/shared/identity.py,sha256=4XDoJjsPI4lkwyaYyNstw7OunIzJjVWujPoZPrNdoQA,348
|
|
153
|
-
scale_gp_beta-0.1.
|
|
154
|
-
scale_gp_beta-0.1.
|
|
155
|
-
scale_gp_beta-0.1.
|
|
156
|
-
scale_gp_beta-0.1.
|
|
160
|
+
scale_gp_beta-0.1.0a41.dist-info/METADATA,sha256=_laC_GUGD5XqCQBuz3vNpUPUA953GKs_SnsRqLepACU,29627
|
|
161
|
+
scale_gp_beta-0.1.0a41.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
|
|
162
|
+
scale_gp_beta-0.1.0a41.dist-info/licenses/LICENSE,sha256=LvNy55OMOsNOGUqjHCwQ6uYO0IuU9LJp1CJRpoz0abY,11338
|
|
163
|
+
scale_gp_beta-0.1.0a41.dist-info/RECORD,,
|
|
@@ -186,7 +186,7 @@
|
|
|
186
186
|
same "printed page" as the copyright notice for easier
|
|
187
187
|
identification within third-party archives.
|
|
188
188
|
|
|
189
|
-
Copyright
|
|
189
|
+
Copyright 2026 Scale GP
|
|
190
190
|
|
|
191
191
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
192
|
you may not use this file except in compliance with the License.
|
|
File without changes
|