oban 0.5.0__py3-none-any.whl

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 (59) hide show
  1. oban/__init__.py +22 -0
  2. oban/__main__.py +12 -0
  3. oban/_backoff.py +87 -0
  4. oban/_config.py +171 -0
  5. oban/_executor.py +188 -0
  6. oban/_extensions.py +16 -0
  7. oban/_leader.py +118 -0
  8. oban/_lifeline.py +77 -0
  9. oban/_notifier.py +324 -0
  10. oban/_producer.py +334 -0
  11. oban/_pruner.py +93 -0
  12. oban/_query.py +409 -0
  13. oban/_recorded.py +34 -0
  14. oban/_refresher.py +88 -0
  15. oban/_scheduler.py +359 -0
  16. oban/_stager.py +115 -0
  17. oban/_worker.py +78 -0
  18. oban/cli.py +436 -0
  19. oban/decorators.py +218 -0
  20. oban/job.py +315 -0
  21. oban/oban.py +1084 -0
  22. oban/py.typed +0 -0
  23. oban/queries/__init__.py +0 -0
  24. oban/queries/ack_job.sql +11 -0
  25. oban/queries/all_jobs.sql +25 -0
  26. oban/queries/cancel_many_jobs.sql +37 -0
  27. oban/queries/cleanup_expired_leaders.sql +4 -0
  28. oban/queries/cleanup_expired_producers.sql +2 -0
  29. oban/queries/delete_many_jobs.sql +5 -0
  30. oban/queries/delete_producer.sql +2 -0
  31. oban/queries/elect_leader.sql +10 -0
  32. oban/queries/fetch_jobs.sql +44 -0
  33. oban/queries/get_job.sql +23 -0
  34. oban/queries/insert_job.sql +28 -0
  35. oban/queries/insert_producer.sql +2 -0
  36. oban/queries/install.sql +113 -0
  37. oban/queries/prune_jobs.sql +18 -0
  38. oban/queries/reelect_leader.sql +12 -0
  39. oban/queries/refresh_producers.sql +3 -0
  40. oban/queries/rescue_jobs.sql +18 -0
  41. oban/queries/reset.sql +5 -0
  42. oban/queries/resign_leader.sql +4 -0
  43. oban/queries/retry_many_jobs.sql +13 -0
  44. oban/queries/stage_jobs.sql +34 -0
  45. oban/queries/uninstall.sql +4 -0
  46. oban/queries/update_job.sql +54 -0
  47. oban/queries/update_producer.sql +3 -0
  48. oban/queries/verify_structure.sql +9 -0
  49. oban/schema.py +115 -0
  50. oban/telemetry/__init__.py +10 -0
  51. oban/telemetry/core.py +170 -0
  52. oban/telemetry/logger.py +147 -0
  53. oban/testing.py +439 -0
  54. oban-0.5.0.dist-info/METADATA +290 -0
  55. oban-0.5.0.dist-info/RECORD +59 -0
  56. oban-0.5.0.dist-info/WHEEL +5 -0
  57. oban-0.5.0.dist-info/entry_points.txt +2 -0
  58. oban-0.5.0.dist-info/licenses/LICENSE.txt +201 -0
  59. oban-0.5.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,290 @@
