blueping 2.0.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.
- blueping/__init__.py +175 -0
- blueping/__main__.py +4 -0
- blueping/_client.py +1143 -0
- blueping/_config.py +118 -0
- blueping/_dates.py +12 -0
- blueping/_errors.py +75 -0
- blueping/_http.py +198 -0
- blueping/_login.py +167 -0
- blueping/_version.py +1 -0
- blueping/_webhooks.py +101 -0
- blueping/cli.py +505 -0
- blueping/py.typed +0 -0
- blueping/skills/blueping/SKILL.md +103 -0
- blueping/types.py +934 -0
- blueping-2.0.0.dist-info/METADATA +361 -0
- blueping-2.0.0.dist-info/RECORD +19 -0
- blueping-2.0.0.dist-info/WHEEL +4 -0
- blueping-2.0.0.dist-info/entry_points.txt +2 -0
- blueping-2.0.0.dist-info/licenses/LICENSE +21 -0
blueping/__init__.py
ADDED
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
"""Blueping: email inboxes for AI agents, in one API call.
|
|
2
|
+
|
|
3
|
+
from blueping import Blueping
|
|
4
|
+
|
|
5
|
+
signed = Blueping.signup(name="My agent") # an agent, its key and its first inbox
|
|
6
|
+
inbox = signed["inbox"]
|
|
7
|
+
code = signed.client.wait_for_code(inbox["id"], from_="github.com")
|
|
8
|
+
"""
|
|
9
|
+
|
|
10
|
+
from ._client import Blueping, BluepingOrg
|
|
11
|
+
from ._errors import BluepingConnectionError, BluepingError, InboxOutOfScope, LoginError, PermissionDenied, WebhookVerificationError
|
|
12
|
+
from ._login import Login, start_login
|
|
13
|
+
from ._version import __version__
|
|
14
|
+
from ._webhooks import SIGNATURE_HEADER, sign_webhook, verify_webhook
|
|
15
|
+
from .types import (
|
|
16
|
+
AuditEntry,
|
|
17
|
+
AuditPage,
|
|
18
|
+
EmailDeliveryEvent,
|
|
19
|
+
EmailSuppressedEvent,
|
|
20
|
+
EventPage,
|
|
21
|
+
FeedbackReceipt,
|
|
22
|
+
FeedEvent,
|
|
23
|
+
InboxBatchDeleteResult,
|
|
24
|
+
InboxBatchResult,
|
|
25
|
+
OrgAgentPage,
|
|
26
|
+
Permission,
|
|
27
|
+
ReleasedMessage,
|
|
28
|
+
RemovedSuppression,
|
|
29
|
+
SearchPage,
|
|
30
|
+
Suppression,
|
|
31
|
+
SuppressionCheck,
|
|
32
|
+
SuppressionPage,
|
|
33
|
+
A2AEvent,
|
|
34
|
+
A2AMessageInfo,
|
|
35
|
+
Account,
|
|
36
|
+
AccountUpdate,
|
|
37
|
+
AddressRule,
|
|
38
|
+
AddressRuleList,
|
|
39
|
+
AgentClaimed,
|
|
40
|
+
AgentSignup,
|
|
41
|
+
AttachmentText,
|
|
42
|
+
DeletedDraft,
|
|
43
|
+
DeletedRule,
|
|
44
|
+
DeletedInbox,
|
|
45
|
+
DeletedThread,
|
|
46
|
+
EmailDraft,
|
|
47
|
+
EmailDraftPage,
|
|
48
|
+
EmailDraftFailedEvent,
|
|
49
|
+
EmailEvent,
|
|
50
|
+
MessageLabels,
|
|
51
|
+
SentDraft,
|
|
52
|
+
ThreadLabels,
|
|
53
|
+
EmailAttachment,
|
|
54
|
+
EmailAuth,
|
|
55
|
+
EmailMessage,
|
|
56
|
+
EmailMessagePage,
|
|
57
|
+
EmailSafety,
|
|
58
|
+
EmailSendResult,
|
|
59
|
+
EmailThread,
|
|
60
|
+
EmailThreadPage,
|
|
61
|
+
EmailThreadWithMessages,
|
|
62
|
+
HeldCount,
|
|
63
|
+
Inbox,
|
|
64
|
+
InboxList,
|
|
65
|
+
Mailbox,
|
|
66
|
+
MessageSender,
|
|
67
|
+
MailLimits,
|
|
68
|
+
MailPlanCheckout,
|
|
69
|
+
SendUsage,
|
|
70
|
+
OwnerCodeSent,
|
|
71
|
+
VerificationCode,
|
|
72
|
+
ApiKeyInfo,
|
|
73
|
+
KeyList,
|
|
74
|
+
LoginInfo,
|
|
75
|
+
LoginStatus,
|
|
76
|
+
PingEvent,
|
|
77
|
+
User,
|
|
78
|
+
Webhook,
|
|
79
|
+
WebhookDelivery,
|
|
80
|
+
WebhookDeliveryList,
|
|
81
|
+
WebhookEndpoint,
|
|
82
|
+
WebhookEvent,
|
|
83
|
+
WebhookInfo,
|
|
84
|
+
WebhookList,
|
|
85
|
+
WebhookTest,
|
|
86
|
+
WebhookWithSecret,
|
|
87
|
+
)
|
|
88
|
+
|
|
89
|
+
__all__ = [
|
|
90
|
+
"AuditEntry",
|
|
91
|
+
"AuditPage",
|
|
92
|
+
"BluepingOrg",
|
|
93
|
+
"EmailDeliveryEvent",
|
|
94
|
+
"EmailSuppressedEvent",
|
|
95
|
+
"EventPage",
|
|
96
|
+
"FeedbackReceipt",
|
|
97
|
+
"FeedEvent",
|
|
98
|
+
"InboxBatchDeleteResult",
|
|
99
|
+
"InboxBatchResult",
|
|
100
|
+
"InboxOutOfScope",
|
|
101
|
+
"OrgAgentPage",
|
|
102
|
+
"Permission",
|
|
103
|
+
"PermissionDenied",
|
|
104
|
+
"ReleasedMessage",
|
|
105
|
+
"RemovedSuppression",
|
|
106
|
+
"SearchPage",
|
|
107
|
+
"Suppression",
|
|
108
|
+
"SuppressionCheck",
|
|
109
|
+
"SuppressionPage",
|
|
110
|
+
"Account",
|
|
111
|
+
"AccountUpdate",
|
|
112
|
+
"AddressRule",
|
|
113
|
+
"AddressRuleList",
|
|
114
|
+
"AgentClaimed",
|
|
115
|
+
"AgentSignup",
|
|
116
|
+
"AttachmentText",
|
|
117
|
+
"DeletedDraft",
|
|
118
|
+
"DeletedRule",
|
|
119
|
+
"DeletedInbox",
|
|
120
|
+
"DeletedThread",
|
|
121
|
+
"EmailDraft",
|
|
122
|
+
"EmailDraftPage",
|
|
123
|
+
"EmailDraftFailedEvent",
|
|
124
|
+
"EmailEvent",
|
|
125
|
+
"A2AEvent",
|
|
126
|
+
"A2AMessageInfo",
|
|
127
|
+
"MessageSender",
|
|
128
|
+
"MessageLabels",
|
|
129
|
+
"SentDraft",
|
|
130
|
+
"ThreadLabels",
|
|
131
|
+
"EmailAttachment",
|
|
132
|
+
"EmailAuth",
|
|
133
|
+
"EmailMessage",
|
|
134
|
+
"EmailMessagePage",
|
|
135
|
+
"EmailSafety",
|
|
136
|
+
"EmailSendResult",
|
|
137
|
+
"EmailThread",
|
|
138
|
+
"EmailThreadPage",
|
|
139
|
+
"EmailThreadWithMessages",
|
|
140
|
+
"HeldCount",
|
|
141
|
+
"Inbox",
|
|
142
|
+
"InboxList",
|
|
143
|
+
"Mailbox",
|
|
144
|
+
"MailLimits",
|
|
145
|
+
"MailPlanCheckout",
|
|
146
|
+
"SendUsage",
|
|
147
|
+
"OwnerCodeSent",
|
|
148
|
+
"VerificationCode",
|
|
149
|
+
"ApiKeyInfo",
|
|
150
|
+
"Blueping",
|
|
151
|
+
"BluepingConnectionError",
|
|
152
|
+
"BluepingError",
|
|
153
|
+
"KeyList",
|
|
154
|
+
"Login",
|
|
155
|
+
"LoginError",
|
|
156
|
+
"LoginInfo",
|
|
157
|
+
"LoginStatus",
|
|
158
|
+
"PingEvent",
|
|
159
|
+
"SIGNATURE_HEADER",
|
|
160
|
+
"User",
|
|
161
|
+
"Webhook",
|
|
162
|
+
"WebhookDelivery",
|
|
163
|
+
"WebhookDeliveryList",
|
|
164
|
+
"WebhookEndpoint",
|
|
165
|
+
"WebhookEvent",
|
|
166
|
+
"WebhookInfo",
|
|
167
|
+
"WebhookList",
|
|
168
|
+
"WebhookTest",
|
|
169
|
+
"WebhookWithSecret",
|
|
170
|
+
"WebhookVerificationError",
|
|
171
|
+
"__version__",
|
|
172
|
+
"sign_webhook",
|
|
173
|
+
"start_login",
|
|
174
|
+
"verify_webhook",
|
|
175
|
+
]
|
blueping/__main__.py
ADDED