persidict 0.105.5__py3-none-any.whl → 0.105.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.
persidict/__init__.py
CHANGED
|
@@ -56,4 +56,33 @@ from .singletons import KEEP_CURRENT, DELETE_CURRENT
|
|
|
56
56
|
from .overlapping_multi_dict import OverlappingMultiDict
|
|
57
57
|
from .cached_appendonly_dict import AppendOnlyDictCached
|
|
58
58
|
from .cached_mutable_dict import MutableDictCached
|
|
59
|
-
from .local_dict import LocalDict
|
|
59
|
+
from .local_dict import LocalDict
|
|
60
|
+
|
|
61
|
+
__all__ = [
|
|
62
|
+
# Core classes
|
|
63
|
+
'PersiDict',
|
|
64
|
+
'PersiDictKey',
|
|
65
|
+
'FileDirDict',
|
|
66
|
+
'S3Dict',
|
|
67
|
+
'S3Dict_FileDirCached',
|
|
68
|
+
'BasicS3Dict',
|
|
69
|
+
'LocalDict',
|
|
70
|
+
# Wrapper classes
|
|
71
|
+
'WriteOnceDict',
|
|
72
|
+
'EmptyDict',
|
|
73
|
+
'OverlappingMultiDict',
|
|
74
|
+
'AppendOnlyDictCached',
|
|
75
|
+
'MutableDictCached',
|
|
76
|
+
# Key types
|
|
77
|
+
'SafeStrTuple',
|
|
78
|
+
'NonEmptySafeStrTuple',
|
|
79
|
+
# Functions
|
|
80
|
+
'get_safe_chars',
|
|
81
|
+
'replace_unsafe_chars',
|
|
82
|
+
# Constants/Jokers
|
|
83
|
+
'KEEP_CURRENT',
|
|
84
|
+
'DELETE_CURRENT',
|
|
85
|
+
'Joker',
|
|
86
|
+
'KeepCurrentFlag',
|
|
87
|
+
'DeleteCurrentFlag',
|
|
88
|
+
]
|
persidict/basic_s3_dict.py
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
"""Basic S3-backed persistent dictionary.
|
|
2
|
+
|
|
3
|
+
This module provides `BasicS3Dict`, a concrete implementation of the
|
|
4
|
+
`PersiDict` interface that stores each dictionary entry as a separate
|
|
5
|
+
object in Amazon S3. It is designed for simple, low-overhead persistence
|
|
6
|
+
without local caching, while exposing a familiar mapping-like API.
|
|
7
|
+
|
|
8
|
+
See individual method docstrings for details on semantics and exceptions.
|
|
9
|
+
"""
|
|
10
|
+
|
|
1
11
|
from __future__ import annotations
|
|
2
12
|
|
|
3
13
|
from typing import Any, Optional
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: persidict
|
|
3
|
-
Version: 0.105.
|
|
3
|
+
Version: 0.105.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
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
persidict/.DS_Store,sha256=1lFlJ5EFymdzGAUAaI30vcaaLHt3F1LwpG7xILf9jsM,6148
|
|
2
|
-
persidict/__init__.py,sha256=
|
|
3
|
-
persidict/basic_s3_dict.py,sha256=
|
|
2
|
+
persidict/__init__.py,sha256=TUBwmjb367R-dlUBz0TachXIezQt-hy0YqoDLluqxno,2914
|
|
3
|
+
persidict/basic_s3_dict.py,sha256=gyqrde_j2F3BXBI-1XAkWJLd5v2zegV0TBOfx8aslk4,23872
|
|
4
4
|
persidict/cached_appendonly_dict.py,sha256=XW70AphBx85-FMX6M4lQHCsc_qyD-O7e3k-h0lbT1WU,10637
|
|
5
5
|
persidict/cached_mutable_dict.py,sha256=N-oInUol1y_VlZKyQ0TNPuwolcSbMLIyjtDoxo93A8Y,8979
|
|
6
6
|
persidict/empty_dict.py,sha256=B1RnYdbo4rmnYfqWfUJPbKh18biuClHT9kFD2DCIfWo,6033
|
|
@@ -14,6 +14,6 @@ persidict/safe_str_tuple.py,sha256=BSRMNgLfZoAwS7ZkiVA3fV2sfj2i_NO1tjstVP-XGOU,8
|
|
|
14
14
|
persidict/safe_str_tuple_signing.py,sha256=mpOfx_xyprc0_c60XPB_EihI3vR1gOn6T03iCx1HwwQ,7494
|
|
15
15
|
persidict/singletons.py,sha256=7Kt-OiOAzLMyPZyEer19i5rtbuhmzxZp72BzwM9ereM,6916
|
|
16
16
|
persidict/write_once_dict.py,sha256=j7o-ZfVIR5v6MnRx2EXvGIIUB5O6kQkzO6JQjytESEY,12182
|
|
17
|
-
persidict-0.105.
|
|
18
|
-
persidict-0.105.
|
|
19
|
-
persidict-0.105.
|
|
17
|
+
persidict-0.105.7.dist-info/WHEEL,sha256=M6du7VZflc4UPsGphmOXHANdgk8zessdJG0DBUuoA-U,78
|
|
18
|
+
persidict-0.105.7.dist-info/METADATA,sha256=jsLjnL8r8r11QLnuhJKGtlp1NJIRTh_J5GCmgOhR1k4,13716
|
|
19
|
+
persidict-0.105.7.dist-info/RECORD,,
|
|
File without changes
|