queuerPy 0.11.0__tar.gz → 0.13.0__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.
Files changed (52) hide show
  1. {queuerpy-0.11.0/queuerPy.egg-info → queuerpy-0.13.0}/PKG-INFO +1 -1
  2. {queuerpy-0.11.0 → queuerpy-0.13.0}/__init__.py +15 -0
  3. {queuerpy-0.11.0 → queuerpy-0.13.0}/_version.py +1 -1
  4. {queuerpy-0.11.0 → queuerpy-0.13.0}/pyproject.toml +2 -2
  5. {queuerpy-0.11.0 → queuerpy-0.13.0/queuerPy.egg-info}/PKG-INFO +1 -1
  6. {queuerpy-0.11.0 → queuerpy-0.13.0}/queuer_job.py +1 -1
  7. {queuerpy-0.11.0 → queuerpy-0.13.0}/queuer_task.py +1 -1
  8. {queuerpy-0.11.0 → queuerpy-0.13.0}/LICENSE +0 -0
  9. {queuerpy-0.11.0 → queuerpy-0.13.0}/MANIFEST.in +0 -0
  10. {queuerpy-0.11.0 → queuerpy-0.13.0}/README.md +0 -0
  11. {queuerpy-0.11.0 → queuerpy-0.13.0}/core/__init__.py +0 -0
  12. {queuerpy-0.11.0 → queuerpy-0.13.0}/core/broadcaster.py +0 -0
  13. {queuerpy-0.11.0 → queuerpy-0.13.0}/core/listener.py +0 -0
  14. {queuerpy-0.11.0 → queuerpy-0.13.0}/core/retryer.py +0 -0
  15. {queuerpy-0.11.0 → queuerpy-0.13.0}/core/runner.py +0 -0
  16. {queuerpy-0.11.0 → queuerpy-0.13.0}/core/scheduler.py +0 -0
  17. {queuerpy-0.11.0 → queuerpy-0.13.0}/core/ticker.py +0 -0
  18. {queuerpy-0.11.0 → queuerpy-0.13.0}/database/__init__.py +0 -0
  19. {queuerpy-0.11.0 → queuerpy-0.13.0}/database/db_job.py +0 -0
  20. {queuerpy-0.11.0 → queuerpy-0.13.0}/database/db_listener.py +0 -0
  21. {queuerpy-0.11.0 → queuerpy-0.13.0}/database/db_master.py +0 -0
  22. {queuerpy-0.11.0 → queuerpy-0.13.0}/database/db_worker.py +0 -0
  23. {queuerpy-0.11.0 → queuerpy-0.13.0}/helper/__init__.py +0 -0
  24. {queuerpy-0.11.0 → queuerpy-0.13.0}/helper/database.py +0 -0
  25. {queuerpy-0.11.0 → queuerpy-0.13.0}/helper/error.py +0 -0
  26. {queuerpy-0.11.0 → queuerpy-0.13.0}/helper/logging.py +0 -0
  27. {queuerpy-0.11.0 → queuerpy-0.13.0}/helper/sql.py +0 -0
  28. {queuerpy-0.11.0 → queuerpy-0.13.0}/helper/task.py +0 -0
  29. {queuerpy-0.11.0 → queuerpy-0.13.0}/model/__init__.py +0 -0
  30. {queuerpy-0.11.0 → queuerpy-0.13.0}/model/batch_job.py +0 -0
  31. {queuerpy-0.11.0 → queuerpy-0.13.0}/model/connection.py +0 -0
  32. {queuerpy-0.11.0 → queuerpy-0.13.0}/model/job.py +0 -0
  33. {queuerpy-0.11.0 → queuerpy-0.13.0}/model/master.py +0 -0
  34. {queuerpy-0.11.0 → queuerpy-0.13.0}/model/options.py +0 -0
  35. {queuerpy-0.11.0 → queuerpy-0.13.0}/model/options_on_error.py +0 -0
  36. {queuerpy-0.11.0 → queuerpy-0.13.0}/model/task.py +0 -0
  37. {queuerpy-0.11.0 → queuerpy-0.13.0}/model/worker.py +0 -0
  38. {queuerpy-0.11.0 → queuerpy-0.13.0}/py.typed +0 -0
  39. {queuerpy-0.11.0 → queuerpy-0.13.0}/queuer.py +0 -0
  40. {queuerpy-0.11.0 → queuerpy-0.13.0}/queuerPy.egg-info/SOURCES.txt +0 -0
  41. {queuerpy-0.11.0 → queuerpy-0.13.0}/queuerPy.egg-info/dependency_links.txt +0 -0
  42. {queuerpy-0.11.0 → queuerpy-0.13.0}/queuerPy.egg-info/requires.txt +0 -0
  43. {queuerpy-0.11.0 → queuerpy-0.13.0}/queuerPy.egg-info/top_level.txt +0 -0
  44. {queuerpy-0.11.0 → queuerpy-0.13.0}/queuer_global.py +0 -0
  45. {queuerpy-0.11.0 → queuerpy-0.13.0}/queuer_listener.py +0 -0
  46. {queuerpy-0.11.0 → queuerpy-0.13.0}/queuer_master.py +0 -0
  47. {queuerpy-0.11.0 → queuerpy-0.13.0}/queuer_next_interval.py +0 -0
  48. {queuerpy-0.11.0 → queuerpy-0.13.0}/setup.cfg +0 -0
  49. {queuerpy-0.11.0 → queuerpy-0.13.0}/sql/job.sql +0 -0
  50. {queuerpy-0.11.0 → queuerpy-0.13.0}/sql/master.sql +0 -0
  51. {queuerpy-0.11.0 → queuerpy-0.13.0}/sql/notify.sql +0 -0
  52. {queuerpy-0.11.0 → queuerpy-0.13.0}/sql/worker.sql +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: queuerPy