1
+ Metadata-Version: 2.4
2
+ Name: oban
3
+ Version: 0.5.0
4
+ Summary: Job orchestration framework, backed by PostgreSQL.
5
+ Author-email: "Soren, LLC" <support@oban.pro>
6
+ License-Expression: Apache-2.0
7
+ Project-URL: Homepage, https://oban.pro
8
+ Project-URL: Documentation, https://oban.pro/docs/py
9
+ Project-URL: Repository, https://github.com/oban-bg/oban-py
10
+ Project-URL: Changelog, https://github.com/oban-bg/oban-py/blob/main/CHANGELOG.md
11
+ Project-URL: Issues, https://github.com/oban-bg/oban-py/issues
12
+ Keywords: jobs,queue,background,async,postgresql,worker,cron,scheduling,task-queue
13
+ Classifier: Development Status :: 4 - Beta
14
+ Classifier: Framework :: AsyncIO
15
+ Classifier: Intended Audience :: Developers
16
+ Classifier: Operating System :: OS Independent
17
+ Classifier: Programming Language :: Python :: 3
18
+ Classifier: Programming Language :: Python :: 3.12
19
+ Classifier: Programming Language :: Python :: 3.13
20
+ Classifier: Programming Language :: Python :: 3.14
21
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
22
+ Classifier: Topic :: System :: Distributed Computing
23
+ Classifier: Typing :: Typed
24
+ Requires-Python: >=3.12
25
+ Description-Content-Type: text/markdown
26
+ License-File: LICENSE.txt
27
+ Requires-Dist: click>=8.1.0
28
+ Requires-Dist: erlpack>=1.0.0
29
+ Requires-Dist: orjson>=3.11.4
30
+ Requires-Dist: psycopg-pool>=3.2.6
31
+ Requires-Dist: psycopg[binary]>=3.2.13
32
+ Requires-Dist: uvloop>=0.22.0
33
+ Dynamic: license-file
34
+
35
+ <p align="center">
36
+ <picture>
37
+
38
+ <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/oban-bg/oban-py/blob/main/docs/_static/oban-logotype-dark.png">
39
+ <source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/oban-bg/oban-py/blob/main/docs/_static/oban-logotype-light.png">
40
+ <img alt="Oban logo" src="https://raw.githubusercontent.com/oban-bg/oban-py/blob/main/docs/_static/oban-logotype-light.png" width="320">
41
+ </picture>
42
+ </p>
43
+
44
+ <p align="center">
45
+ Oban is a sophisticated job orchestration framework for Python, backed by PostgreSQL.
46
+ Reliable, <br /> observable, and loaded with <a href="#features">enterprise grade features</a>.
47
+ </p>
48
+
49
+ <p align="center">
50
+ <a href="https://pypi.org/project/oban/">
51
+ <img alt="PyPI Version" src="https://img.shields.io/pypi/v/oban.svg">
52
+ </a>
53
+
54
+ <a href="https://github.com/oban-bg/oban-py/actions">
55
+ <img alt="CI Status" src="https://github.com/oban-bg/oban-py/workflows/ci/badge.svg">
56
+ </a>
57
+
58
+ <a href="https://opensource.org/licenses/Apache-2.0">
59
+ <img alt="Apache 2 License" src="https://img.shields.io/pypi/l/oban">
60
+ </a>
61
+ </p>
62
+
63
+ ## Table of Contents
64
+
65
+ - [Features](#features)
66
+ - [Oban Pro](#-oban-pro)
67
+ - [Requirements](#requirements)
68
+ - [Installation](#installation)
69
+ - [Quick Start](#quick-start)
70
+ - [Also Available](#also-available)
71
+ - [Community](#community)
72
+ - [Contributing](#contributing)
73
+
74
+ ---
75
+
76
+ > [!NOTE]
77
+ >
78
+ > This README is for the unreleased main branch, please reference the [official docs][docs]
79
+ > for the latest stable release.
80
+
81
+ [docs]: https://oban.pro/docs/py
82
+ [uv]: https://docs.astral.sh/uv/
83
+
84
+ ---
85
+
86
+ <!-- INDEX START -->
87
+
88
+ ## Features
89
+
90
+ Oban's primary goals are **reliability**, **consistency** and **observability**.
91
+
92
+ Oban is a powerful and flexible library that can handle a wide range of background job use cases,
93
+ and it is well-suited for systems of any size. It provides a simple and consistent API for
94
+ scheduling and performing jobs, and it is built to be fault-tolerant and easy to monitor.
95
+
96
+ Oban is fundamentally different from other background job processing tools because _it retains job
97
+ data for historic metrics and inspection_. You can leave your application running indefinitely
98
+ without worrying about jobs being lost or orphaned due to crashes.
99
+
100
+ ### Advantages Over Other Tools
101
+
102
+ - **Async Native** — Built entirely on asyncio with async/await throughout. Integrates naturally
103
+ with async web frameworks.
104
+
105
+ - **Fewer Dependencies** — If you are running a web app there is a _very good_ chance that you're
106
+ running on top of a SQL database. Running your job queue within a SQL database minimizes system
107
+ dependencies and simplifies data backups.
108
+
109
+ - **Transactional Control** — Enqueue a job along with other database changes, ensuring that
110
+ everything is committed or rolled back atomically.
111
+
112
+ - **Database Backups** — Jobs are stored inside of your primary database, which means they are
113
+ backed up together with the data that they relate to.
114
+
115
+ ### Advanced Features
116
+
117
+ - **Isolated Queues** — Jobs are stored in a single table but are executed in distinct queues.
118
+ Each queue runs in isolation, with its own concurrency limits, ensuring that a job in a single
119
+ slow queue can't back up other faster queues.
120
+
121
+ - **Queue Control** — Queues can be started, stopped, paused, resumed and scaled independently at
122
+ runtime locally or across _all_ running nodes.
123
+
124
+ - **Resilient Queues** — Failing queries won't crash the entire process, instead a backoff
125
+ mechanism will safely retry them again in the future.
126
+
127
+ - **Job Canceling** — Jobs can be canceled regardless of which node they are running on. For
128
+ executing jobs, workers can check for cancellation at safe points and stop gracefully.
129
+
130
+ - **Triggered Execution** — Insert triggers ensure that jobs are dispatched on all connected nodes
131
+ as soon as they are inserted into the database.
132
+
133
+ - **Scheduled Jobs** — Jobs can be scheduled at any time in the future, down to the second.
134
+
135
+ - **Periodic (CRON) Jobs** — Automatically enqueue jobs on a cron-like schedule. Duplicate jobs
136
+ are never enqueued, no matter how many nodes you're running.
137
+
138
+ - **Job Priority** — Prioritize jobs within a queue to run ahead of others with ten levels of
139
+ granularity.
140
+
141
+ - **Historic Metrics** — After a job is processed the row isn't deleted. Instead, the job is
142
+ retained in the database to provide metrics. This allows users to inspect historic jobs and to
143
+ see aggregate data at the job, queue or argument level.
144
+
145
+ - **Node Metrics** — Every queue records metrics to the database during runtime. These are used to
146
+ monitor queue health across nodes and may be used for analytics.
147
+
148
+ - **Graceful Shutdown** — Queue shutdown is delayed so that slow jobs can finish executing before
149
+ shutdown. When shutdown starts queues are paused and stop executing new jobs. Any jobs left
150
+ running after the shutdown grace period may be rescued later.
151
+
152
+ - **Telemetry Integration** — Job life-cycle events are emitted via Telemetry integration.
153
+ This enables simple logging, error reporting and health checkups without plug-ins.
154
+
155
+ ## 🌟 Oban Pro
156
+
157
+ Oban Pro is a licensed add-on that expands what Oban is capable of while making complex workflows
158
+ possible.
159
+
160
+ - **Optimizations** — Switch to Pro for automatic bulk inserts, bulk acking, and
161
+ accurate orphan rescue.
162
+
163
+ - **Multi-Process Execution** — Bypass the GIL and utilize multiple cores for CPU-intensive
164
+ workloads. Just switch from `oban start` to `obanpro start`.
165
+
166
+ - **Smart Concurrency** — Global limits across all nodes, rate limiting (e.g., 60 jobs/minute),
167
+ and partitioned queues that apply limits per worker, tenant, or any argument.
168
+
169
+ - **Workflows** — Compose jobs with dependencies for sequential, fan-out, and fan-in patterns.
170
+ Sub-workflows, cascading functions, and runtime grafting for dynamic pipelines.
171
+
172
+ - **Unique Jobs** — Prevent enqueueing duplicate jobs based on configurable fields and time
173
+ windows.
174
+
175
+ [Learn more about Oban Pro →](https://oban.pro)
176
+
177
+ ## Requirements
178
+
179
+ Oban requires:
180
+
181
+ * Python 3.12+
182
+ * PostgreSQL 14.0+
183
+
184
+ ## Installation
185
+
186
+ See the [installation guide][docs] for details on installing and configuring Oban for your
187
+ application.
188
+
189
+ ## Quick Start
190
+
191
+ Get up and running in just a few steps: define a worker (or decorate a function), enqueue jobs,
192
+ and start processing with the CLI (or embedded mode).
193
+
194
+ 1. Define a worker to process jobs:
195
+
196
+ ```python
197
+ from oban import worker, Snooze, Cancel
198
+
199
+ @worker(queue="exports", max_attempts=5)
200
+ class ExportWorker:
201
+ async def process(self, job):
202
+ # Check if user cancelled their export request
203
+ if job.cancelled():
204
+ return Cancel("Export cancelled by user")
205
+
206
+ report = await generate_report(job.args["report_id"])
207
+
208
+ # Not ready? Check again in 30 seconds (doesn't count as a failure)
209
+ if report.status == "pending":
210
+ return Snooze(seconds=30)
211
+
212
+ await send_to_user(job.args["email"], report)
213
+ ```
214
+
215
+ 2. Enqueue jobs from anywhere in your app:
216
+
217
+ ```python
218
+ await ExportWorker.enqueue({"report_id": 123, "email": "user@example.com"})
219
+ ```
220
+
221
+ 3. Run with the CLI:
222
+
223
+ ```bash
224
+ # Install the database schema (once)
225
+ oban install --dsn postgresql://localhost/mydb
226
+
227
+ # Start processing jobs
228
+ oban start --dsn postgresql://localhost/mydb --queues exports:10
229
+ ```
230
+
231
+ Or embed in your application (FastAPI, Django, etc.):
232
+
233
+ ```python
234
+ from oban import Oban
235
+
236
+ oban = Oban(pool=pool, queues={"exports": 10})
237
+
238
+ async with oban:
239
+ ... # Run your app
240
+ ```
241
+
242
+ For more details, see the [full documentation][docs].
243
+
244
+ <!-- INDEX END -->
245
+
246
+ ## Also Available
247
+
248
+ [Oban for Elixir][oban-elixir] — The original Oban, with support for PostgreSQL, MySQL, and SQLite3
249
+
250
+ Oban for Python and Elixir are fully compatible — they share the same database schema and can
251
+ run side-by-side, making it easy to use both languages in the same system.
252
+
253
+ [oban-elixir]: https://github.com/oban-bg/oban
254
+
255
+ ## Community
256
+
257
+ Submit bug reports and upcoming features in the [issue tracker][issues]
258
+
259
+ [issues]: https://github.com/oban-bg/oban-py/issues
260
+
261
+ ## Contributing
262
+
263
+ To run the Oban test suite you must have Python 3.12+, PostgreSQL 14+, and [uv] installed. Follow
264
+ these steps to create the database and run all tests:
265
+
266
+ ```bash
267
+ make test
268
+ ```
269
+
270
+ To ensure a commit passes CI you should run `make ci`, or run these checks locally:
271
+
272
+ * Lint with Ruff (`uv run ruff check`)
273
+ * Check formatting (`uv run ruff format --check`)
274
+ * Check types (`uv run ty check`)
275
+ * Run tests (`uv run pytest`)
276
+
277
+ ### Building Documentation
278
+
279
+ There are `make` commands available to help build and serve the documentation locally:
280
+
281
+ ```bash
282
+ # Build HTML documentation
283
+ make docs
284
+
285
+ # Build and serve at http://localhost:8000
286
+ make docs-serve
287
+
288
+ # Clean built documentation
289
+ make docs-clean
290
+ ```
@@ -0,0 +1,59 @@
1
+ oban/__init__.py,sha256=5fzQtHDMksg-uZQDNsw47P54Esx9BvP4ihDUTkHYn-U,382
2
+ oban/__main__.py,sha256=87KERY_lPJEPWQ34_-tPyQc1wAUdNuRrUkBxae5z8nw,181
3
+ oban/_backoff.py,sha256=s3jpL7THs_YpSW923mOMVoi1J44UliEIFTUvGI9hGwk,2612
4
+ oban/_config.py,sha256=myWN6KrM_DFO53aDCq_PV3uIKtwDS4G2u0T-qgM9NBI,4954
5
+ oban/_executor.py,sha256=vPg8VS__Mh08nfSvi1CGYAhMRoKxISSGgxqV3gmB-NI,5598
6
+ oban/_extensions.py,sha256=PwHzu8q3mvDYVemwfI40PYwsSg5I-snK8b-ndijcFxs,394
7
+ oban/_leader.py,sha256=KeE6GpAQf4Tp8eX_vS_FP1M6g0UPCnWAIMjH5qB6wSE,3573
8
+ oban/_lifeline.py,sha256=M3STFdfNxzfqFcxSku523ULL_a07K09IQz2XfcoIjv4,2243
9
+ oban/_notifier.py,sha256=yMoQ66hdpobnGp8NUx--ADE5k1oE7jYuZDb65kbOS-s,9991
10
+ oban/_producer.py,sha256=ATJfoNDmZRfSkTzNAGbgaNTFImW4ppV4wT92fzy4Q4s,9646
11
+ oban/_pruner.py,sha256=QP3lyYJ6tuLqu4JImXatZjQW3_2FnCem1MqnZZxMKkQ,2778
12
+ oban/_query.py,sha256=MIGHyMTy3BmuVo8_W7_pOWtdtQ9thdUWdbEgOoYFVkU,13489
13
+ oban/_recorded.py,sha256=QNa1qTT26hf2fgxbhj_2HdIpzwAZvsaSfF2D6_uX2AE,829
14
+ oban/_refresher.py,sha256=el18q3Ipf4Fb1MpYm85F1hc3QeWLmlxPGeXjZtkXzgw,2584
15
+ oban/_scheduler.py,sha256=0rxFE57H4mpoZtgv8MgOcsc0I9MwGQ587C_KNcp59aM,10915
16
+ oban/_stager.py,sha256=_i26_W_tlWw-UbYdIHxSajK3cumt6LNJhcelGuER1cw,3496
17
+ oban/_worker.py,sha256=p_zoxtnO8DjqWKW-H14Vu31ksdK6ufclB74mgYrd2us,2021
18
+ oban/cli.py,sha256=yIDc1Hw7QAwjsDyWb_RB1S9A8dglPPbrHxGsL4iVxJA,12471
19
+ oban/decorators.py,sha256=BSRR_2QTqszSKBhNxt0Rl9bVX2-_4doA_C0CZ4mdxAg,7925
20
+ oban/job.py,sha256=CIca0QTgL5gz2_62VqPMfb4BvvofqP4vAZiMv21sn1c,10048
21
+ oban/oban.py,sha256=9ojjEIp-MNtrk_JEwOcVFDdxq8kmFyZTxhB9TMEaIJI,35884
22
+ oban/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
23
+ oban/schema.py,sha256=3OcMvC1uNf1IHPfAjKa6ozgP7BiM_yo0xeZRc95n-Vk,3603
24
+ oban/testing.py,sha256=_shUFpXRrS4QKCTajMgSgGTjD-K7b_Ah05VkV8naqhI,14849
25
+ oban/queries/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
26
+ oban/queries/ack_job.sql,sha256=N_GV3Uxm2mteW0T4lgkgVq4RR11NtDdMlfMKB44nx5U,856
27
+ oban/queries/all_jobs.sql,sha256=n-wJ8_djL47U_TqpQmWru-wovR7pH9m9Q8BPsNj9ILI,292
28
+ oban/queries/cancel_many_jobs.sql,sha256=PEZhhYXITFrasyYiwRj6zb9bXV_3_FRJ72XPh6l5wM4,806
29
+ oban/queries/cleanup_expired_leaders.sql,sha256=WM2ApPPht5G6pI9taCsNsBNKmKRGvVFEBFNhgOivYMg,71
30
+ oban/queries/cleanup_expired_producers.sql,sha256=qu8r0rzkrbdOLd8qaTSycTGYj-PBX2FXBhUdB2uNm68,106
31
+ oban/queries/delete_many_jobs.sql,sha256=eqBPJFUmYWGq1_i2aRgSumP5jtN1k8LL1fBckjK5bdE,77
32
+ oban/queries/delete_producer.sql,sha256=NPN8Ga3CqyUHS7U9ib658afvkoqDygTg7bThS6eigrg,49
33
+ oban/queries/elect_leader.sql,sha256=qx69Tnca_W2v6G6EN2Pviy-yF2DVMLUKtTJfmllI5Mo,226
34
+ oban/queries/fetch_jobs.sql,sha256=eZc2Lzs1eAQLfuQ2UhNO29OknDeKk3XzSsHCXOAPBO0,726
35
+ oban/queries/get_job.sql,sha256=HFzTvFN_59EhxfLIJEqCL-4FTddTypbsAIp8SCcc-2s,257
36
+ oban/queries/insert_job.sql,sha256=XIjGB3vEZmtcxLbWSRyE31GlojqVK1b4gI-EVyPR-08,612
37
+ oban/queries/insert_producer.sql,sha256=Zt8ZAy757CU1RVbTXOoXtQVUHOhbZjuITl5vkOzu8sQ,118
38
+ oban/queries/install.sql,sha256=UVVFVncFp-M8FjPxtNw3LlZc1n560JKvJpgPgsQEhBs,3548
39
+ oban/queries/prune_jobs.sql,sha256=MmYWQpb4p8eGJQ31WT_XKhUh4mOtPWz0f4khDTDz2CI,510
40
+ oban/queries/reelect_leader.sql,sha256=HwAQ_QOQT2JjndZxD_pZH6EXEpXrtPQPjLcfkImIAFY,302
41
+ oban/queries/refresh_producers.sql,sha256=Zidw2WOe3PrTa4RiTk6jVsPucCiAQlNz2lGnPoOKpDY,90
42
+ oban/queries/rescue_jobs.sql,sha256=rQ7TzHV5khKyAFKjU5R4cDK-SZcOJG5bmwjM1ODi5OY,526
43
+ oban/queries/reset.sql,sha256=0nVDb3rzY76z9axejbQ7pyUlGYfKAsjZn5Rfpg23zsI,86
44
+ oban/queries/resign_leader.sql,sha256=3qwQVjcBo0XMceUTScMoGABj1jmHcq8XlL4tXvQuMss,71
45
+ oban/queries/retry_many_jobs.sql,sha256=wFgtkM9zhbEAlwzAOc8MOZSuTNYqZj5gj5Uy0lWUsFk,350
46
+ oban/queries/stage_jobs.sql,sha256=g4Q3vinowb6-1zgryAuK1Im3pQNOsRM6TlLhb7I6uBI,596
47
+ oban/queries/uninstall.sql,sha256=EtCdRDxTurDLMjloWhBHo8anroGKVL6DxjXK0kjrUkU,172
48
+ oban/queries/update_job.sql,sha256=judKOqXTtjtlx-CzGs0hHcLAr52_O5QUs1yTYG9qihU,1296
49
+ oban/queries/update_producer.sql,sha256=hg4L_yR9QsWy3m567RkCpZFFYMIsD2bH-RyftzlJ13w,72
50
+ oban/queries/verify_structure.sql,sha256=q1j0cGdVco6sTl7stMYnWFnow68LbLyTGRc4MNTfbMw,175
51
+ oban/telemetry/__init__.py,sha256=wZctcfSQtRjQhlIAVjGEF0-IqGBQmsO0ddcucUDqrDw,333
52
+ oban/telemetry/core.py,sha256=EnlhIGMQZ69xpvBKxqoqLCNbUzzWYHfFgSELks1ZKug,4888
53
+ oban/telemetry/logger.py,sha256=OPQfNT6TTWlMaauFgmOuSS6HbYWDDSE173QT45xPc7w,4195
54
+ oban-0.5.0.dist-info/licenses/LICENSE.txt,sha256=xGwHZy3T-hTMTA4nILkJyFfgeZJm1nalyl9WhRZhVNY,11340
55
+ oban-0.5.0.dist-info/METADATA,sha256=8HbdU0ZHUmJ2Wmx4-s5ekOLb9ICmBEtb_SDPKwYSmH8,10266
56
+ oban-0.5.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
57
+ oban-0.5.0.dist-info/entry_points.txt,sha256=lGPeGm_mp0OxiRjbnKfb_hkqoUhrZ8o0Wkj-oEcc7Vk,39
58
+ oban-0.5.0.dist-info/top_level.txt,sha256=yqQKyoIH_pe6lRo1cxOZEAOtIevyEc3a67RGO77UmG0,5
59
+ oban-0.5.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (80.9.0)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ oban = oban.cli:main
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright 2025 Soren, LLC
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
@@ -0,0 +1 @@
1
+ oban