zou 0.19.61__py3-none-any.whl → 0.19.63__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.
- zou/__init__.py +1 -1
- zou/cli.py +11 -12
- {zou-0.19.61.dist-info → zou-0.19.63.dist-info}/METADATA +7 -7
- {zou-0.19.61.dist-info → zou-0.19.63.dist-info}/RECORD +8 -8
- {zou-0.19.61.dist-info → zou-0.19.63.dist-info}/LICENSE +0 -0
- {zou-0.19.61.dist-info → zou-0.19.63.dist-info}/WHEEL +0 -0
- {zou-0.19.61.dist-info → zou-0.19.63.dist-info}/entry_points.txt +0 -0
- {zou-0.19.61.dist-info → zou-0.19.63.dist-info}/top_level.txt +0 -0
zou/__init__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "0.19.
|
|
1
|
+
__version__ = "0.19.63"
|
zou/cli.py
CHANGED
|
@@ -30,7 +30,7 @@ def cli():
|
|
|
30
30
|
@cli.command()
|
|
31
31
|
def version():
|
|
32
32
|
"""
|
|
33
|
-
|
|
33
|
+
Return current installation version.
|
|
34
34
|
"""
|
|
35
35
|
from zou import __version__
|
|
36
36
|
|
|
@@ -39,7 +39,7 @@ def version():
|
|
|
39
39
|
|
|
40
40
|
@cli.command()
|
|
41
41
|
def init_db():
|
|
42
|
-
"
|
|
42
|
+
"Create database table (database must be created through PG client)."
|
|
43
43
|
|
|
44
44
|
print("Creating database and tables...")
|
|
45
45
|
with app.app_context():
|
|
@@ -50,17 +50,16 @@ def init_db():
|
|
|
50
50
|
@cli.command()
|
|
51
51
|
def is_db_ready():
|
|
52
52
|
"""
|
|
53
|
-
Return a message telling
|
|
54
|
-
initiliazed or not."
|
|
53
|
+
Return a message telling whether the database is initialized or not.
|
|
55
54
|
"""
|
|
56
55
|
with app.app_context():
|
|
57
56
|
is_init = dbhelpers.is_init()
|
|
58
57
|
if is_init:
|
|
59
|
-
print("Database is
|
|
58
|
+
print("Database is initialized.")
|
|
60
59
|
else:
|
|
61
60
|
print(
|
|
62
|
-
"Database is not
|
|
63
|
-
"Run 'zou init-db' and 'init-data'."
|
|
61
|
+
"Database is not initialized. "
|
|
62
|
+
"Run 'zou init-db' and 'zou init-data'."
|
|
64
63
|
)
|
|
65
64
|
|
|
66
65
|
|
|
@@ -99,7 +98,7 @@ def clear_db():
|
|
|
99
98
|
|
|
100
99
|
@cli.command()
|
|
101
100
|
def reset_db():
|
|
102
|
-
"Drop all tables then
|
|
101
|
+
"Drop all tables, then recreate them."
|
|
103
102
|
with app.app_context():
|
|
104
103
|
print("Deleting database and tables...")
|
|
105
104
|
dbhelpers.drop_all()
|
|
@@ -113,7 +112,7 @@ def reset_db():
|
|
|
113
112
|
@click.option("--no-telemetry", is_flag=True, default=False)
|
|
114
113
|
def upgrade_db(no_telemetry=False):
|
|
115
114
|
"""
|
|
116
|
-
Upgrade database schema. Send anonymized statistics to our
|
|
115
|
+
Upgrade database schema. Send anonymized statistics to our telemetry
|
|
117
116
|
services (user and preview amounts). It allows us to size the Kitsu
|
|
118
117
|
community.
|
|
119
118
|
"""
|
|
@@ -217,7 +216,7 @@ def clear_all_auth_tokens():
|
|
|
217
216
|
|
|
218
217
|
@cli.command()
|
|
219
218
|
def init_data():
|
|
220
|
-
"
|
|
219
|
+
"Generate minimal data set required to run Kitsu."
|
|
221
220
|
commands.init_data()
|
|
222
221
|
|
|
223
222
|
|
|
@@ -441,7 +440,7 @@ def sync_last_events(source, minutes, page_size):
|
|
|
441
440
|
@click.option("--page-size", default=50)
|
|
442
441
|
def sync_last_files(source, minutes, page_size):
|
|
443
442
|
"""
|
|
444
|
-
Retrieve last preview files and thumbnails
|
|
443
|
+
Retrieve last preview files and thumbnails uploaded on source instance.
|
|
445
444
|
It expects that credentials to connect to source instance are
|
|
446
445
|
given through SYNC_LOGIN and SYNC_PASSWORD environment variables.
|
|
447
446
|
"""
|
|
@@ -495,7 +494,7 @@ def clean_tasks_data(project_id):
|
|
|
495
494
|
def remove_old_data(days):
|
|
496
495
|
"""
|
|
497
496
|
Remove old events, notifications and login logs older than 90 days
|
|
498
|
-
(by
|
|
497
|
+
(by default).
|
|
499
498
|
"""
|
|
500
499
|
commands.remove_old_data(days)
|
|
501
500
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: zou
|
|
3
|
-
Version: 0.19.
|
|
3
|
+
Version: 0.19.63
|
|
4
4
|
Summary: API to store and manage the data of your animation production
|
|
5
5
|
Home-page: https://zou.cg-wire.com
|
|
6
6
|
Author: CG Wire
|
|
@@ -48,11 +48,11 @@ Requires-Dist: itsdangerous ==2.2.0
|
|
|
48
48
|
Requires-Dist: Jinja2 ==3.1.4
|
|
49
49
|
Requires-Dist: ldap3 ==2.9.1
|
|
50
50
|
Requires-Dist: matterhook ==0.2
|
|
51
|
-
Requires-Dist: meilisearch ==0.31.
|
|
51
|
+
Requires-Dist: meilisearch ==0.31.6
|
|
52
52
|
Requires-Dist: opencv-python ==4.10.0.84
|
|
53
53
|
Requires-Dist: OpenTimelineIO ==0.17.0
|
|
54
54
|
Requires-Dist: OpenTimelineIO-Plugins ==0.17.0
|
|
55
|
-
Requires-Dist: orjson ==3.10.
|
|
55
|
+
Requires-Dist: orjson ==3.10.10
|
|
56
56
|
Requires-Dist: pillow ==11.0.0
|
|
57
57
|
Requires-Dist: psutil ==6.1.0
|
|
58
58
|
Requires-Dist: psycopg[binary] ==3.2.3
|
|
@@ -62,14 +62,14 @@ Requires-Dist: python-nomad ==2.0.1
|
|
|
62
62
|
Requires-Dist: python-slugify ==8.0.4
|
|
63
63
|
Requires-Dist: python-socketio ==5.11.4
|
|
64
64
|
Requires-Dist: pytz ==2024.2
|
|
65
|
-
Requires-Dist: redis ==5.
|
|
65
|
+
Requires-Dist: redis ==5.2.0
|
|
66
66
|
Requires-Dist: requests ==2.32.3
|
|
67
|
-
Requires-Dist: rq ==
|
|
67
|
+
Requires-Dist: rq ==2.0.0
|
|
68
68
|
Requires-Dist: slackclient ==2.9.4
|
|
69
69
|
Requires-Dist: sqlalchemy-utils ==0.41.2
|
|
70
70
|
Requires-Dist: sqlalchemy ==2.0.36
|
|
71
71
|
Requires-Dist: ua-parser ==0.18.0
|
|
72
|
-
Requires-Dist: werkzeug ==3.0.
|
|
72
|
+
Requires-Dist: werkzeug ==3.0.6
|
|
73
73
|
Requires-Dist: numpy ==2.0.1 ; python_version == "3.9"
|
|
74
74
|
Requires-Dist: numpy ==2.1.2 ; python_version >= "3.10"
|
|
75
75
|
Provides-Extra: dev
|
|
@@ -86,7 +86,7 @@ Provides-Extra: prod
|
|
|
86
86
|
Requires-Dist: gunicorn ; extra == 'prod'
|
|
87
87
|
Requires-Dist: gevent ; extra == 'prod'
|
|
88
88
|
Provides-Extra: test
|
|
89
|
-
Requires-Dist: fakeredis ==2.
|
|
89
|
+
Requires-Dist: fakeredis ==2.26.1 ; extra == 'test'
|
|
90
90
|
Requires-Dist: mixer ==7.2.2 ; extra == 'test'
|
|
91
91
|
Requires-Dist: pytest-cov ==5.0.0 ; extra == 'test'
|
|
92
92
|
Requires-Dist: pytest ==8.3.3 ; extra == 'test'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
zou/__init__.py,sha256=
|
|
2
|
-
zou/cli.py,sha256=
|
|
1
|
+
zou/__init__.py,sha256=cNjSbgoZG2sAQfPpz1qqKZ4ntQuVVp4nFjRKUsdkwhg,24
|
|
2
|
+
zou/cli.py,sha256=E7rinikQMEAoSzyV4VH2IrTR4HRDBgqHAcYswEfyFnU,18893
|
|
3
3
|
zou/debug.py,sha256=1fawPbkD4wn0Y9Gk0BiBFSa-CQe5agFi8R9uJYl2Uyk,520
|
|
4
4
|
zou/event_stream.py,sha256=_tue9Ry3aqCniZpKGhWJaY1Eo_fd6zOAfnzPvh_mJzU,8489
|
|
5
5
|
zou/job_settings.py,sha256=_aqBhujt2Q8sXRWIbgbDf-LUdXRdBimdtTc-fZbiXoY,202
|
|
@@ -413,9 +413,9 @@ zou/remote/normalize_movie.py,sha256=zNfEY3N1UbAHZfddGONTg2Sff3ieLVWd4dfZa1dpnes
|
|
|
413
413
|
zou/remote/playlist.py,sha256=AsDo0bgYhDcd6DfNRV6r6Jj3URWwavE2ZN3VkKRPbLU,3293
|
|
414
414
|
zou/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
415
415
|
zou/utils/movie.py,sha256=u9LCEOvmkxwm-KiZ6jKNdB9LSC6XXUDwJpVx8LkDwJg,16416
|
|
416
|
-
zou-0.19.
|
|
417
|
-
zou-0.19.
|
|
418
|
-
zou-0.19.
|
|
419
|
-
zou-0.19.
|
|
420
|
-
zou-0.19.
|
|
421
|
-
zou-0.19.
|
|
416
|
+
zou-0.19.63.dist-info/LICENSE,sha256=dql8h4yceoMhuzlcK0TT_i-NgTFNIZsgE47Q4t3dUYI,34520
|
|
417
|
+
zou-0.19.63.dist-info/METADATA,sha256=_skfssNGUvX-_eKKNhp08Ul2D6rou3lNZoVz5w-N3xA,6676
|
|
418
|
+
zou-0.19.63.dist-info/WHEEL,sha256=OVMc5UfuAQiSplgO0_WdW7vXVGAt9Hdd6qtN4HotdyA,91
|
|
419
|
+
zou-0.19.63.dist-info/entry_points.txt,sha256=PelQoIx3qhQ_Tmne7wrLY-1m2izuzgpwokoURwSohy4,130
|
|
420
|
+
zou-0.19.63.dist-info/top_level.txt,sha256=4S7G_jk4MzpToeDItHGjPhHx_fRdX52zJZWTD4SL54g,4
|
|
421
|
+
zou-0.19.63.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|