rfnry-thread 0.1.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.
- rfnry_thread/__init__.py +108 -0
- rfnry_thread/client.py +749 -0
- rfnry_thread/connection.py +9 -0
- rfnry_thread/errors.py +47 -0
- rfnry_thread/hub.py +433 -0
- rfnry_thread/models.py +286 -0
- rfnry_thread/outbound.py +103 -0
- rfnry_thread/pipe.py +45 -0
- rfnry_thread/postgres.py +580 -0
- rfnry_thread/protocol.py +98 -0
- rfnry_thread/py.typed +0 -0
- rfnry_thread/resolve.py +26 -0
- rfnry_thread/server.py +407 -0
- rfnry_thread/state.py +193 -0
- rfnry_thread/storage.py +84 -0
- rfnry_thread/tools.py +199 -0
- rfnry_thread/verbs.py +436 -0
- rfnry_thread/websocket.py +57 -0
- rfnry_thread-0.1.0.dist-info/METADATA +30 -0
- rfnry_thread-0.1.0.dist-info/RECORD +22 -0
- rfnry_thread-0.1.0.dist-info/WHEEL +4 -0
- rfnry_thread-0.1.0.dist-info/licenses/LICENSE +21 -0
rfnry_thread/__init__.py
ADDED
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
from rfnry_thread.client import Client, Stream
|
|
2
|
+
from rfnry_thread.connection import Connection
|
|
3
|
+
from rfnry_thread.errors import (
|
|
4
|
+
ConfigurationError,
|
|
5
|
+
ForbiddenError,
|
|
6
|
+
InputError,
|
|
7
|
+
NotFoundError,
|
|
8
|
+
StorageError,
|
|
9
|
+
ThreadException,
|
|
10
|
+
TransportError,
|
|
11
|
+
)
|
|
12
|
+
from rfnry_thread.models import (
|
|
13
|
+
Audio,
|
|
14
|
+
Cancel,
|
|
15
|
+
Content,
|
|
16
|
+
Custom,
|
|
17
|
+
Document,
|
|
18
|
+
Edit,
|
|
19
|
+
Event,
|
|
20
|
+
Identity,
|
|
21
|
+
IdentityLike,
|
|
22
|
+
Idle,
|
|
23
|
+
Image,
|
|
24
|
+
Invited,
|
|
25
|
+
Joined,
|
|
26
|
+
Left,
|
|
27
|
+
Marked,
|
|
28
|
+
Member,
|
|
29
|
+
MemberAdded,
|
|
30
|
+
MemberRemoved,
|
|
31
|
+
Message,
|
|
32
|
+
Part,
|
|
33
|
+
Present,
|
|
34
|
+
Read,
|
|
35
|
+
Retract,
|
|
36
|
+
Signal,
|
|
37
|
+
StatusChanged,
|
|
38
|
+
Step,
|
|
39
|
+
StreamDelta,
|
|
40
|
+
StreamEnd,
|
|
41
|
+
StreamStart,
|
|
42
|
+
Text,
|
|
43
|
+
Thread,
|
|
44
|
+
ThreadDeleted,
|
|
45
|
+
ThreadUpdated,
|
|
46
|
+
Working,
|
|
47
|
+
)
|
|
48
|
+
from rfnry_thread.postgres import PostgresStorage
|
|
49
|
+
from rfnry_thread.resolve import resolve
|
|
50
|
+
from rfnry_thread.server import Server
|
|
51
|
+
from rfnry_thread.storage import Storage
|
|
52
|
+
from rfnry_thread.tools import ThreadTools, Tool, Tools
|
|
53
|
+
|
|
54
|
+
__version__ = "0.1.0"
|
|
55
|
+
|
|
56
|
+
__all__ = [
|
|
57
|
+
"Server",
|
|
58
|
+
"Connection",
|
|
59
|
+
"Client",
|
|
60
|
+
"Stream",
|
|
61
|
+
"Joined",
|
|
62
|
+
"StatusChanged",
|
|
63
|
+
"Identity",
|
|
64
|
+
"IdentityLike",
|
|
65
|
+
"Thread",
|
|
66
|
+
"Member",
|
|
67
|
+
"Text",
|
|
68
|
+
"Image",
|
|
69
|
+
"Audio",
|
|
70
|
+
"Document",
|
|
71
|
+
"Part",
|
|
72
|
+
"Content",
|
|
73
|
+
"Message",
|
|
74
|
+
"Step",
|
|
75
|
+
"Edit",
|
|
76
|
+
"Retract",
|
|
77
|
+
"Read",
|
|
78
|
+
"MemberAdded",
|
|
79
|
+
"MemberRemoved",
|
|
80
|
+
"ThreadUpdated",
|
|
81
|
+
"Custom",
|
|
82
|
+
"Event",
|
|
83
|
+
"resolve",
|
|
84
|
+
"Working",
|
|
85
|
+
"Idle",
|
|
86
|
+
"StreamStart",
|
|
87
|
+
"StreamDelta",
|
|
88
|
+
"StreamEnd",
|
|
89
|
+
"Cancel",
|
|
90
|
+
"Present",
|
|
91
|
+
"Left",
|
|
92
|
+
"Invited",
|
|
93
|
+
"ThreadDeleted",
|
|
94
|
+
"Marked",
|
|
95
|
+
"Signal",
|
|
96
|
+
"ThreadTools",
|
|
97
|
+
"Tool",
|
|
98
|
+
"Tools",
|
|
99
|
+
"Storage",
|
|
100
|
+
"PostgresStorage",
|
|
101
|
+
"ThreadException",
|
|
102
|
+
"NotFoundError",
|
|
103
|
+
"InputError",
|
|
104
|
+
"ConfigurationError",
|
|
105
|
+
"ForbiddenError",
|
|
106
|
+
"StorageError",
|
|
107
|
+
"TransportError",
|
|
108
|
+
]
|