dimp 2.2.1__tar.gz → 2.2.2__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.
- {dimp-2.2.1 → dimp-2.2.2}/PKG-INFO +1 -8
- {dimp-2.2.1 → dimp-2.2.2}/README.md +0 -7
- {dimp-2.2.1 → dimp-2.2.2}/dimp/__init__.py +0 -3
- {dimp-2.2.1 → dimp-2.2.2}/dimp/dkd/__init__.py +0 -6
- {dimp-2.2.1 → dimp-2.2.2}/dimp/msg/__init__.py +1 -8
- {dimp-2.2.1 → dimp-2.2.2}/dimp.egg-info/PKG-INFO +1 -8
- dimp-2.2.2/dimp.egg-info/requires.txt +2 -0
- {dimp-2.2.1 → dimp-2.2.2}/setup.py +3 -3
- dimp-2.2.1/dimp.egg-info/requires.txt +0 -2
- {dimp-2.2.1 → dimp-2.2.2}/dimp/crypto/__init__.py +0 -0
- {dimp-2.2.1 → dimp-2.2.2}/dimp/crypto/keys.py +0 -0
- {dimp-2.2.1 → dimp-2.2.2}/dimp/crypto/pnf.py +0 -0
- {dimp-2.2.1 → dimp-2.2.2}/dimp/crypto/ted.py +0 -0
- {dimp-2.2.1 → dimp-2.2.2}/dimp/dkd/base.py +0 -0
- {dimp-2.2.1 → dimp-2.2.2}/dimp/dkd/commands.py +0 -0
- {dimp-2.2.1 → dimp-2.2.2}/dimp/dkd/contents.py +0 -0
- {dimp-2.2.1 → dimp-2.2.2}/dimp/dkd/files.py +0 -0
- {dimp-2.2.1 → dimp-2.2.2}/dimp/dkd/group_admins.py +0 -0
- {dimp-2.2.1 → dimp-2.2.2}/dimp/dkd/groups.py +0 -0
- {dimp-2.2.1 → dimp-2.2.2}/dimp/dkd/money.py +0 -0
- {dimp-2.2.1 → dimp-2.2.2}/dimp/dkd/quote.py +0 -0
- {dimp-2.2.1 → dimp-2.2.2}/dimp/dkd/receipt.py +0 -0
- {dimp-2.2.1 → dimp-2.2.2}/dimp/mkm/__init__.py +0 -0
- {dimp-2.2.1 → dimp-2.2.2}/dimp/mkm/docs.py +0 -0
- {dimp-2.2.1 → dimp-2.2.2}/dimp/mkm/document.py +0 -0
- {dimp-2.2.1 → dimp-2.2.2}/dimp/mkm/meta.py +0 -0
- {dimp-2.2.1 → dimp-2.2.2}/dimp/msg/base.py +0 -0
- {dimp-2.2.1 → dimp-2.2.2}/dimp/msg/envelope.py +0 -0
- {dimp-2.2.1 → dimp-2.2.2}/dimp/msg/instant.py +0 -0
- {dimp-2.2.1 → dimp-2.2.2}/dimp/msg/reliable.py +0 -0
- {dimp-2.2.1 → dimp-2.2.2}/dimp/msg/secure.py +0 -0
- {dimp-2.2.1 → dimp-2.2.2}/dimp/plugins/__init__.py +0 -0
- {dimp-2.2.1 → dimp-2.2.2}/dimp/plugins/cmd.py +0 -0
- {dimp-2.2.1 → dimp-2.2.2}/dimp/protocol/__init__.py +0 -0
- {dimp-2.2.1 → dimp-2.2.2}/dimp/protocol/commands.py +0 -0
- {dimp-2.2.1 → dimp-2.2.2}/dimp/protocol/contents.py +0 -0
- {dimp-2.2.1 → dimp-2.2.2}/dimp/protocol/docs.py +0 -0
- {dimp-2.2.1 → dimp-2.2.2}/dimp/protocol/files.py +0 -0
- {dimp-2.2.1 → dimp-2.2.2}/dimp/protocol/groups.py +0 -0
- {dimp-2.2.1 → dimp-2.2.2}/dimp/protocol/helpers.py +0 -0
- {dimp-2.2.1 → dimp-2.2.2}/dimp/protocol/money.py +0 -0
- {dimp-2.2.1 → dimp-2.2.2}/dimp/protocol/quote.py +0 -0
- {dimp-2.2.1 → dimp-2.2.2}/dimp/protocol/receipt.py +0 -0
- {dimp-2.2.1 → dimp-2.2.2}/dimp.egg-info/SOURCES.txt +0 -0
- {dimp-2.2.1 → dimp-2.2.2}/dimp.egg-info/dependency_links.txt +0 -0
- {dimp-2.2.1 → dimp-2.2.2}/dimp.egg-info/top_level.txt +0 -0
- {dimp-2.2.1 → dimp-2.2.2}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: dimp
|
|
3
|
-
Version: 2.2.
|
|
3
|
+
Version: 2.2.2
|
|
4
4
|
Summary: Decentralized Instant Messaging Protocol
|
|
5
5
|
Home-page: https://github.com/dimchat/core-py
|
|
6
6
|
Author: Albert Moky
|
|
@@ -100,10 +100,6 @@ Description: # Decentralized Instant Messaging Protocol (Python)
|
|
|
100
100
|
def state(self) -> HandshakeState:
|
|
101
101
|
return handshake_state(title=self.title, session=self.session)
|
|
102
102
|
|
|
103
|
-
#
|
|
104
|
-
# Factories
|
|
105
|
-
#
|
|
106
|
-
|
|
107
103
|
@classmethod
|
|
108
104
|
def offer(cls, session: str = None) -> Command:
|
|
109
105
|
"""
|
|
@@ -197,9 +193,6 @@ Description: # Decentralized Instant Messaging Protocol (Python)
|
|
|
197
193
|
""" Action Name """
|
|
198
194
|
raise NotImplemented
|
|
199
195
|
|
|
200
|
-
#
|
|
201
|
-
# Factory method
|
|
202
|
-
#
|
|
203
196
|
@classmethod
|
|
204
197
|
def create(cls, app: str, mod: str, act: str):
|
|
205
198
|
return AppCustomizedContent(app=app, mod=mod, act=act)
|
|
@@ -92,10 +92,6 @@ class HandshakeCommand(BaseCommand):
|
|
|
92
92
|
def state(self) -> HandshakeState:
|
|
93
93
|
return handshake_state(title=self.title, session=self.session)
|
|
94
94
|
|
|
95
|
-
#
|
|
96
|
-
# Factories
|
|
97
|
-
#
|
|
98
|
-
|
|
99
95
|
@classmethod
|
|
100
96
|
def offer(cls, session: str = None) -> Command:
|
|
101
97
|
"""
|
|
@@ -189,9 +185,6 @@ class CustomizedContent(Content, ABC):
|
|
|
189
185
|
""" Action Name """
|
|
190
186
|
raise NotImplemented
|
|
191
187
|
|
|
192
|
-
#
|
|
193
|
-
# Factory method
|
|
194
|
-
#
|
|
195
188
|
@classmethod
|
|
196
189
|
def create(cls, app: str, mod: str, act: str):
|
|
197
190
|
return AppCustomizedContent(app=app, mod=mod, act=act)
|
|
@@ -28,8 +28,7 @@
|
|
|
28
28
|
# SOFTWARE.
|
|
29
29
|
# ==============================================================================
|
|
30
30
|
|
|
31
|
-
from dkd
|
|
32
|
-
from dkd.msg import *
|
|
31
|
+
from dkd import *
|
|
33
32
|
|
|
34
33
|
from .envelope import MessageEnvelope
|
|
35
34
|
|
|
@@ -58,12 +57,6 @@ __all__ = [
|
|
|
58
57
|
'EnvelopeFactory',
|
|
59
58
|
'InstantMessageFactory', 'SecureMessageFactory', 'ReliableMessageFactory',
|
|
60
59
|
|
|
61
|
-
#
|
|
62
|
-
# Message Delegates
|
|
63
|
-
#
|
|
64
|
-
|
|
65
|
-
'InstantMessageDelegate', 'SecureMessageDelegate', 'ReliableMessageDelegate',
|
|
66
|
-
|
|
67
60
|
#
|
|
68
61
|
# Implementations
|
|
69
62
|
#
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: dimp
|
|
3
|
-
Version: 2.2.
|
|
3
|
+
Version: 2.2.2
|
|
4
4
|
Summary: Decentralized Instant Messaging Protocol
|
|
5
5
|
Home-page: https://github.com/dimchat/core-py
|
|
6
6
|
Author: Albert Moky
|
|
@@ -100,10 +100,6 @@ Description: # Decentralized Instant Messaging Protocol (Python)
|
|
|
100
100
|
def state(self) -> HandshakeState:
|
|
101
101
|
return handshake_state(title=self.title, session=self.session)
|
|
102
102
|
|
|
103
|
-
#
|
|
104
|
-
# Factories
|
|
105
|
-
#
|
|
106
|
-
|
|
107
103
|
@classmethod
|
|
108
104
|
def offer(cls, session: str = None) -> Command:
|
|
109
105
|
"""
|
|
@@ -197,9 +193,6 @@ Description: # Decentralized Instant Messaging Protocol (Python)
|
|
|
197
193
|
""" Action Name """
|
|
198
194
|
raise NotImplemented
|
|
199
195
|
|
|
200
|
-
#
|
|
201
|
-
# Factory method
|
|
202
|
-
#
|
|
203
196
|
@classmethod
|
|
204
197
|
def create(cls, app: str, mod: str, act: str):
|
|
205
198
|
return AppCustomizedContent(app=app, mod=mod, act=act)
|
|
@@ -14,7 +14,7 @@ import io
|
|
|
14
14
|
|
|
15
15
|
from setuptools import setup, find_packages
|
|
16
16
|
|
|
17
|
-
__version__ = '2.2.
|
|
17
|
+
__version__ = '2.2.2'
|
|
18
18
|
__author__ = 'Albert Moky'
|
|
19
19
|
__contact__ = 'albert.moky@gmail.com'
|
|
20
20
|
|
|
@@ -38,7 +38,7 @@ setup(
|
|
|
38
38
|
'Operating System :: OS Independent',
|
|
39
39
|
],
|
|
40
40
|
install_requires=[
|
|
41
|
-
'dkd>=2.2.
|
|
42
|
-
'mkm>=2.2.
|
|
41
|
+
'dkd>=2.2.2',
|
|
42
|
+
'mkm>=2.2.2',
|
|
43
43
|
]
|
|
44
44
|
)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|