joobq 0.1.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.
joobq-0.1.0/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 eliasjpr <eliasjpr@gmail.com>
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
joobq-0.1.0/PKG-INFO ADDED
@@ -0,0 +1,46 @@
1
+ Metadata-Version: 2.4
2
+ Name: joobq
3
+ Version: 0.1.0
4
+ Summary: JoobQ worker and producer SDK for the JoobQUI SDK gateway
5
+ Author: azutoolkit
6
+ License-Expression: MIT
7
+ Project-URL: Homepage, https://www.joobq.io/docs/develop/
8
+ Project-URL: Repository, https://github.com/azutoolkit/joobqui
9
+ Project-URL: Issues, https://github.com/azutoolkit/joobqui/issues
10
+ Keywords: joobq,jobs,queue,workflows,background-jobs
11
+ Classifier: Development Status :: 4 - Beta
12
+ Classifier: Intended Audience :: Developers
13
+ Classifier: Programming Language :: Python :: 3
14
+ Classifier: Programming Language :: Python :: 3.9
15
+ Classifier: Programming Language :: Python :: 3.10
16
+ Classifier: Programming Language :: Python :: 3.11
17
+ Classifier: Programming Language :: Python :: 3.12
18
+ Classifier: Programming Language :: Python :: 3.13
19
+ Classifier: Topic :: System :: Distributed Computing
20
+ Classifier: Typing :: Typed
21
+ Classifier: Operating System :: OS Independent
22
+ Requires-Python: >=3.9
23
+ Description-Content-Type: text/markdown
24
+ License-File: LICENSE
25
+ Dynamic: license-file
26
+
27
+ # JoobQ SDK for Python
28
+
29
+ A thin worker and producer client for the JoobQ SDK gateway of a self-hosted JoobQUI server: register jobs and
30
+ workflow blueprints, run their tasks with retries, heartbeats and graceful shutdown, and enqueue jobs (up to 500 in one
31
+ call with `enqueue_many`) or start workflows. With JoobQ Pro on the server: batches with completion callbacks (`create_batch`,
32
+ `get_batch`) and a shared sliding-window rate limit (`rate_limit`).
33
+ JoobQUI version 0.1.0; an SDK talks to a server of its own version or later.
34
+
35
+ - Requirements: Python 3.9 or newer; standard library only.
36
+ - Install: `pip install joobq`.
37
+ - Use: `from joobq import JoobQClient, JoobQWorker, Job`.
38
+ - Connect: the server's origin and its SDK token, read by the examples from `JOOBQ_GATEWAY_URL` and `JOOBQ_SDK_TOKEN`.
39
+ - Documentation: https://www.joobq.io/docs/develop/ (workers, jobs, workflows, the gateway contract).
40
+
41
+ This package is generated from `templates/sdks/python` in https://github.com/azutoolkit/joobqui by
42
+ `joobqui-selfhosted sdk:generate`: change the templates, not the generated files.
43
+
44
+ ## License
45
+
46
+ MIT (see `LICENSE`).
joobq-0.1.0/README.md ADDED
@@ -0,0 +1,20 @@
1
+ # JoobQ SDK for Python
2
+
3
+ A thin worker and producer client for the JoobQ SDK gateway of a self-hosted JoobQUI server: register jobs and
4
+ workflow blueprints, run their tasks with retries, heartbeats and graceful shutdown, and enqueue jobs (up to 500 in one
5
+ call with `enqueue_many`) or start workflows. With JoobQ Pro on the server: batches with completion callbacks (`create_batch`,
6
+ `get_batch`) and a shared sliding-window rate limit (`rate_limit`).
7
+ JoobQUI version 0.1.0; an SDK talks to a server of its own version or later.
8
+
9
+ - Requirements: Python 3.9 or newer; standard library only.
10
+ - Install: `pip install joobq`.
11
+ - Use: `from joobq import JoobQClient, JoobQWorker, Job`.
12
+ - Connect: the server's origin and its SDK token, read by the examples from `JOOBQ_GATEWAY_URL` and `JOOBQ_SDK_TOKEN`.
13
+ - Documentation: https://www.joobq.io/docs/develop/ (workers, jobs, workflows, the gateway contract).
14
+
15
+ This package is generated from `templates/sdks/python` in https://github.com/azutoolkit/joobqui by
16
+ `joobqui-selfhosted sdk:generate`: change the templates, not the generated files.
17
+
18
+ ## License
19
+
20
+ MIT (see `LICENSE`).