persidict 0.36.6__py3-none-any.whl → 0.36.7__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.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: persidict
3
- Version: 0.36.6
3
+ Version: 0.36.7
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
@@ -47,7 +47,10 @@ In contrast to traditional persistent dictionaries (e.g., Python’s `shelve)`,
47
47
  `persidict` is designed for distributed environments where multiple processes
48
48
  on different machines concurrently work with the same store.
49
49
 
50
- ## 2. Features
50
+ ## 2. Why Use It?
51
+
52
+ ## 2.1 Features
53
+
51
54
  * **Persistent Storage**: Save dictionaries to the local filesystem
52
55
  (`FileDirDict`) or AWS S3 (`S3Dict`).
53
56
  * **Standard Dictionary API**: Use persidict objects like standard
@@ -61,6 +64,23 @@ JSON (`json`), or plain text.
61
64
  instances of a specific class.
62
65
  * **Advanced Functionality**: Includes features like write-once dictionaries,
63
66
  timestamping of entries, and tools for handling file-system-safe keys.
67
+ * **Hierarchical Keys**: Keys can be sequences of strings,
68
+ creating a directory-like structure within the storage backend.
69
+
70
+ ## 2.2 Use Cases
71
+
72
+ `persidict` is well-suited for a variety of applications, including:
73
+
74
+ * **Caching**: Store results of expensive computations and retrieve them later,
75
+ even across different machines.
76
+ * **Configuration Management**: Manage application settings
77
+ in a distributed environment, allowing for easy updates and access.
78
+ * **Data Pipelines**: Share data between different stages
79
+ of a data processing pipeline.
80
+ * **Distributed Task Queues**: Store task definitions and results
81
+ in a shared location.
82
+ * **Memoization**: Cache function call results
83
+ in a persistent and distributed manner.
64
84
 
65
85
  ## 3. Usage
66
86
 
@@ -9,6 +9,6 @@ persidict/safe_chars.py,sha256=9Qy24fu2dmiJOdmCF8mKZULfQaRp7H4oxfgDXeLgogI,1160
9
9
  persidict/safe_str_tuple.py,sha256=YBTcYjUKIffznOawXb9xKjz4HaKdklrgyVtegJFmr5w,7202
10
10
  persidict/safe_str_tuple_signing.py,sha256=RQAj4fnpRVaOe0KpwLler1UTaeNOgXCQpU3t80ixtxg,7493
11
11
  persidict/write_once_dict.py,sha256=-lPQ_yuU62pczHT0BYO6SFbiZBKFq8Tj9ln3jCzNDzA,11443
12
- persidict-0.36.6.dist-info/WHEEL,sha256=Pi5uDq5Fdo_Rr-HD5h9BiPn9Et29Y9Sh8NhcJNnFU1c,79
13
- persidict-0.36.6.dist-info/METADATA,sha256=eSdYIS7c8ebKqJqCgSjT9ZuGLAG90qq825PwxXwHJ7c,11649
14
- persidict-0.36.6.dist-info/RECORD,,
12
+ persidict-0.36.7.dist-info/WHEEL,sha256=Pi5uDq5Fdo_Rr-HD5h9BiPn9Et29Y9Sh8NhcJNnFU1c,79
13
+ persidict-0.36.7.dist-info/METADATA,sha256=Cj8lmHLRAsz7ll4vhZxma-EDSjZb4gAKa8YySrGvbmw,12392
14
+ persidict-0.36.7.dist-info/RECORD,,