squarecloud-api 3.7.4__tar.gz → 3.7.5__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.
- {squarecloud_api-3.7.4 → squarecloud_api-3.7.5}/PKG-INFO +1 -11
- {squarecloud_api-3.7.4 → squarecloud_api-3.7.5}/pyproject.toml +8 -9
- {squarecloud_api-3.7.4 → squarecloud_api-3.7.5}/squarecloud/data.py +5 -2
- {squarecloud_api-3.7.4 → squarecloud_api-3.7.5}/LICENSE +0 -0
- {squarecloud_api-3.7.4 → squarecloud_api-3.7.5}/README.md +0 -0
- {squarecloud_api-3.7.4 → squarecloud_api-3.7.5}/squarecloud/__init__.py +0 -0
- {squarecloud_api-3.7.4 → squarecloud_api-3.7.5}/squarecloud/_internal/constants.py +0 -0
- {squarecloud_api-3.7.4 → squarecloud_api-3.7.5}/squarecloud/_internal/decorators.py +0 -0
- {squarecloud_api-3.7.4 → squarecloud_api-3.7.5}/squarecloud/app.py +0 -0
- {squarecloud_api-3.7.4 → squarecloud_api-3.7.5}/squarecloud/client.py +0 -0
- {squarecloud_api-3.7.4 → squarecloud_api-3.7.5}/squarecloud/errors.py +0 -0
- {squarecloud_api-3.7.4 → squarecloud_api-3.7.5}/squarecloud/file.py +0 -0
- {squarecloud_api-3.7.4 → squarecloud_api-3.7.5}/squarecloud/http/__init__.py +0 -0
- {squarecloud_api-3.7.4 → squarecloud_api-3.7.5}/squarecloud/http/endpoints.py +0 -0
- {squarecloud_api-3.7.4 → squarecloud_api-3.7.5}/squarecloud/http/http_client.py +0 -0
- {squarecloud_api-3.7.4 → squarecloud_api-3.7.5}/squarecloud/listeners/__init__.py +0 -0
- {squarecloud_api-3.7.4 → squarecloud_api-3.7.5}/squarecloud/listeners/capture_listener.py +0 -0
- {squarecloud_api-3.7.4 → squarecloud_api-3.7.5}/squarecloud/listeners/request_listener.py +0 -0
- {squarecloud_api-3.7.4 → squarecloud_api-3.7.5}/squarecloud/logger.py +0 -0
- {squarecloud_api-3.7.4 → squarecloud_api-3.7.5}/squarecloud/py.typed +0 -0
- {squarecloud_api-3.7.4 → squarecloud_api-3.7.5}/squarecloud/utils.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: squarecloud-api
|
|
3
|
-
Version: 3.7.
|
|
3
|
+
Version: 3.7.5
|
|
4
4
|
Summary: SquareCloud API wrapper
|
|
5
5
|
License: MIT
|
|
6
6
|
Author: Robert Nogueira
|
|
@@ -11,17 +11,7 @@ Classifier: Programming Language :: Python :: 3
|
|
|
11
11
|
Classifier: Programming Language :: Python :: 3.13
|
|
12
12
|
Provides-Extra: pydantic
|
|
13
13
|
Requires-Dist: aiohttp (>=3.11.14,<4.0.0)
|
|
14
|
-
Requires-Dist: bandit[toml] (>=1.8.3,<2.0.0)
|
|
15
|
-
Requires-Dist: cz-conventional-gitmoji (>=0.7.0,<0.8.0)
|
|
16
|
-
Requires-Dist: isort (>=6.0.1,<7.0.0)
|
|
17
|
-
Requires-Dist: pre-commit (>=4.2.0,<5.0.0)
|
|
18
14
|
Requires-Dist: pydantic (==2.9.2) ; extra == "pydantic"
|
|
19
|
-
Requires-Dist: pytest (>=8.3.5,<9.0.0)
|
|
20
|
-
Requires-Dist: pytest-asyncio (>=0.26.0,<0.27.0)
|
|
21
|
-
Requires-Dist: pytest-cov (>=6.0.0,<7.0.0)
|
|
22
|
-
Requires-Dist: pytest-rerunfailures (>=15.0,<16.0)
|
|
23
|
-
Requires-Dist: ruff (>=0.11.2,<0.12.0)
|
|
24
|
-
Requires-Dist: taskipy (>=1.14.1,<2.0.0)
|
|
25
15
|
Requires-Dist: typing-extensions (>=4.12.2,<5.0.0)
|
|
26
16
|
Project-URL: Documentation, https://docs.squarecloud.app/sdks/py
|
|
27
17
|
Project-URL: Repository, https://github.com/squarecloudofc/wrapper-api-py
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = 'squarecloud-api'
|
|
3
|
-
version = '3.7.
|
|
3
|
+
version = '3.7.5'
|
|
4
4
|
description = 'SquareCloud API wrapper'
|
|
5
5
|
authors = ['Robert Nogueira <robertlucasnogueira@gmail.com>']
|
|
6
6
|
repository = 'https://github.com/squarecloudofc/wrapper-api-py'
|
|
@@ -14,6 +14,12 @@ packages = [{ include = "squarecloud" }]
|
|
|
14
14
|
python = '^3.13'
|
|
15
15
|
typing-extensions = "^4.12.2"
|
|
16
16
|
aiohttp = "^3.11.14"
|
|
17
|
+
pydantic = "2.9.2"
|
|
18
|
+
|
|
19
|
+
[tool.poetry.extras]
|
|
20
|
+
pydantic = ["pydantic"]
|
|
21
|
+
|
|
22
|
+
[tool.poetry.group.dev.dependencies]
|
|
17
23
|
isort = "^6.0.1"
|
|
18
24
|
pre-commit = "^4.2.0"
|
|
19
25
|
pytest = "^8.3.5"
|
|
@@ -22,14 +28,8 @@ pytest-cov = "^6.0.0"
|
|
|
22
28
|
pytest-rerunfailures = "^15.0"
|
|
23
29
|
ruff = "^0.11.2"
|
|
24
30
|
taskipy = "^1.14.1"
|
|
25
|
-
pydantic = "2.9.2"
|
|
26
31
|
bandit = {extras = ["toml"], version = "^1.8.3"}
|
|
27
32
|
cz-conventional-gitmoji = "^0.7.0"
|
|
28
|
-
|
|
29
|
-
[tool.poetry.extras]
|
|
30
|
-
pydantic = ["pydantic"]
|
|
31
|
-
|
|
32
|
-
[tool.poetry.group.dev.dependencies]
|
|
33
33
|
memory-profiler = '^0.61.0'
|
|
34
34
|
requests = '^2.31.0'
|
|
35
35
|
python-dotenv = "^1.0.1"
|
|
@@ -37,7 +37,6 @@ safety = "^3.3.1"
|
|
|
37
37
|
vulture = "^2.14"
|
|
38
38
|
mypy-extensions = "^1.0.0"
|
|
39
39
|
commitizen = "^4.5.1"
|
|
40
|
-
bandit = "^1.8.3"
|
|
41
40
|
|
|
42
41
|
[build-system]
|
|
43
42
|
requires = ['poetry-core']
|
|
@@ -60,7 +59,7 @@ profile = 'black'
|
|
|
60
59
|
line_length = 79
|
|
61
60
|
|
|
62
61
|
[tool.taskipy.tasks]
|
|
63
|
-
lint = 'isort . &&
|
|
62
|
+
lint = 'isort . && ruff check .'
|
|
64
63
|
pre_test = 'task lint'
|
|
65
64
|
test = 'pytest -vv -s --reruns 5 --only-rerun TooManyRequests --reruns-delay 90 -x --cov=tests tests'
|
|
66
65
|
post_test = 'coverage html'
|
|
@@ -240,15 +240,17 @@ class UploadData(BaseDataClass):
|
|
|
240
240
|
:ivar ram: Ram allocated for the uploaded application
|
|
241
241
|
:ivar cpu: Cpu of the uploaded application
|
|
242
242
|
:ivar description: Description of the uploaded application
|
|
243
|
-
:ivar
|
|
243
|
+
:ivar domain: Subdomain of the uploaded application (only in websites)
|
|
244
|
+
:ivar cluster: Cluster where the application is hosted
|
|
244
245
|
|
|
245
246
|
:type id: str
|
|
246
247
|
:type name: str
|
|
247
248
|
:type language: Language
|
|
248
249
|
:type ram: confloat(ge=0)
|
|
249
250
|
:type cpu: confloat(ge=0)
|
|
250
|
-
:type
|
|
251
|
+
:type domain: str | None = None
|
|
251
252
|
:type description: str | None = None
|
|
253
|
+
:type cluster: str
|
|
252
254
|
"""
|
|
253
255
|
|
|
254
256
|
id: str
|
|
@@ -256,6 +258,7 @@ class UploadData(BaseDataClass):
|
|
|
256
258
|
language: Language
|
|
257
259
|
ram: float
|
|
258
260
|
cpu: float
|
|
261
|
+
cluster: str
|
|
259
262
|
domain: str | None = None
|
|
260
263
|
description: str | None = None
|
|
261
264
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|