persidict 0.35.0__py3-none-any.whl → 0.36.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.

Potentially problematic release.


This version of persidict might be problematic. Click here for more details.

persidict/.DS_Store ADDED
Binary file
persidict/jokers.py CHANGED
@@ -32,7 +32,7 @@ class Joker(ParameterizableClass):
32
32
  Returns:
33
33
  Joker: The singleton instance for the subclass when instantiated.
34
34
  """
35
- _instances = {}
35
+ _instances: dict[type, "Joker"] = {}
36
36
 
37
37
  def get_params(self) -> dict[str, Any]:
38
38
  """Return parameters for parameterizable API.
@@ -1,3 +1,7 @@
1
+ from __future__ import annotations
2
+
3
+ from typing import Any, Dict, Type
4
+
1
5
  from .persi_dict import PersiDict
2
6
 
3
7
  class OverlappingMultiDict:
@@ -26,10 +30,10 @@ class OverlappingMultiDict:
26
30
  TypeError: If pickling is attempted or item access is used on the
27
31
  OverlappingMultiDict itself rather than its sub-dicts.
28
32
  """
29
- def __init__(self
30
- , dict_type:type
31
- , shared_subdicts_params:dict
32
- , **individual_subdicts_params):
33
+ def __init__(self,
34
+ dict_type: type[PersiDict],
35
+ shared_subdicts_params: dict[str, Any],
36
+ **individual_subdicts_params: dict[str, Any]) -> None:
33
37
  """Initialize the container and create sub-dictionaries.
34
38
 
35
39
  Args:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: persidict
3
- Version: 0.35.0
3
+ Version: 0.36.0
4
4
  Summary: Simple persistent key-value store for Python. Values are stored as files on a disk or as S3 objects on AWS cloud.
5
5
  Keywords: persistence,dicts,distributed,parallel
6
6
  Author: Vlad (Volodymyr) Pavlov
@@ -1,13 +1,14 @@
1
+ persidict/.DS_Store,sha256=1lFlJ5EFymdzGAUAaI30vcaaLHt3F1LwpG7xILf9jsM,6148
1
2
  persidict/__init__.py,sha256=CDOSJGgCnyRTkGUTzaeg3Cqsxwx0-0EFieOtldXwAls,1380
2
3
  persidict/file_dir_dict.py,sha256=gvCyk_kp_3AC-zkHuSj-0lM4hf_fBK6iz3ffGQ7jtvU,25757
3
- persidict/jokers.py,sha256=H2MzKllvgm7t2sjX3GaRNLngOiG2ohE-lv0B3g3J1SQ,2710
4
- persidict/overlapping_multi_dict.py,sha256=v1c2kf3Bhm2Dh6SGEsRV58hQI11YX9ZPxyrDV_1d5s8,5360
4
+ persidict/jokers.py,sha256=Ow4tWOTTMGKvolJyVuEF-oEgE_u3vDZtA9UFwTdhNV4,2731
5
+ persidict/overlapping_multi_dict.py,sha256=gBiHaCb5pTGNW3ZrakgaiGDid6oCfoP7Vq1rxXGnFWg,5476
5
6
  persidict/persi_dict.py,sha256=DIMQaY4gE8NSYTlHlk9rfOJJEYUuLV8kmQ-gc474py4,20052
6
7
  persidict/s3_dict.py,sha256=VKDqY9sASffeXtfbavVWk8-umrioIG5Xq57Qqg1wPH4,21522
7
8
  persidict/safe_chars.py,sha256=9Qy24fu2dmiJOdmCF8mKZULfQaRp7H4oxfgDXeLgogI,1160
8
9
  persidict/safe_str_tuple.py,sha256=YBTcYjUKIffznOawXb9xKjz4HaKdklrgyVtegJFmr5w,7202
9
10
  persidict/safe_str_tuple_signing.py,sha256=RQAj4fnpRVaOe0KpwLler1UTaeNOgXCQpU3t80ixtxg,7493
10
11
  persidict/write_once_dict.py,sha256=-lPQ_yuU62pczHT0BYO6SFbiZBKFq8Tj9ln3jCzNDzA,11443
11
- persidict-0.35.0.dist-info/WHEEL,sha256=F3mArEuDT3LDFEqo9fCiUx6ISLN64aIhcGSiIwtu4r8,79
12
- persidict-0.35.0.dist-info/METADATA,sha256=oo_YL1_W4ux3lTJZvREQPcin1ILJmvxtMDlWuITUwCw,9262
13
- persidict-0.35.0.dist-info/RECORD,,
12
+ persidict-0.36.0.dist-info/WHEEL,sha256=Pi5uDq5Fdo_Rr-HD5h9BiPn9Et29Y9Sh8NhcJNnFU1c,79
13
+ persidict-0.36.0.dist-info/METADATA,sha256=nlROxeIyt2F2Xxw3OoYZURou-bnUVs-fAXdzbdGszNU,9262
14
+ persidict-0.36.0.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: uv 0.8.16
2
+ Generator: uv 0.8.17
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any