redis-dict 2.7.0__py3-none-any.whl → 3.1.0__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
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"