queuerPy 0.3.0__tar.gz → 0.5.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 (48) hide show
  1. {queuerpy-0.3.0/queuerPy.egg-info → queuerpy-0.5.0}/PKG-INFO +2 -2
  2. {queuerpy-0.3.0 → queuerpy-0.5.0}/README.md +1 -1
  3. {queuerpy-0.3.0 → queuerpy-0.5.0}/__init__.py +11 -0
  4. {queuerpy-0.3.0 → queuerpy-0.5.0}/_version.py +1 -1
  5. queuerpy-0.5.0/model/__init__.py +39 -0
  6. {queuerpy-0.3.0 → queuerpy-0.5.0}/pyproject.toml +1 -2
  7. {queuerpy-0.3.0 → queuerpy-0.5.0/queuerPy.egg-info}/PKG-INFO +2 -2
  8. {queuerpy-0.3.0 → queuerpy-0.5.0}/queuerPy.egg-info/SOURCES.txt +1 -0
  9. queuerpy-0.5.0/queuerPy.egg-info/top_level.txt +1 -0
  10. queuerpy-0.3.0/queuerPy.egg-info/top_level.txt +0 -8
  11. {queuerpy-0.3.0 → queuerpy-0.5.0}/LICENSE +0 -0
  12. {queuerpy-0.3.0 → queuerpy-0.5.0}/MANIFEST.in +0 -0
  13. {queuerpy-0.3.0 → queuerpy-0.5.0}/core/__init__.py +0 -0
  14. {queuerpy-0.3.0 → queuerpy-0.5.0}/core/broadcaster.py +0 -0
  15. {queuerpy-0.3.0 → queuerpy-0.5.0}/core/listener.py +0 -0
  16. {queuerpy-0.3.0 → queuerpy-0.5.0}/core/retryer.py +0 -0
  17. {queuerpy-0.3.0 → queuerpy-0.5.0}/core/runner.py +0 -0
  18. {queuerpy-0.3.0 → queuerpy-0.5.0}/core/scheduler.py +0 -0
  19. {queuerpy-0.3.0 → queuerpy-0.5.0}/core/ticker.py +0 -0
  20. {queuerpy-0.3.0 → queuerpy-0.5.0}/database/__init__.py +0 -0
  21. {queuerpy-0.3.0 → queuerpy-0.5.0}/database/db_job.py +0 -0
  22. {queuerpy-0.3.0 → queuerpy-0.5.0}/database/db_listener.py +0 -0
  23. {queuerpy-0.3.0 → queuerpy-0.5.0}/database/db_worker.py +0 -0
  24. {queuerpy-0.3.0 → queuerpy-0.5.0}/helper/__init__.py +0 -0
  25. {queuerpy-0.3.0 → queuerpy-0.5.0}/helper/database.py +0 -0
  26. {queuerpy-0.3.0 → queuerpy-0.5.0}/helper/error.py +0 -0
  27. {queuerpy-0.3.0 → queuerpy-0.5.0}/helper/logging.py +0 -0
  28. {queuerpy-0.3.0 → queuerpy-0.5.0}/helper/sql.py +0 -0
  29. {queuerpy-0.3.0 → queuerpy-0.5.0}/helper/task.py +0 -0
  30. {queuerpy-0.3.0 → queuerpy-0.5.0}/model/batch_job.py +0 -0
  31. {queuerpy-0.3.0 → queuerpy-0.5.0}/model/connection.py +0 -0
  32. {queuerpy-0.3.0 → queuerpy-0.5.0}/model/job.py +0 -0
  33. {queuerpy-0.3.0 → queuerpy-0.5.0}/model/options.py +0 -0
  34. {queuerpy-0.3.0 → queuerpy-0.5.0}/model/options_on_error.py +0 -0
  35. {queuerpy-0.3.0 → queuerpy-0.5.0}/model/task.py +0 -0
  36. {queuerpy-0.3.0 → queuerpy-0.5.0}/model/worker.py +0 -0
  37. {queuerpy-0.3.0 → queuerpy-0.5.0}/queuer.py +0 -0
  38. {queuerpy-0.3.0 → queuerpy-0.5.0}/queuerPy.egg-info/dependency_links.txt +0 -0
  39. {queuerpy-0.3.0 → queuerpy-0.5.0}/queuerPy.egg-info/requires.txt +0 -0
  40. {queuerpy-0.3.0 → queuerpy-0.5.0}/queuer_global.py +0 -0
  41. {queuerpy-0.3.0 → queuerpy-0.5.0}/queuer_job.py +0 -0
  42. {queuerpy-0.3.0 → queuerpy-0.5.0}/queuer_listener.py +0 -0
  43. {queuerpy-0.3.0 → queuerpy-0.5.0}/queuer_next_interval.py +0 -0
  44. {queuerpy-0.3.0 → queuerpy-0.5.0}/queuer_task.py +0 -0
  45. {queuerpy-0.3.0 → queuerpy-0.5.0}/setup.cfg +0 -0
  46. {queuerpy-0.3.0 → queuerpy-0.5.0}/sql/job.sql +0 -0
  47. {queuerpy-0.3.0 → queuerpy-0.5.0}/sql/notify.sql +0 -0
  48. {queuerpy-0.3.0 → queuerpy-0.5.0}/sql/worker.sql +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: queuerPy