3
- Version: 0.11.0
3
+ Version: 0.13.0
4
4
  Summary: A Python implementation of the queuer system - a job queuing and processing system with PostgreSQL backend
5
5
  Author-email: Simon Herrmann <siherrmann@users.noreply.github.com>
6
6
  Maintainer-email: Simon Herrmann <siherrmann@users.noreply.github.com>
@@ -11,6 +11,7 @@ A job queuing and processing system with PostgreSQL backend that provides:
11
11
  """
12
12
 
13
13
  from ._version import __version__
14
+ from uuid import UUID
14
15
 
15
16
  __author__ = "Simon Herrmann"
16
17
  __email__ = "siherrmann@users.noreply.github.com"
@@ -31,6 +32,14 @@ from .model.job import (
31
32
  JobStatus,
32
33
  )
33
34
 
35
+ from .model.task import (
36
+ Task,
37
+ )
38
+
39
+ from .model.batch_job import (
40
+ BatchJob,
41
+ )
42
+
34
43
  from .model.worker import (
35
44
  Worker,
36
45
  WorkerStatus,
@@ -38,6 +47,7 @@ from .model.worker import (
38
47
 
39
48
  from .model.master import (
40
49
  Master,
50
+ MasterSettings,
41
51
  )
42
52
 
43
53
  from .model.options_on_error import (
@@ -66,11 +76,16 @@ __all__ = [
66
76
  # Models
67
77
  "Job",
68
78
  "JobStatus",
79
+ "Task",
80
+ "BatchJob",
69
81
  "Worker",
70
82
  "WorkerStatus",
71
83
  "Master",
84
+ "MasterSettings",
72
85
  "OnError",
73
86
  "RetryBackoff",
87
+ # Standard library types used in API
88
+ "UUID",
74
89
  # Exceptions
75
90
  "QueuerError",
76
91
  # Submodules
@@ -1,6 +1,6 @@
1
1
  """Version information for queuerPy package."""
2
2
 
3
- __version__ = "0.11.0"
3
+ __version__ = "0.13.0"
4
4
  __version_info__ = tuple(int(part) for part in __version__.split("."))
5
5
 
6
6
  # For compatibility
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "queuerPy"
7
- version = "0.11.0"
7
+ version = "0.13.0"
8
8
  description = "A Python implementation of the queuer system - a job queuing and processing system with PostgreSQL backend"
9
9
  readme = "README.md"
10
10
  license = "Apache-2.0"
@@ -92,7 +92,7 @@ pythonVersion = "3.8"
92
92
  pythonPlatform = "All"
93
93
 
94
94
  [tool.mypy]
95
- python_version = "0.11.0"
95
+ python_version = "0.13.0"
96
96
  warn_return_any = true
97
97
  warn_unused_configs = true
98
98
  disallow_untyped_defs = true
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: queuerPy
3
- Version: 0.11.0
3
+ Version: 0.13.0
4
4
  Summary: A Python implementation of the queuer system - a job queuing and processing system with PostgreSQL backend
5
5
  Author-email: Simon Herrmann <siherrmann@users.noreply.github.com>
6
6
  Maintainer-email: Simon Herrmann <siherrmann@users.noreply.github.com>
@@ -416,7 +416,7 @@ class QueuerJobMixin(QueuerGlobalMixin):
416
416
 
417
417
  try:
418
418
  runner.go()
419
- results = runner.get_results(timeout=300)
419
+ results = runner.get_results(timeout=None)
420
420
  logger.debug(f"Runner task {job.task_name} completed: {results}")
421
421
  return [results], False, None
422
422
 
@@ -4,7 +4,7 @@ Mirrors Go's queuerTask.go functionality.
4
4
  """
5
5
 
6
6
  import logging
7
- from typing import Any, Callable, Optional, TypeVar, overload
7
+ from typing import Any, Callable, Optional, TypeVar
8
8
 
9
9
  from .model.task import new_task, new_task_with_name
10
10
  from .model.task import Task
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