dbworker 0.0.2__tar.gz → 0.0.4__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dbworker
3
- Version: 0.0.2
3
+ Version: 0.0.4
4
4
  Summary: Database-backed coordination for process workers.
5
5
  License: MIT
6
6
  License-File: LICENSE
@@ -17,7 +17,17 @@ Description-Content-Type: text/markdown
17
17
 
18
18
  # dbworker
19
19
 
20
- Portable database-backed work coordination with SQLAlchemy and process workers. A single-script Redis + Celery alternative that uses your existing database.
20
+ **Your database rows are already the queue.**
21
+
22
+ A portable, single-script background worker for SQLAlchemy. No broker, no enqueue, no duplicate job model.
23
+
24
+ ```text
25
+ Celery / Huey / Graphile Worker:
26
+ event → job → worker
27
+
28
+ dbworker:
29
+ row → worker
30
+ ```
21
31
 
22
32
  Requires Python 3.12+. Install into your application:
23
33
 
@@ -1,6 +1,16 @@
1
1
  # dbworker
2
2
 
3
- Portable database-backed work coordination with SQLAlchemy and process workers. A single-script Redis + Celery alternative that uses your existing database.
3
+ **Your database rows are already the queue.**
4
+
5
+ A portable, single-script background worker for SQLAlchemy. No broker, no enqueue, no duplicate job model.
6
+
7
+ ```text
8
+ Celery / Huey / Graphile Worker:
9
+ event → job → worker
10
+
11
+ dbworker:
12
+ row → worker
13
+ ```
4
14
 
5
15
  Requires Python 3.12+. Install into your application:
6
16
 
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
4
4
 
5
5
  [tool.poetry]
6
6
  name = "dbworker"
7
- version = "0.0.2"
7
+ version = "0.0.4"
8
8
  description = "Database-backed coordination for process workers."
9
9
  authors = ["Ziyang Song"]
10
10
  license = "MIT"
@@ -4,7 +4,7 @@ from __future__ import annotations
4
4
 
5
5
  import logging
6
6
  import multiprocessing
7
- import pickle
7
+ import pickle # nosec B403 -- used only for local pre-flight serialization; this module never deserializes pickle data.
8
8
  import re
9
9
  import threading
10
10
  import time
File without changes
File without changes