3
- Version: 0.3.0
3
+ Version: 0.5.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>
@@ -45,7 +45,7 @@ Dynamic: license-file
45
45
 
46
46
  [![Python](https://img.shields.io/badge/Python-3.10+-blue.svg)](https://www.python.org/)
47
47
  [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://github.com/siherrmann/queuer/blob/master/LICENSE)
48
- ![Coverage](./coverage-badge.svg)
48
+ ![Coverage](https://raw.githubusercontent.com/siherrmann/queuerPy/refs/heads/main/coverage-badge.svg)
49
49
 
50
50
  Python port of the queuer package - a queueing system based on PostgreSQL.
51
51
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  [![Python](https://img.shields.io/badge/Python-3.10+-blue.svg)](https://www.python.org/)
4
4
  [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://github.com/siherrmann/queuer/blob/master/LICENSE)
5
- ![Coverage](./coverage-badge.svg)
5
+ ![Coverage](https://raw.githubusercontent.com/siherrmann/queuerPy/refs/heads/main/coverage-badge.svg)
6
6
 
7
7
  Python port of the queuer package - a queueing system based on PostgreSQL.
8
8
 
@@ -53,6 +53,12 @@ from helper.error import (
53
53
  QueuerError,
54
54
  )
55
55
 
56
+ # Import submodules for direct access
57
+ from . import core
58
+ from . import database
59
+ from . import helper
60
+ from . import model
61
+
56
62
  # Convenience imports for common use cases
57
63
  __all__ = [
58
64
  # Core classes
@@ -70,6 +76,11 @@ __all__ = [
70
76
  "RetryBackoff",
71
77
  # Exceptions
72
78
  "QueuerError",
79
+ # Submodules
80
+ "core",
81
+ "database",
82
+ "helper",
83
+ "model",
73
84
  # Version info
74
85
  "__version__",
75
86
  "__author__",
@@ -1,6 +1,6 @@
1
1
  """Version information for queuerPy package."""
2
2
 
3
- __version__ = "0.3.0"
3
+ __version__ = "0.5.0"
4
4
  __version_info__ = tuple(int(part) for part in __version__.split("."))
5
5
 
6
6
  # For compatibility
@@ -0,0 +1,39 @@
1
+ """
2
+ Model package for queuerPy.
3
+
4
+ Contains data models and domain objects for the queuer system.
5
+ """
6
+
7
+ from .job import Job, JobStatus, new_job
8
+ from .worker import Worker, WorkerStatus, new_worker, new_worker_with_options
9
+ from .task import Task, new_task, new_task_with_name
10
+ from .connection import Connection
11
+ from .options import Options, Schedule, new_options
12
+ from .options_on_error import OnError, RetryBackoff
13
+ from .batch_job import BatchJob
14
+
15
+ __all__ = [
16
+ # Job related
17
+ "Job",
18
+ "JobStatus",
19
+ "new_job",
20
+ # Worker related
21
+ "Worker",
22
+ "WorkerStatus",
23
+ "new_worker",
24
+ "new_worker_with_options",
25
+ # Task related
26
+ "Task",
27
+ "new_task",
28
+ "new_task_with_name",
29
+ # Connection
30
+ "Connection",
31
+ # Options
32
+ "Options",
33
+ "Schedule",
34
+ "new_options",
35
+ "OnError",
36
+ "RetryBackoff",
37
+ # Batch
38
+ "BatchJob",
39
+ ]
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "queuerPy"
7
- version = "0.3.0"
7
+ version = "0.5.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"
@@ -59,7 +59,6 @@ Documentation = "https://github.com/siherrmann/queuerPy#readme"
59
59
 
60
60
  [tool.setuptools]
61
61
  packages = ["queuerPy", "queuerPy.core", "queuerPy.database", "queuerPy.helper", "queuerPy.model", "queuerPy.sql"]
62
- py-modules = ["queuer", "queuer_global", "queuer_job", "queuer_listener", "queuer_next_interval", "queuer_task", "_version"]
63
62
 
64
63
  [tool.setuptools.package-dir]
65
64
  "queuerPy" = "."
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: queuerPy
3
- Version: 0.3.0
3
+ Version: 0.5.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>
@@ -45,7 +45,7 @@ Dynamic: license-file
45
45
 
46
46
  [![Python](https://img.shields.io/badge/Python-3.10+-blue.svg)](https://www.python.org/)
47
47
  [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://github.com/siherrmann/queuer/blob/master/LICENSE)
48
- ![Coverage](./coverage-badge.svg)
48
+ ![Coverage](https://raw.githubusercontent.com/siherrmann/queuerPy/refs/heads/main/coverage-badge.svg)
49
49
 
50
50
  Python port of the queuer package - a queueing system based on PostgreSQL.
51
51
 
@@ -38,6 +38,7 @@ helper/error.py
38
38
  helper/logging.py
39
39
  helper/sql.py
40
40
  helper/task.py
41
+ model/__init__.py
41
42
  model/batch_job.py
42
43
  model/connection.py
43
44
  model/job.py
@@ -0,0 +1 @@
1
+ queuerPy
@@ -1,8 +0,0 @@
1
- _version
2
- queuer
3
- queuerPy
4
- queuer_global
5
- queuer_job
6
- queuer_listener
7
- queuer_next_interval
8
- queuer_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