redis-dict 2.6.0__py3-none-any.whl → 3.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.
- redis_dict/__init__.py +17 -0
- redis_dict.py → redis_dict/core.py +237 -299
- redis_dict/py.typed +0 -0
- redis_dict/type_management.py +273 -0
- {redis_dict-2.6.0.dist-info → redis_dict-3.0.0.dist-info}/METADATA +118 -34
- redis_dict-3.0.0.dist-info/RECORD +9 -0
- {redis_dict-2.6.0.dist-info → redis_dict-3.0.0.dist-info}/WHEEL +1 -1
- redis_dict-2.6.0.dist-info/RECORD +0 -6
- {redis_dict-2.6.0.dist-info → redis_dict-3.0.0.dist-info}/LICENSE +0 -0
- {redis_dict-2.6.0.dist-info → redis_dict-3.0.0.dist-info}/top_level.txt +0 -0
redis_dict/__init__.py
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
"""__init__ module for redis dict."""
|
2
|
+
from importlib.metadata import version, PackageNotFoundError
|
3
|
+
|
4
|
+
from .core import RedisDict
|
5
|
+
from .type_management import decoding_registry, encoding_registry, RedisDictJSONEncoder, RedisDictJSONDecoder
|
6
|
+
|
7
|
+
__all__ = [
|
8
|
+
'RedisDict',
|
9
|
+
'decoding_registry',
|
10
|
+
'encoding_registry',
|
11
|
+
'RedisDictJSONEncoder',
|
12
|
+
'RedisDictJSONDecoder',
|
13
|
+
]
|
14
|
+
try:
|
15
|
+
__version__ = version("redis-dict")
|
16
|
+
except PackageNotFoundError:
|
17
|
+
__version__ = "0.0.0"
|