zou 0.20.3__py3-none-any.whl → 0.20.5__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/app/blueprints/index/resources.py +6 -1
- zou/app/stores/publisher_store.py +1 -1
- zou/app/utils/redis.py +5 -5
- zou/event_stream.py +1 -1
- {zou-0.20.3.dist-info → zou-0.20.5.dist-info}/METADATA +4 -4
- {zou-0.20.3.dist-info → zou-0.20.5.dist-info}/RECORD +11 -11
- {zou-0.20.3.dist-info → zou-0.20.5.dist-info}/LICENSE +0 -0
- {zou-0.20.3.dist-info → zou-0.20.5.dist-info}/WHEEL +0 -0
- {zou-0.20.3.dist-info → zou-0.20.5.dist-info}/entry_points.txt +0 -0
- {zou-0.20.3.dist-info → zou-0.20.5.dist-info}/top_level.txt +0 -0
zou/__init__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "0.20.
|
|
1
|
+
__version__ = "0.20.5"
|
|
@@ -62,7 +62,12 @@ class BaseStatusResource(Resource):
|
|
|
62
62
|
|
|
63
63
|
is_jq_up = True
|
|
64
64
|
try:
|
|
65
|
-
args = [
|
|
65
|
+
args = [
|
|
66
|
+
"rq",
|
|
67
|
+
"info",
|
|
68
|
+
"--url",
|
|
69
|
+
get_redis_url(config.KV_JOB_DB_INDEX),
|
|
70
|
+
]
|
|
66
71
|
out = shell.run_command(args)
|
|
67
72
|
is_jq_up = b"0 workers" not in out
|
|
68
73
|
except Exception:
|
zou/app/utils/redis.py
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
from zou.app import config
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
def get_redis_url():
|
|
4
|
+
def get_redis_url(db_index):
|
|
5
5
|
redis_host = config.KEY_VALUE_STORE["host"]
|
|
6
6
|
redis_port = config.KEY_VALUE_STORE["port"]
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
redis_password
|
|
7
|
+
if config.KEY_VALUE_STORE["password"]:
|
|
8
|
+
redis_password = f":{config.KEY_VALUE_STORE['password']}@"
|
|
9
|
+
else:
|
|
10
|
+
redis_password = ""
|
|
11
11
|
return f"redis://{redis_password}{redis_host}:{redis_port}/{db_index}"
|
zou/event_stream.py
CHANGED
|
@@ -197,7 +197,7 @@ def set_playlist_room_routes(socketio, app):
|
|
|
197
197
|
|
|
198
198
|
|
|
199
199
|
def create_app():
|
|
200
|
-
redis_url = get_redis_url()
|
|
200
|
+
redis_url = get_redis_url(config.KV_EVENTS_DB_INDEX)
|
|
201
201
|
socketio = SocketIO(
|
|
202
202
|
logger=True, cors_allowed_origins=[], cors_credentials=False
|
|
203
203
|
)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: zou
|
|
3
|
-
Version: 0.20.
|
|
3
|
+
Version: 0.20.5
|
|
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
|
|
@@ -39,9 +39,9 @@ Requires-Dist: flask_sqlalchemy==3.1.1
|
|
|
39
39
|
Requires-Dist: flask-fs2[s3,swift]==0.7.27
|
|
40
40
|
Requires-Dist: flask-jwt-extended==4.7.1
|
|
41
41
|
Requires-Dist: flask-migrate==4.0.7
|
|
42
|
-
Requires-Dist: flask-socketio==5.5.
|
|
42
|
+
Requires-Dist: flask-socketio==5.5.1
|
|
43
43
|
Requires-Dist: flask==3.1.0
|
|
44
|
-
Requires-Dist: gazu==0.10.
|
|
44
|
+
Requires-Dist: gazu==0.10.22
|
|
45
45
|
Requires-Dist: gevent-websocket==0.10.1
|
|
46
46
|
Requires-Dist: gevent==24.11.1
|
|
47
47
|
Requires-Dist: gunicorn==23.0.0
|
|
@@ -50,7 +50,7 @@ Requires-Dist: itsdangerous==2.2.0
|
|
|
50
50
|
Requires-Dist: Jinja2==3.1.5
|
|
51
51
|
Requires-Dist: ldap3==2.9.1
|
|
52
52
|
Requires-Dist: matterhook==0.2
|
|
53
|
-
Requires-Dist: meilisearch==0.33.
|
|
53
|
+
Requires-Dist: meilisearch==0.33.1
|
|
54
54
|
Requires-Dist: numpy==2.0.1; python_version == "3.9"
|
|
55
55
|
Requires-Dist: numpy==2.2.1; python_version >= "3.10"
|
|
56
56
|
Requires-Dist: opencv-python==4.10.0.84
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
zou/__init__.py,sha256=
|
|
1
|
+
zou/__init__.py,sha256=KohmrV3SWmyEbdcyopRMCctCtbthoMrxKM29jQ5Xa58,23
|
|
2
2
|
zou/cli.py,sha256=H18Wg-wqQOsv4F5_bZRDlxskjO-TRwaV1NmQMTH9mdg,18869
|
|
3
3
|
zou/debug.py,sha256=1fawPbkD4wn0Y9Gk0BiBFSa-CQe5agFi8R9uJYl2Uyk,520
|
|
4
|
-
zou/event_stream.py,sha256=
|
|
4
|
+
zou/event_stream.py,sha256=UdlsiWfndwEy0cH8j8JaeN6sKKo6vmDweoFkIEDbi7U,7706
|
|
5
5
|
zou/job_settings.py,sha256=_aqBhujt2Q8sXRWIbgbDf-LUdXRdBimdtTc-fZbiXoY,202
|
|
6
6
|
zou/app/__init__.py,sha256=7pRqdA79X-UI_kYt8Sz6lIdleNStBxHnXISr-tePVe8,6962
|
|
7
7
|
zou/app/api.py,sha256=JTB_IMVO8EOoyqx9KdRkiIix0chOLi0yGDY-verUJXA,5127
|
|
@@ -83,7 +83,7 @@ zou/app/blueprints/export/csv/time_spents.py,sha256=yYPtilOxfQD5mBwyh9h-PbTQBpab
|
|
|
83
83
|
zou/app/blueprints/files/__init__.py,sha256=7Wty30JW2OXIn-tBFXOWWmPuHnsnxPpH3jNtHvvr9tY,3987
|
|
84
84
|
zou/app/blueprints/files/resources.py,sha256=8SIV8kaqv3dxyL8nyqG3QiZmk5ZYIvUxw6k1ic-jhBs,69786
|
|
85
85
|
zou/app/blueprints/index/__init__.py,sha256=Dh3oQiirpg8RCkfVOuk3irIjSvUvuRf0jPxE6oGubz0,828
|
|
86
|
-
zou/app/blueprints/index/resources.py,sha256=
|
|
86
|
+
zou/app/blueprints/index/resources.py,sha256=NuqSq0rPlOpldRCwFhDqNW4UwSc8QdRRKcGn9S0FCrk,8635
|
|
87
87
|
zou/app/blueprints/news/__init__.py,sha256=HxBXjC15dVbotNAZ0CLf02iwUjxJr20kgf8_kT_9nwM,505
|
|
88
88
|
zou/app/blueprints/news/resources.py,sha256=HdLq2NgfKyN2d3hIATBhH3dlk4c50I4dhhvEhhB_NY4,7334
|
|
89
89
|
zou/app/blueprints/persons/__init__.py,sha256=0cnHHw3K_8OEMm0qOi3wKVomSAg9IJSnVjAXabMeHks,3893
|
|
@@ -217,7 +217,7 @@ zou/app/services/user_service.py,sha256=csEwaX2VW-CTY4mexD0yTaNb2i0cN2LECeBnzjSy
|
|
|
217
217
|
zou/app/stores/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
218
218
|
zou/app/stores/auth_tokens_store.py,sha256=-qOJPybLHvnMOq3PWk073OW9HJwOHGhFLZeOIlX1UVw,1290
|
|
219
219
|
zou/app/stores/file_store.py,sha256=yLQDM6mNbj9oe0vsWdBqun7D8Dw-eSjD1yHCCftX0OI,4045
|
|
220
|
-
zou/app/stores/publisher_store.py,sha256=
|
|
220
|
+
zou/app/stores/publisher_store.py,sha256=ggpb68i_wCfcuWicmxv8B1YPLXwHmcZo2reqcLnfV3E,1076
|
|
221
221
|
zou/app/stores/queue_store.py,sha256=udbZSm3Rfwi-zwSRzVz-0qjdrVYbUWA8WwuIsdQikn8,669
|
|
222
222
|
zou/app/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
223
223
|
zou/app/utils/api.py,sha256=28ys2SMso1wt0q7r-4ohx9Izx-cKHxQhCmxfTvTMeFs,705
|
|
@@ -241,7 +241,7 @@ zou/app/utils/logs.py,sha256=lB6kyFmeANxCILUULLqGN8fuq9IY5FcbrVWmLdqWs2U,1404
|
|
|
241
241
|
zou/app/utils/monitoring.py,sha256=xOwyfM-7ZKWNtOxmX2WB1fOav5NpY6k8Tmuhli0nMBs,2082
|
|
242
242
|
zou/app/utils/permissions.py,sha256=Oq91C_lN6aGVCtCVUqQhijMQEjXOiMezbngpjybzzQk,3426
|
|
243
243
|
zou/app/utils/query.py,sha256=q8ETGPAqnz0Pt9xWoQt5o7FFAVYUKVCJiWpwefIr-iU,4592
|
|
244
|
-
zou/app/utils/redis.py,sha256=
|
|
244
|
+
zou/app/utils/redis.py,sha256=xXEh9pl-3qPbr89dKHvcXSUTC6hd77vv_N8PVcRRZTE,377
|
|
245
245
|
zou/app/utils/remote_job.py,sha256=QPxcCWEv-NM1Q4IQawAyJAiSORwkMeOlByQb9OCShEw,2522
|
|
246
246
|
zou/app/utils/saml.py,sha256=m8wt_2RnMEHSrFvqCRGF91U5mwkqC6W-iBcx8N0LAqs,1679
|
|
247
247
|
zou/app/utils/shell.py,sha256=D30NuOzr1D6jsa9OF69JYXyqYNhtIdnfKSVYW4irbz8,405
|
|
@@ -414,9 +414,9 @@ zou/remote/normalize_movie.py,sha256=zNfEY3N1UbAHZfddGONTg2Sff3ieLVWd4dfZa1dpnes
|
|
|
414
414
|
zou/remote/playlist.py,sha256=AsDo0bgYhDcd6DfNRV6r6Jj3URWwavE2ZN3VkKRPbLU,3293
|
|
415
415
|
zou/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
416
416
|
zou/utils/movie.py,sha256=d67fIL9dVBKt-E_qCGXRbNNdbJaJR5sHvZeX3hf8ldE,16559
|
|
417
|
-
zou-0.20.
|
|
418
|
-
zou-0.20.
|
|
419
|
-
zou-0.20.
|
|
420
|
-
zou-0.20.
|
|
421
|
-
zou-0.20.
|
|
422
|
-
zou-0.20.
|
|
417
|
+
zou-0.20.5.dist-info/LICENSE,sha256=dql8h4yceoMhuzlcK0TT_i-NgTFNIZsgE47Q4t3dUYI,34520
|
|
418
|
+
zou-0.20.5.dist-info/METADATA,sha256=42aq5-Y59rKG56L6XccZulv0Na7fges9EtPas9c9CU0,6708
|
|
419
|
+
zou-0.20.5.dist-info/WHEEL,sha256=A3WOREP4zgxI0fKrHUG8DC8013e3dK3n7a6HDbcEIwE,91
|
|
420
|
+
zou-0.20.5.dist-info/entry_points.txt,sha256=PelQoIx3qhQ_Tmne7wrLY-1m2izuzgpwokoURwSohy4,130
|
|
421
|
+
zou-0.20.5.dist-info/top_level.txt,sha256=4S7G_jk4MzpToeDItHGjPhHx_fRdX52zJZWTD4SL54g,4
|
|
422
|
+
zou-0.20.5.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|