persidict 0.23.0__tar.gz → 0.23.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.

Potentially problematic release.


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

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: persidict
3
- Version: 0.23.0
3
+ Version: 0.23.2
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
@@ -4,7 +4,7 @@ build-backend = "uv_build"
4
4
 
5
5
  [project]
6
6
  name = "persidict"
7
- version = "0.23.0"
7
+ version = "0.23.2"
8
8
  description = "Simple persistent key-value store for Python. Values are stored as files on a disk or as S3 objects on AWS cloud."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.10"
@@ -125,7 +125,8 @@ class FileDirDict(PersiDict):
125
125
  base_dir=self.base_dir
126
126
  , file_type=self.file_type)
127
127
  params.update(additional_params)
128
- return params
128
+ sorted_params = dict(sorted(params.items()))
129
+ return sorted_params
129
130
 
130
131
 
131
132
  @property
@@ -107,7 +107,8 @@ class PersiDict(MutableMapping, ParameterizableClass):
107
107
  , digest_len=self.digest_len
108
108
  , base_class_for_values=self.base_class_for_values
109
109
  )
110
- return params
110
+ sorted_params = dict(sorted(params.items()))
111
+ return sorted_params
111
112
 
112
113
 
113
114
  @property
@@ -120,7 +120,8 @@ class S3Dict(PersiDict):
120
120
  params["region"] = self.region
121
121
  params["bucket_name"] = self.bucket_name
122
122
  params["root_prefix"] = self.root_prefix
123
- return params
123
+ sorted_params = dict(sorted(params.items()))
124
+ return sorted_params
124
125
 
125
126
 
126
127
  @property
File without changes