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.
Files changed (47) hide show
  1. {dimp-2.2.1 → dimp-2.2.2}/PKG-INFO +1 -8
  2. {dimp-2.2.1 → dimp-2.2.2}/README.md +0 -7
  3. {dimp-2.2.1 → dimp-2.2.2}/dimp/__init__.py +0 -3
  4. {dimp-2.2.1 → dimp-2.2.2}/dimp/dkd/__init__.py +0 -6
  5. {dimp-2.2.1 → dimp-2.2.2}/dimp/msg/__init__.py +1 -8
  6. {dimp-2.2.1 → dimp-2.2.2}/dimp.egg-info/PKG-INFO +1 -8
  7. dimp-2.2.2/dimp.egg-info/requires.txt +2 -0
  8. {dimp-2.2.1 → dimp-2.2.2}/setup.py +3 -3
  9. dimp-2.2.1/dimp.egg-info/requires.txt +0 -2
  10. {dimp-2.2.1 → dimp-2.2.2}/dimp/crypto/__init__.py +0 -0
  11. {dimp-2.2.1 → dimp-2.2.2}/dimp/crypto/keys.py +0 -0
  12. {dimp-2.2.1 → dimp-2.2.2}/dimp/crypto/pnf.py +0 -0
  13. {dimp-2.2.1 → dimp-2.2.2}/dimp/crypto/ted.py +0 -0
  14. {dimp-2.2.1 → dimp-2.2.2}/dimp/dkd/base.py +0 -0
  15. {dimp-2.2.1 → dimp-2.2.2}/dimp/dkd/commands.py +0 -0
  16. {dimp-2.2.1 → dimp-2.2.2}/dimp/dkd/contents.py +0 -0
  17. {dimp-2.2.1 → dimp-2.2.2}/dimp/dkd/files.py +0 -0
  18. {dimp-2.2.1 → dimp-2.2.2}/dimp/dkd/group_admins.py +0 -0
  19. {dimp-2.2.1 → dimp-2.2.2}/dimp/dkd/groups.py +0 -0
  20. {dimp-2.2.1 → dimp-2.2.2}/dimp/dkd/money.py +0 -0
  21. {dimp-2.2.1 → dimp-2.2.2}/dimp/dkd/quote.py +0 -0
  22. {dimp-2.2.1 → dimp-2.2.2}/dimp/dkd/receipt.py +0 -0
  23. {dimp-2.2.1 → dimp-2.2.2}/dimp/mkm/__init__.py +0 -0
  24. {dimp-2.2.1 → dimp-2.2.2}/dimp/mkm/docs.py +0 -0
  25. {dimp-2.2.1 → dimp-2.2.2}/dimp/mkm/document.py +0 -0
  26. {dimp-2.2.1 → dimp-2.2.2}/dimp/mkm/meta.py +0 -0
  27. {dimp-2.2.1 → dimp-2.2.2}/dimp/msg/base.py +0 -0
  28. {dimp-2.2.1 → dimp-2.2.2}/dimp/msg/envelope.py +0 -0
  29. {dimp-2.2.1 → dimp-2.2.2}/dimp/msg/instant.py +0 -0
  30. {dimp-2.2.1 → dimp-2.2.2}/dimp/msg/reliable.py +0 -0
  31. {dimp-2.2.1 → dimp-2.2.2}/dimp/msg/secure.py +0 -0
  32. {dimp-2.2.1 → dimp-2.2.2}/dimp/plugins/__init__.py +0 -0
  33. {dimp-2.2.1 → dimp-2.2.2}/dimp/plugins/cmd.py +0 -0
  34. {dimp-2.2.1 → dimp-2.2.2}/dimp/protocol/__init__.py +0 -0
  35. {dimp-2.2.1 → dimp-2.2.2}/dimp/protocol/commands.py +0 -0
  36. {dimp-2.2.1 → dimp-2.2.2}/dimp/protocol/contents.py +0 -0
  37. {dimp-2.2.1 → dimp-2.2.2}/dimp/protocol/docs.py +0 -0
  38. {dimp-2.2.1 → dimp-2.2.2}/dimp/protocol/files.py +0 -0
  39. {dimp-2.2.1 → dimp-2.2.2}/dimp/protocol/groups.py +0 -0
  40. {dimp-2.2.1 → dimp-2.2.2}/dimp/protocol/helpers.py +0 -0
  41. {dimp-2.2.1 → dimp-2.2.2}/dimp/protocol/money.py +0 -0
  42. {dimp-2.2.1 → dimp-2.2.2}/dimp/protocol/quote.py +0 -0
  43. {dimp-2.2.1 → dimp-2.2.2}/dimp/protocol/receipt.py +0 -0
  44. {dimp-2.2.1 → dimp-2.2.2}/dimp.egg-info/SOURCES.txt +0 -0
  45. {dimp-2.2.1 → dimp-2.2.2}/dimp.egg-info/dependency_links.txt +0 -0
  46. {dimp-2.2.1 → dimp-2.2.2}/dimp.egg-info/top_level.txt +0 -0
  47. {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.1
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)
@@ -184,7 +184,4 @@ __all__ = [
184
184
  'EnvelopeFactory',
185
185
  'InstantMessageFactory', 'SecureMessageFactory', 'ReliableMessageFactory',
186
186
 
187
- # delegates
188
- 'InstantMessageDelegate', 'SecureMessageDelegate', 'ReliableMessageDelegate',
189
-
190
187
  ]
@@ -86,12 +86,6 @@ __all__ = [
86
86
  'EnvelopeFactory',
87
87
  'InstantMessageFactory', 'SecureMessageFactory', 'ReliableMessageFactory',
88
88
 
89
- #
90
- # Delegates
91
- #
92
-
93
- 'InstantMessageDelegate', 'SecureMessageDelegate', 'ReliableMessageDelegate',
94
-
95
89
  #
96
90
  # Extends
97
91
  #
@@ -28,8 +28,7 @@
28
28
  # SOFTWARE.
29
29
  # ==============================================================================
30
30
 
31
- from dkd.protocol import *
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.1
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)
@@ -0,0 +1,2 @@
1
+ dkd>=2.2.2
2
+ mkm>=2.2.2
@@ -14,7 +14,7 @@ import io
14
14
 
15
15
  from setuptools import setup, find_packages
16
16
 
17
- __version__ = '2.2.1'
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.1',
42
- 'mkm>=2.2.1',
41
+ 'dkd>=2.2.2',
42
+ 'mkm>=2.2.2',
43
43
  ]
44
44
  )
@@ -1,2 +0,0 @@
1
- dkd>=2.2.1
2
- mkm>=2.2.1
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