onceonly-sdk 2.0.1__py3-none-any.whl → 2.0.2__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.
- onceonly/version.py +1 -1
- {onceonly_sdk-2.0.1.dist-info → onceonly_sdk-2.0.2.dist-info}/METADATA +30 -1
- {onceonly_sdk-2.0.1.dist-info → onceonly_sdk-2.0.2.dist-info}/RECORD +6 -6
- {onceonly_sdk-2.0.1.dist-info → onceonly_sdk-2.0.2.dist-info}/WHEEL +0 -0
- {onceonly_sdk-2.0.1.dist-info → onceonly_sdk-2.0.2.dist-info}/licenses/LICENSE +0 -0
- {onceonly_sdk-2.0.1.dist-info → onceonly_sdk-2.0.2.dist-info}/top_level.txt +0 -0
onceonly/version.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "2.0.
|
|
1
|
+
__version__ = "2.0.2"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: onceonly-sdk
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.2
|
|
4
4
|
Summary: Python SDK for OnceOnly idempotency API
|
|
5
5
|
Author-email: OnceOnly <support@onceonly.tech>
|
|
6
6
|
License: MIT
|
|
@@ -31,9 +31,27 @@ OnceOnly is a high-performance Python SDK that ensures **exactly-once execution*
|
|
|
31
31
|
It prevents duplicate actions (payments, emails, tool calls) in unstable environments like
|
|
32
32
|
AI agents, webhooks, retries, or background workers.
|
|
33
33
|
|
|
34
|
+
|
|
34
35
|
Website: https://onceonly.tech/ai/
|
|
35
36
|
Documentation: https://onceonly.tech/docs/
|
|
36
37
|
|
|
38
|
+
[](https://pypi.org/project/onceonly-sdk/)
|
|
39
|
+
[](https://opensource.org/licenses/MIT)
|
|
40
|
+
---
|
|
41
|
+
|
|
42
|
+
## Why duplicates happen
|
|
43
|
+
|
|
44
|
+
Duplicate actions are common in modern systems because:
|
|
45
|
+
- AI agents retry or re-plan tool calls
|
|
46
|
+
- Webhooks are delivered more than once
|
|
47
|
+
- Workers crash after side-effects
|
|
48
|
+
- Distributed systems replay events
|
|
49
|
+
|
|
50
|
+
Without an idempotency layer, the same action may run multiple times.
|
|
51
|
+
|
|
52
|
+
OnceOnly is designed to guard side-effects in non-deterministic AI agent loops,
|
|
53
|
+
where the same tool call may be executed multiple times.
|
|
54
|
+
|
|
37
55
|
---
|
|
38
56
|
|
|
39
57
|
## Features
|
|
@@ -45,6 +63,17 @@ Documentation: https://onceonly.tech/docs/
|
|
|
45
63
|
- Native AI API (long-running jobs, local side-effects)
|
|
46
64
|
- Optional AI / LangChain integrations
|
|
47
65
|
|
|
66
|
+
---
|
|
67
|
+
|
|
68
|
+
## FAQ
|
|
69
|
+
|
|
70
|
+
**Does this prevent duplicate payments or emails?**
|
|
71
|
+
Yes. OnceOnly guarantees exactly-once execution for side-effects.
|
|
72
|
+
|
|
73
|
+
**Is this a retry library?**
|
|
74
|
+
No. Retries still happen — OnceOnly ensures the action itself runs only once.
|
|
75
|
+
|
|
76
|
+
|
|
48
77
|
---
|
|
49
78
|
|
|
50
79
|
## Installation
|
|
@@ -7,11 +7,11 @@ onceonly/client.py,sha256=6DtLdWc-7_bAXsaaewUQUTHVnCkRZGsc-PByMVPRhYY,12838
|
|
|
7
7
|
onceonly/decorators.py,sha256=nP7Wu-RAQQNaTwyOnibzClEgcBJvYheMrG3_KztdlG8,5171
|
|
8
8
|
onceonly/exceptions.py,sha256=Issh08A4IHSDaysJhVZNRCU9W_9BfiGt65UHaMhDCs4,1156
|
|
9
9
|
onceonly/models.py,sha256=hVEBPgIVZP3ELjWYIFSFCKPzI38t5DA0gio9FvrmHJg,678
|
|
10
|
-
onceonly/version.py,sha256=
|
|
10
|
+
onceonly/version.py,sha256=tATvJM5shAzfspHYjdVwpV2w3-gDA119NlEYi5X2lFY,22
|
|
11
11
|
onceonly/integrations/__init__.py,sha256=0tk-2HTTsmc42NhWuR_G_Afmz5-5WG8NvmlO7iIPkIY,34
|
|
12
12
|
onceonly/integrations/langchain.py,sha256=cdpHIluddX48uYeDeE1cxmn-arruVdE3k6gvZxYC9z4,5821
|
|
13
|
-
onceonly_sdk-2.0.
|
|
14
|
-
onceonly_sdk-2.0.
|
|
15
|
-
onceonly_sdk-2.0.
|
|
16
|
-
onceonly_sdk-2.0.
|
|
17
|
-
onceonly_sdk-2.0.
|
|
13
|
+
onceonly_sdk-2.0.2.dist-info/licenses/LICENSE,sha256=YQQ8IT_P7hcGmmLFFuOy3eKDZ90e1cqef_okg85oAiQ,129
|
|
14
|
+
onceonly_sdk-2.0.2.dist-info/METADATA,sha256=WzkOQRSbp38Ot2NKPOAOEY8p-_5Wy298bREdx74uD4w,5041
|
|
15
|
+
onceonly_sdk-2.0.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
16
|
+
onceonly_sdk-2.0.2.dist-info/top_level.txt,sha256=lvz-sHerZcTwlZW-uYoda_wgx62kY07GdtzIdw89hnU,9
|
|
17
|
+
onceonly_sdk-2.0.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|