simple-module-background-tasks 0.0.28__tar.gz → 0.0.30__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.
- {simple_module_background_tasks-0.0.28 → simple_module_background_tasks-0.0.30}/PKG-INFO +5 -5
- {simple_module_background_tasks-0.0.28 → simple_module_background_tasks-0.0.30}/background_tasks/constants.py +3 -0
- {simple_module_background_tasks-0.0.28 → simple_module_background_tasks-0.0.30}/background_tasks/module.py +2 -1
- {simple_module_background_tasks-0.0.28 → simple_module_background_tasks-0.0.30}/pyproject.toml +5 -5
- {simple_module_background_tasks-0.0.28 → simple_module_background_tasks-0.0.30}/.gitignore +0 -0
- {simple_module_background_tasks-0.0.28 → simple_module_background_tasks-0.0.30}/LICENSE +0 -0
- {simple_module_background_tasks-0.0.28 → simple_module_background_tasks-0.0.30}/README.md +0 -0
- {simple_module_background_tasks-0.0.28 → simple_module_background_tasks-0.0.30}/background_tasks/__init__.py +0 -0
- {simple_module_background_tasks-0.0.28 → simple_module_background_tasks-0.0.30}/background_tasks/_signal_support.py +0 -0
- {simple_module_background_tasks-0.0.28 → simple_module_background_tasks-0.0.30}/background_tasks/celery_app.py +0 -0
- {simple_module_background_tasks-0.0.28 → simple_module_background_tasks-0.0.30}/background_tasks/contracts/__init__.py +0 -0
- {simple_module_background_tasks-0.0.28 → simple_module_background_tasks-0.0.30}/background_tasks/contracts/events.py +0 -0
- {simple_module_background_tasks-0.0.28 → simple_module_background_tasks-0.0.30}/background_tasks/contracts/schemas.py +0 -0
- {simple_module_background_tasks-0.0.28 → simple_module_background_tasks-0.0.30}/background_tasks/deps.py +0 -0
- {simple_module_background_tasks-0.0.28 → simple_module_background_tasks-0.0.30}/background_tasks/endpoints/__init__.py +0 -0
- {simple_module_background_tasks-0.0.28 → simple_module_background_tasks-0.0.30}/background_tasks/endpoints/api_admin.py +0 -0
- {simple_module_background_tasks-0.0.28 → simple_module_background_tasks-0.0.30}/background_tasks/endpoints/views.py +0 -0
- {simple_module_background_tasks-0.0.28 → simple_module_background_tasks-0.0.30}/background_tasks/locales/en.json +0 -0
- {simple_module_background_tasks-0.0.28 → simple_module_background_tasks-0.0.30}/background_tasks/log_context.py +0 -0
- {simple_module_background_tasks-0.0.28 → simple_module_background_tasks-0.0.30}/background_tasks/models.py +0 -0
- {simple_module_background_tasks-0.0.28 → simple_module_background_tasks-0.0.30}/background_tasks/pages/Detail.tsx +0 -0
- {simple_module_background_tasks-0.0.28 → simple_module_background_tasks-0.0.30}/background_tasks/pages/Index.tsx +0 -0
- {simple_module_background_tasks-0.0.28 → simple_module_background_tasks-0.0.30}/background_tasks/pages/Workers.tsx +0 -0
- {simple_module_background_tasks-0.0.28 → simple_module_background_tasks-0.0.30}/background_tasks/pages/components/ExecutionRow.tsx +0 -0
- {simple_module_background_tasks-0.0.28 → simple_module_background_tasks-0.0.30}/background_tasks/pages/components/RetryConfirmDialog.tsx +0 -0
- {simple_module_background_tasks-0.0.28 → simple_module_background_tasks-0.0.30}/background_tasks/pages/constants.ts +0 -0
- {simple_module_background_tasks-0.0.28 → simple_module_background_tasks-0.0.30}/background_tasks/pages/retry.ts +0 -0
- {simple_module_background_tasks-0.0.28 → simple_module_background_tasks-0.0.30}/background_tasks/py.typed +0 -0
- {simple_module_background_tasks-0.0.28 → simple_module_background_tasks-0.0.30}/background_tasks/service.py +0 -0
- {simple_module_background_tasks-0.0.28 → simple_module_background_tasks-0.0.30}/background_tasks/services.py +0 -0
- {simple_module_background_tasks-0.0.28 → simple_module_background_tasks-0.0.30}/background_tasks/settings.py +0 -0
- {simple_module_background_tasks-0.0.28 → simple_module_background_tasks-0.0.30}/background_tasks/signals.py +0 -0
- {simple_module_background_tasks-0.0.28 → simple_module_background_tasks-0.0.30}/background_tasks/sync_db.py +0 -0
- {simple_module_background_tasks-0.0.28 → simple_module_background_tasks-0.0.30}/background_tasks/tasks.py +0 -0
- {simple_module_background_tasks-0.0.28 → simple_module_background_tasks-0.0.30}/background_tasks/worker_inspector.py +0 -0
- {simple_module_background_tasks-0.0.28 → simple_module_background_tasks-0.0.30}/package.json +0 -0
- {simple_module_background_tasks-0.0.28 → simple_module_background_tasks-0.0.30}/tests/conftest.py +0 -0
- {simple_module_background_tasks-0.0.28 → simple_module_background_tasks-0.0.30}/tests/test_admin_api.py +0 -0
- {simple_module_background_tasks-0.0.28 → simple_module_background_tasks-0.0.30}/tests/test_beat_schedule.py +0 -0
- {simple_module_background_tasks-0.0.28 → simple_module_background_tasks-0.0.30}/tests/test_bg_service.py +0 -0
- {simple_module_background_tasks-0.0.28 → simple_module_background_tasks-0.0.30}/tests/test_log_context.py +0 -0
- {simple_module_background_tasks-0.0.28 → simple_module_background_tasks-0.0.30}/tests/test_signals.py +0 -0
- {simple_module_background_tasks-0.0.28 → simple_module_background_tasks-0.0.30}/tests/test_sweep_stuck.py +0 -0
- {simple_module_background_tasks-0.0.28 → simple_module_background_tasks-0.0.30}/tests/test_sync_db.py +0 -0
- {simple_module_background_tasks-0.0.28 → simple_module_background_tasks-0.0.30}/tests/test_worker_inspector.py +0 -0
- {simple_module_background_tasks-0.0.28 → simple_module_background_tasks-0.0.30}/tests/test_workers_endpoints.py +0 -0
- {simple_module_background_tasks-0.0.28 → simple_module_background_tasks-0.0.30}/tsconfig.json +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: simple_module_background_tasks
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.30
|
|
4
4
|
Summary: Celery + Redis task queue with admin UI for monitoring and retrying failed/stuck tasks
|
|
5
5
|
Project-URL: Homepage, https://github.com/antosubash/simple_module_python
|
|
6
6
|
Project-URL: Repository, https://github.com/antosubash/simple_module_python
|
|
@@ -23,10 +23,10 @@ Classifier: Typing :: Typed
|
|
|
23
23
|
Requires-Python: >=3.12
|
|
24
24
|
Requires-Dist: celery[redis]>=5.4
|
|
25
25
|
Requires-Dist: redis>=5
|
|
26
|
-
Requires-Dist: simple-module-core==0.0.
|
|
27
|
-
Requires-Dist: simple-module-db==0.0.
|
|
28
|
-
Requires-Dist: simple-module-hosting==0.0.
|
|
29
|
-
Requires-Dist: simple-module-settings==0.0.
|
|
26
|
+
Requires-Dist: simple-module-core==0.0.30
|
|
27
|
+
Requires-Dist: simple-module-db==0.0.30
|
|
28
|
+
Requires-Dist: simple-module-hosting==0.0.30
|
|
29
|
+
Requires-Dist: simple-module-settings==0.0.30
|
|
30
30
|
Description-Content-Type: text/markdown
|
|
31
31
|
|
|
32
32
|
# simple_module_background_tasks
|
|
@@ -18,6 +18,9 @@ TABLE_TASK_EXECUTION = f"{TABLE_PREFIX}task_execution"
|
|
|
18
18
|
|
|
19
19
|
# ── Module dependencies ─────────────────────────────────────────
|
|
20
20
|
_MODULE_USERS = "Users"
|
|
21
|
+
# register_settings() calls settings.registration.register_module_settings,
|
|
22
|
+
# which reads app.state.settings — so Settings must register first.
|
|
23
|
+
_MODULE_SETTINGS = "Settings"
|
|
21
24
|
|
|
22
25
|
# ── Env / settings ──────────────────────────────────────────────
|
|
23
26
|
ENV_PREFIX = "SM_BG_TASKS_"
|
|
@@ -13,6 +13,7 @@ from simple_module_core.module import ModuleBase, ModuleMeta
|
|
|
13
13
|
from simple_module_core.permissions import PermissionRegistry
|
|
14
14
|
|
|
15
15
|
from background_tasks.constants import (
|
|
16
|
+
_MODULE_SETTINGS,
|
|
16
17
|
_MODULE_USERS,
|
|
17
18
|
API_PREFIX,
|
|
18
19
|
MENU_ICON,
|
|
@@ -40,7 +41,7 @@ class BackgroundTasksModule(ModuleBase):
|
|
|
40
41
|
name=MODULE_DISPLAY_NAME,
|
|
41
42
|
route_prefix=API_PREFIX,
|
|
42
43
|
view_prefix=VIEW_PREFIX,
|
|
43
|
-
depends_on=[_MODULE_USERS],
|
|
44
|
+
depends_on=[_MODULE_USERS, _MODULE_SETTINGS],
|
|
44
45
|
i18n_audience="admin",
|
|
45
46
|
)
|
|
46
47
|
|
{simple_module_background_tasks-0.0.28 → simple_module_background_tasks-0.0.30}/pyproject.toml
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "simple_module_background_tasks"
|
|
3
|
-
version = "0.0.
|
|
3
|
+
version = "0.0.30"
|
|
4
4
|
description = "Celery + Redis task queue with admin UI for monitoring and retrying failed/stuck tasks"
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
license = "MIT"
|
|
@@ -21,10 +21,10 @@ classifiers = [
|
|
|
21
21
|
"Typing :: Typed",
|
|
22
22
|
]
|
|
23
23
|
dependencies = [
|
|
24
|
-
"simple_module_core==0.0.
|
|
25
|
-
"simple_module_db==0.0.
|
|
26
|
-
"simple_module_hosting==0.0.
|
|
27
|
-
"simple_module_settings==0.0.
|
|
24
|
+
"simple_module_core==0.0.30",
|
|
25
|
+
"simple_module_db==0.0.30",
|
|
26
|
+
"simple_module_hosting==0.0.30",
|
|
27
|
+
"simple_module_settings==0.0.30",
|
|
28
28
|
"celery[redis]>=5.4",
|
|
29
29
|
"redis>=5",
|
|
30
30
|
]
|
|
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
|
{simple_module_background_tasks-0.0.28 → simple_module_background_tasks-0.0.30}/package.json
RENAMED
|
File without changes
|
{simple_module_background_tasks-0.0.28 → simple_module_background_tasks-0.0.30}/tests/conftest.py
RENAMED
|
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
|
{simple_module_background_tasks-0.0.28 → simple_module_background_tasks-0.0.30}/tsconfig.json
RENAMED
|
File without changes
|