gazu 1.1.0__tar.gz → 1.1.1__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.
- {gazu-1.1.0 → gazu-1.1.1}/PKG-INFO +5 -4
- gazu-1.1.1/gazu/__version__.py +1 -0
- {gazu-1.1.0 → gazu-1.1.1}/gazu/files.py +4 -4
- {gazu-1.1.0 → gazu-1.1.1}/gazu.egg-info/PKG-INFO +5 -4
- {gazu-1.1.0 → gazu-1.1.1}/gazu.egg-info/requires.txt +4 -4
- {gazu-1.1.0 → gazu-1.1.1}/setup.cfg +3 -2
- {gazu-1.1.0 → gazu-1.1.1}/setup.py +1 -1
- {gazu-1.1.0 → gazu-1.1.1}/tests/test_files.py +7 -7
- gazu-1.1.0/gazu/__version__.py +0 -1
- {gazu-1.1.0 → gazu-1.1.1}/LICENSE +0 -0
- {gazu-1.1.0 → gazu-1.1.1}/README.rst +0 -0
- {gazu-1.1.0 → gazu-1.1.1}/gazu/__init__.py +0 -0
- {gazu-1.1.0 → gazu-1.1.1}/gazu/asset.py +0 -0
- {gazu-1.1.0 → gazu-1.1.1}/gazu/cache.py +0 -0
- {gazu-1.1.0 → gazu-1.1.1}/gazu/casting.py +0 -0
- {gazu-1.1.0 → gazu-1.1.1}/gazu/client.py +0 -0
- {gazu-1.1.0 → gazu-1.1.1}/gazu/concept.py +0 -0
- {gazu-1.1.0 → gazu-1.1.1}/gazu/context.py +0 -0
- {gazu-1.1.0 → gazu-1.1.1}/gazu/edit.py +0 -0
- {gazu-1.1.0 → gazu-1.1.1}/gazu/encoder.py +0 -0
- {gazu-1.1.0 → gazu-1.1.1}/gazu/entity.py +0 -0
- {gazu-1.1.0 → gazu-1.1.1}/gazu/events.py +0 -0
- {gazu-1.1.0 → gazu-1.1.1}/gazu/exception.py +0 -0
- {gazu-1.1.0 → gazu-1.1.1}/gazu/helpers.py +0 -0
- {gazu-1.1.0 → gazu-1.1.1}/gazu/person.py +0 -0
- {gazu-1.1.0 → gazu-1.1.1}/gazu/playlist.py +0 -0
- {gazu-1.1.0 → gazu-1.1.1}/gazu/project.py +0 -0
- {gazu-1.1.0 → gazu-1.1.1}/gazu/py.typed +0 -0
- {gazu-1.1.0 → gazu-1.1.1}/gazu/scene.py +0 -0
- {gazu-1.1.0 → gazu-1.1.1}/gazu/search.py +0 -0
- {gazu-1.1.0 → gazu-1.1.1}/gazu/shot.py +0 -0
- {gazu-1.1.0 → gazu-1.1.1}/gazu/sorting.py +0 -0
- {gazu-1.1.0 → gazu-1.1.1}/gazu/sync.py +0 -0
- {gazu-1.1.0 → gazu-1.1.1}/gazu/task.py +0 -0
- {gazu-1.1.0 → gazu-1.1.1}/gazu/user.py +0 -0
- {gazu-1.1.0 → gazu-1.1.1}/gazu.egg-info/SOURCES.txt +0 -0
- {gazu-1.1.0 → gazu-1.1.1}/gazu.egg-info/dependency_links.txt +0 -0
- {gazu-1.1.0 → gazu-1.1.1}/gazu.egg-info/not-zip-safe +0 -0
- {gazu-1.1.0 → gazu-1.1.1}/gazu.egg-info/top_level.txt +0 -0
- {gazu-1.1.0 → gazu-1.1.1}/pyproject.toml +0 -0
- {gazu-1.1.0 → gazu-1.1.1}/tests/test_asset.py +0 -0
- {gazu-1.1.0 → gazu-1.1.1}/tests/test_cache.py +0 -0
- {gazu-1.1.0 → gazu-1.1.1}/tests/test_casting.py +0 -0
- {gazu-1.1.0 → gazu-1.1.1}/tests/test_client.py +0 -0
- {gazu-1.1.0 → gazu-1.1.1}/tests/test_concept.py +0 -0
- {gazu-1.1.0 → gazu-1.1.1}/tests/test_context.py +0 -0
- {gazu-1.1.0 → gazu-1.1.1}/tests/test_edit.py +0 -0
- {gazu-1.1.0 → gazu-1.1.1}/tests/test_entity.py +0 -0
- {gazu-1.1.0 → gazu-1.1.1}/tests/test_helpers.py +0 -0
- {gazu-1.1.0 → gazu-1.1.1}/tests/test_person.py +0 -0
- {gazu-1.1.0 → gazu-1.1.1}/tests/test_playlist.py +0 -0
- {gazu-1.1.0 → gazu-1.1.1}/tests/test_project.py +0 -0
- {gazu-1.1.0 → gazu-1.1.1}/tests/test_scene.py +0 -0
- {gazu-1.1.0 → gazu-1.1.1}/tests/test_search.py +0 -0
- {gazu-1.1.0 → gazu-1.1.1}/tests/test_shot.py +0 -0
- {gazu-1.1.0 → gazu-1.1.1}/tests/test_sync.py +0 -0
- {gazu-1.1.0 → gazu-1.1.1}/tests/test_task.py +0 -0
- {gazu-1.1.0 → gazu-1.1.1}/tests/test_user.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: gazu
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.1
|
|
4
4
|
Summary: Gazu is a client for Zou, the API to store the data of your CG production.
|
|
5
5
|
Home-page: https://gazu.cg-wire.com/
|
|
6
6
|
Author: CG Wire
|
|
@@ -19,10 +19,11 @@ Classifier: Programming Language :: Python :: 3.10
|
|
|
19
19
|
Classifier: Programming Language :: Python :: 3.11
|
|
20
20
|
Classifier: Programming Language :: Python :: 3.12
|
|
21
21
|
Classifier: Programming Language :: Python :: 3.13
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
22
23
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
23
24
|
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
24
25
|
Classifier: Topic :: Multimedia :: Graphics
|
|
25
|
-
Requires-Python: >=
|
|
26
|
+
Requires-Python: >= 3.7
|
|
26
27
|
License-File: LICENSE
|
|
27
28
|
Requires-Dist: python-socketio[client]<6,>=5.11.0
|
|
28
29
|
Requires-Dist: requests>=2.25.1
|
|
@@ -38,8 +39,8 @@ Requires-Dist: requests_mock; extra == "test"
|
|
|
38
39
|
Requires-Dist: multipart; python_version >= "3.13" and extra == "test"
|
|
39
40
|
Provides-Extra: lint
|
|
40
41
|
Requires-Dist: autoflake==2.3.1; python_version >= "3.8" and extra == "lint"
|
|
41
|
-
Requires-Dist: black==25.
|
|
42
|
-
Requires-Dist: pre-commit==4.
|
|
42
|
+
Requires-Dist: black==25.12.0; python_version >= "3.10" and extra == "lint"
|
|
43
|
+
Requires-Dist: pre-commit==4.5.1; python_version >= "3.10" and extra == "lint"
|
|
43
44
|
Dynamic: license-file
|
|
44
45
|
Dynamic: requires-python
|
|
45
46
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "1.1.1"
|
|
@@ -1590,7 +1590,9 @@ def get_attachment_thumbnail_url(
|
|
|
1590
1590
|
str: URL to the attachment thumbnail.
|
|
1591
1591
|
"""
|
|
1592
1592
|
attachment_file = normalize_model_parameter(attachment_file)
|
|
1593
|
-
return
|
|
1593
|
+
return (
|
|
1594
|
+
"pictures/thumbnails/attachment-files/%s.png" % attachment_file["id"]
|
|
1595
|
+
)
|
|
1594
1596
|
|
|
1595
1597
|
|
|
1596
1598
|
def download_attachment_thumbnail(
|
|
@@ -1716,9 +1718,7 @@ def extract_tile_from_preview(
|
|
|
1716
1718
|
requests.Response: Response object containing the extracted tile.
|
|
1717
1719
|
"""
|
|
1718
1720
|
preview_file = normalize_model_parameter(preview_file)
|
|
1719
|
-
url = "pictures/preview-files/%s/extract-tile" % (
|
|
1720
|
-
preview_file["id"]
|
|
1721
|
-
)
|
|
1721
|
+
url = "pictures/preview-files/%s/extract-tile" % (preview_file["id"])
|
|
1722
1722
|
return raw.download(url, file_path, client=client)
|
|
1723
1723
|
|
|
1724
1724
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: gazu
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.1
|
|
4
4
|
Summary: Gazu is a client for Zou, the API to store the data of your CG production.
|
|
5
5
|
Home-page: https://gazu.cg-wire.com/
|
|
6
6
|
Author: CG Wire
|
|
@@ -19,10 +19,11 @@ Classifier: Programming Language :: Python :: 3.10
|
|
|
19
19
|
Classifier: Programming Language :: Python :: 3.11
|
|
20
20
|
Classifier: Programming Language :: Python :: 3.12
|
|
21
21
|
Classifier: Programming Language :: Python :: 3.13
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
22
23
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
23
24
|
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
24
25
|
Classifier: Topic :: Multimedia :: Graphics
|
|
25
|
-
Requires-Python: >=
|
|
26
|
+
Requires-Python: >= 3.7
|
|
26
27
|
License-File: LICENSE
|
|
27
28
|
Requires-Dist: python-socketio[client]<6,>=5.11.0
|
|
28
29
|
Requires-Dist: requests>=2.25.1
|
|
@@ -38,8 +39,8 @@ Requires-Dist: requests_mock; extra == "test"
|
|
|
38
39
|
Requires-Dist: multipart; python_version >= "3.13" and extra == "test"
|
|
39
40
|
Provides-Extra: lint
|
|
40
41
|
Requires-Dist: autoflake==2.3.1; python_version >= "3.8" and extra == "lint"
|
|
41
|
-
Requires-Dist: black==25.
|
|
42
|
-
Requires-Dist: pre-commit==4.
|
|
42
|
+
Requires-Dist: black==25.12.0; python_version >= "3.10" and extra == "lint"
|
|
43
|
+
Requires-Dist: pre-commit==4.5.1; python_version >= "3.10" and extra == "lint"
|
|
43
44
|
Dynamic: license-file
|
|
44
45
|
Dynamic: requires-python
|
|
45
46
|
|
|
@@ -11,13 +11,13 @@ wheel
|
|
|
11
11
|
|
|
12
12
|
[lint]
|
|
13
13
|
|
|
14
|
+
[lint:python_version >= "3.10"]
|
|
15
|
+
black==25.12.0
|
|
16
|
+
pre-commit==4.5.1
|
|
17
|
+
|
|
14
18
|
[lint:python_version >= "3.8"]
|
|
15
19
|
autoflake==2.3.1
|
|
16
20
|
|
|
17
|
-
[lint:python_version >= "3.9"]
|
|
18
|
-
black==25.11.0
|
|
19
|
-
pre-commit==4.4.0
|
|
20
|
-
|
|
21
21
|
[test]
|
|
22
22
|
pytest
|
|
23
23
|
pytest-cov
|
|
@@ -21,6 +21,7 @@ classifiers =
|
|
|
21
21
|
Programming Language :: Python :: 3.11
|
|
22
22
|
Programming Language :: Python :: 3.12
|
|
23
23
|
Programming Language :: Python :: 3.13
|
|
24
|
+
Programming Language :: Python :: 3.14
|
|
24
25
|
Programming Language :: Python :: Implementation :: CPython
|
|
25
26
|
Programming Language :: Python :: Implementation :: PyPy
|
|
26
27
|
Topic :: Multimedia :: Graphics
|
|
@@ -48,8 +49,8 @@ test =
|
|
|
48
49
|
multipart; python_version >= '3.13'
|
|
49
50
|
lint =
|
|
50
51
|
autoflake==2.3.1; python_version >= '3.8'
|
|
51
|
-
black==25.
|
|
52
|
-
pre-commit==4.
|
|
52
|
+
black==25.12.0; python_version >= '3.10'
|
|
53
|
+
pre-commit==4.5.1; python_version >= '3.10'
|
|
53
54
|
|
|
54
55
|
[bdist_wheel]
|
|
55
56
|
universal = 1
|
|
@@ -1304,9 +1304,7 @@ class FilesTestCase(unittest.TestCase):
|
|
|
1304
1304
|
os.remove("./test.mp4")
|
|
1305
1305
|
|
|
1306
1306
|
def test_get_attachment_thumbnail_url(self):
|
|
1307
|
-
url = gazu.files.get_attachment_thumbnail_url(
|
|
1308
|
-
fakeid("attachment-1")
|
|
1309
|
-
)
|
|
1307
|
+
url = gazu.files.get_attachment_thumbnail_url(fakeid("attachment-1"))
|
|
1310
1308
|
expected = "pictures/thumbnails/attachment-files/%s.png" % fakeid(
|
|
1311
1309
|
"attachment-1"
|
|
1312
1310
|
)
|
|
@@ -1332,9 +1330,8 @@ class FilesTestCase(unittest.TestCase):
|
|
|
1332
1330
|
def test_extract_frame_from_preview(self):
|
|
1333
1331
|
with open("./tests/fixtures/v1.png", "rb") as frame_file:
|
|
1334
1332
|
with requests_mock.mock() as mock:
|
|
1335
|
-
path = (
|
|
1336
|
-
"
|
|
1337
|
-
% fakeid("preview-1")
|
|
1333
|
+
path = "pictures/preview-files/%s/extract-frame/100" % fakeid(
|
|
1334
|
+
"preview-1"
|
|
1338
1335
|
)
|
|
1339
1336
|
mock.get(gazu.client.get_full_url(path), body=frame_file)
|
|
1340
1337
|
gazu.files.extract_frame_from_preview(
|
|
@@ -1366,7 +1363,10 @@ class FilesTestCase(unittest.TestCase):
|
|
|
1366
1363
|
updates = [{"id": fakeid("annotation-1"), "x": 150, "y": 250}]
|
|
1367
1364
|
deletions = [fakeid("annotation-2")]
|
|
1368
1365
|
result = {
|
|
1369
|
-
"id": fakeid("annotation-1"),
|
|
1366
|
+
"id": fakeid("annotation-1"),
|
|
1367
|
+
"x": 150,
|
|
1368
|
+
"y": 250,
|
|
1369
|
+
"type": "drawing",
|
|
1370
1370
|
}
|
|
1371
1371
|
mock_route(mock, "PUT", path, text=result)
|
|
1372
1372
|
updated = gazu.files.update_preview_annotations(
|
gazu-1.1.0/gazu/__version__.py
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "1.1.0"
|
|
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
|
|
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
|
|
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
|