scruby 0.10.3__py3-none-any.whl → 0.24.4__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 scruby might be problematic. Click here for more details.
- scruby/__init__.py +29 -29
- scruby/aggregation.py +148 -0
- scruby/constants.py +33 -31
- scruby/db.py +194 -443
- scruby/errors.py +41 -20
- scruby/mixins/__init__.py +21 -0
- scruby/mixins/collection.py +49 -0
- scruby/mixins/count.py +64 -0
- scruby/mixins/custom_task.py +76 -0
- scruby/mixins/delete.py +101 -0
- scruby/mixins/find.py +146 -0
- scruby/mixins/keys.py +166 -0
- scruby/mixins/update.py +104 -0
- {scruby-0.10.3.dist-info → scruby-0.24.4.dist-info}/METADATA +100 -94
- scruby-0.24.4.dist-info/RECORD +18 -0
- {scruby-0.10.3.dist-info → scruby-0.24.4.dist-info}/WHEEL +1 -1
- {scruby-0.10.3.dist-info → scruby-0.24.4.dist-info}/licenses/LICENSE +21 -21
- scruby-0.10.3.dist-info/RECORD +0 -9
scruby/mixins/update.py
ADDED
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
"""Methods for updating documents."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
__all__ = ("Update",)
|
|
6
|
+
|
|
7
|
+
import concurrent.futures
|
|
8
|
+
import logging
|
|
9
|
+
from collections.abc import Callable
|
|
10
|
+
from typing import Any, TypeVar
|
|
11
|
+
|
|
12
|
+
import orjson
|
|
13
|
+
from anyio import Path
|
|
14
|
+
|
|
15
|
+
logger = logging.getLogger(__name__)
|
|
16
|
+
|
|
17
|
+
T = TypeVar("T")
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
class Update[T]:
|
|
21
|
+
"""Methods for updating documents."""
|
|
22
|
+
|
|
23
|
+
@staticmethod
|
|
24
|
+
async def _task_update(
|
|
25
|
+
branch_number: int,
|
|
26
|
+
filter_fn: Callable,
|
|
27
|
+
hash_reduce_left: str,
|
|
28
|
+
db_root: str,
|
|
29
|
+
class_model: T,
|
|
30
|
+
new_data: dict[str, Any],
|
|
31
|
+
) -> int:
|
|
32
|
+
"""Task for find documents.
|
|
33
|
+
|
|
34
|
+
This method is for internal use.
|
|
35
|
+
|
|
36
|
+
Returns:
|
|
37
|
+
The number of updated documents.
|
|
38
|
+
"""
|
|
39
|
+
branch_number_as_hash: str = f"{branch_number:08x}"[hash_reduce_left:]
|
|
40
|
+
separated_hash: str = "/".join(list(branch_number_as_hash))
|
|
41
|
+
leaf_path: Path = Path(
|
|
42
|
+
*(
|
|
43
|
+
db_root,
|
|
44
|
+
class_model.__name__,
|
|
45
|
+
separated_hash,
|
|
46
|
+
"leaf.json",
|
|
47
|
+
),
|
|
48
|
+
)
|
|
49
|
+
counter: int = 0
|
|
50
|
+
if await leaf_path.exists():
|
|
51
|
+
data_json: bytes = await leaf_path.read_bytes()
|
|
52
|
+
data: dict[str, str] = orjson.loads(data_json) or {}
|
|
53
|
+
new_state: dict[str, str] = {}
|
|
54
|
+
for _, val in data.items():
|
|
55
|
+
doc = class_model.model_validate_json(val)
|
|
56
|
+
if filter_fn(doc):
|
|
57
|
+
for key, value in new_data.items():
|
|
58
|
+
doc.__dict__[key] = value
|
|
59
|
+
new_state[key] = doc.model_dump_json()
|
|
60
|
+
counter += 1
|
|
61
|
+
await leaf_path.write_bytes(orjson.dumps(new_state))
|
|
62
|
+
return counter
|
|
63
|
+
|
|
64
|
+
async def update_many(
|
|
65
|
+
self,
|
|
66
|
+
filter_fn: Callable,
|
|
67
|
+
new_data: dict[str, Any],
|
|
68
|
+
max_workers: int | None = None,
|
|
69
|
+
) -> int:
|
|
70
|
+
"""Updates one or more documents matching the filter.
|
|
71
|
+
|
|
72
|
+
The search is based on the effect of a quantum loop.
|
|
73
|
+
The search effectiveness depends on the number of processor threads.
|
|
74
|
+
Ideally, hundreds and even thousands of threads are required.
|
|
75
|
+
|
|
76
|
+
Args:
|
|
77
|
+
filter_fn: A function that execute the conditions of filtering.
|
|
78
|
+
new_data: New data for the fields that need to be updated.
|
|
79
|
+
max_workers: The maximum number of processes that can be used to
|
|
80
|
+
execute the given calls. If None or not given then as many
|
|
81
|
+
worker processes will be created as the machine has processors.
|
|
82
|
+
|
|
83
|
+
Returns:
|
|
84
|
+
The number of updated documents.
|
|
85
|
+
"""
|
|
86
|
+
branch_numbers: range = range(1, self._max_branch_number)
|
|
87
|
+
update_task_fn: Callable = self._task_update
|
|
88
|
+
hash_reduce_left: int = self._hash_reduce_left
|
|
89
|
+
db_root: str = self._db_root
|
|
90
|
+
class_model: T = self._class_model
|
|
91
|
+
counter: int = 0
|
|
92
|
+
with concurrent.futures.ThreadPoolExecutor(max_workers) as executor:
|
|
93
|
+
for branch_number in branch_numbers:
|
|
94
|
+
future = executor.submit(
|
|
95
|
+
update_task_fn,
|
|
96
|
+
branch_number,
|
|
97
|
+
filter_fn,
|
|
98
|
+
hash_reduce_left,
|
|
99
|
+
db_root,
|
|
100
|
+
class_model,
|
|
101
|
+
new_data,
|
|
102
|
+
)
|
|
103
|
+
counter += await future.result()
|
|
104
|
+
return counter
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: scruby
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.24.4
|
|
4
4
|
Summary: A fast key-value storage library.
|
|
5
5
|
Project-URL: Homepage, https://github.com/kebasyaty/scruby
|
|
6
6
|
Project-URL: Repository, https://github.com/kebasyaty/scruby
|
|
@@ -21,6 +21,7 @@ Classifier: Programming Language :: Python :: 3
|
|
|
21
21
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
22
22
|
Classifier: Programming Language :: Python :: 3.12
|
|
23
23
|
Classifier: Programming Language :: Python :: 3.13
|
|
24
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
24
25
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
25
26
|
Classifier: Topic :: Database
|
|
26
27
|
Classifier: Typing :: Typed
|
|
@@ -43,7 +44,7 @@ Description-Content-Type: text/markdown
|
|
|
43
44
|
</p>
|
|
44
45
|
<p>
|
|
45
46
|
<h1>Scruby</h1>
|
|
46
|
-
<h3>
|
|
47
|
+
<h3>Asynchronous library for building and managing a hybrid database,<br>by scheme of key-value.</h3>
|
|
47
48
|
<p align="center">
|
|
48
49
|
<a href="https://github.com/kebasyaty/scruby/actions/workflows/test.yml" alt="Build Status"><img src="https://github.com/kebasyaty/scruby/actions/workflows/test.yml/badge.svg" alt="Build Status"></a>
|
|
49
50
|
<a href="https://kebasyaty.github.io/scruby/" alt="Docs"><img src="https://img.shields.io/badge/docs-available-brightgreen.svg" alt="Docs"></a>
|
|
@@ -51,34 +52,30 @@ Description-Content-Type: text/markdown
|
|
|
51
52
|
<a href="https://pypi.python.org/pypi/scruby/" alt="PyPI status"><img src="https://img.shields.io/pypi/status/scruby.svg" alt="PyPI status"></a>
|
|
52
53
|
<a href="https://pypi.python.org/pypi/scruby/" alt="PyPI version fury.io"><img src="https://badge.fury.io/py/scruby.svg" alt="PyPI version fury.io"></a>
|
|
53
54
|
<br>
|
|
54
|
-
<a href="https://github.com/kebasyaty/scruby/issues"><img src="https://img.shields.io/github/issues/kebasyaty/scruby.svg" alt="GitHub issues"></a>
|
|
55
|
-
<a href="https://pepy.tech/projects/scruby"><img src="https://static.pepy.tech/badge/scruby" alt="PyPI Downloads"></a>
|
|
56
|
-
<a href="https://github.com/kebasyaty/scruby/blob/main/LICENSE" alt="GitHub license"><img src="https://img.shields.io/github/license/kebasyaty/scruby" alt="GitHub license"></a>
|
|
57
55
|
<a href="https://mypy-lang.org/" alt="Types: Mypy"><img src="https://img.shields.io/badge/types-Mypy-202235.svg?color=0c7ebf" alt="Types: Mypy"></a>
|
|
58
56
|
<a href="https://docs.astral.sh/ruff/" alt="Code style: Ruff"><img src="https://img.shields.io/badge/code%20style-Ruff-FDD835.svg" alt="Code style: Ruff"></a>
|
|
59
|
-
<a href="https://github.com/kebasyaty/scruby" alt="PyPI implementation"><img src="https://img.shields.io/pypi/implementation/scruby" alt="PyPI implementation"></a>
|
|
60
|
-
<br>
|
|
61
57
|
<a href="https://pypi.org/project/scruby"><img src="https://img.shields.io/pypi/format/scruby" alt="Format"></a>
|
|
62
|
-
<a href="https://
|
|
63
|
-
<a href="https://github.com/kebasyaty/scruby"><img src="https://img.shields.io/github/
|
|
64
|
-
<a href="https://github.com/kebasyaty/scruby"><img src="https://img.shields.io/github/last-commit/kebasyaty/scruby/main" alt="Last commit"></a>
|
|
65
|
-
<a href="https://github.com/kebasyaty/scruby/releases/" alt="GitHub release"><img src="https://img.shields.io/github/release/kebasyaty/scruby" alt="GitHub release"></a>
|
|
58
|
+
<a href="https://pepy.tech/projects/scruby"><img src="https://static.pepy.tech/badge/scruby" alt="PyPI Downloads"></a>
|
|
59
|
+
<a href="https://github.com/kebasyaty/scruby/blob/main/LICENSE" alt="GitHub license"><img src="https://img.shields.io/github/license/kebasyaty/scruby" alt="GitHub license"></a>
|
|
66
60
|
</p>
|
|
67
61
|
<p align="center">
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
62
|
+
The library uses fractal-tree addressing and
|
|
63
|
+
<br>
|
|
64
|
+
the search for documents based on the effect of a quantum loop.
|
|
65
|
+
<br>
|
|
66
|
+
The database consists of collections.
|
|
67
|
+
<br>
|
|
68
|
+
The maximum size of the one collection is 16\*\*8=4294967296 branches,
|
|
69
|
+
<br>
|
|
70
|
+
each branch can store one or more keys.
|
|
71
|
+
<br>
|
|
72
|
+
The value of any key in collection can be obtained in 8 steps,
|
|
73
|
+
<br>
|
|
74
|
+
thereby achieving high performance.
|
|
75
|
+
<br>
|
|
76
|
+
The effectiveness of the search for documents based on a quantum loop,
|
|
77
|
+
<br>
|
|
78
|
+
requires a large number of processor threads.
|
|
82
79
|
</p>
|
|
83
80
|
</p>
|
|
84
81
|
</div>
|
|
@@ -116,6 +113,7 @@ from pydantic_extra_types.phone_numbers import PhoneNumber, PhoneNumberValidator
|
|
|
116
113
|
from scruby import Scruby, constants
|
|
117
114
|
|
|
118
115
|
constants.DB_ROOT = "ScrubyDB" # By default = "ScrubyDB"
|
|
116
|
+
constants.HASH_REDUCE_LEFT = 6 # By default = 6
|
|
119
117
|
|
|
120
118
|
class User(BaseModel):
|
|
121
119
|
"""Model of User."""
|
|
@@ -125,10 +123,11 @@ class User(BaseModel):
|
|
|
125
123
|
email: EmailStr
|
|
126
124
|
phone: Annotated[PhoneNumber, PhoneNumberValidator(number_format="E164")]
|
|
127
125
|
|
|
126
|
+
|
|
128
127
|
async def main() -> None:
|
|
129
128
|
"""Example."""
|
|
130
129
|
# Get collection of `User`.
|
|
131
|
-
user_coll = Scruby(User)
|
|
130
|
+
user_coll = await Scruby.create(User)
|
|
132
131
|
|
|
133
132
|
user = User(
|
|
134
133
|
first_name="John",
|
|
@@ -138,7 +137,9 @@ async def main() -> None:
|
|
|
138
137
|
phone="+447986123456",
|
|
139
138
|
)
|
|
140
139
|
|
|
141
|
-
await user_coll.
|
|
140
|
+
await user_coll.add_key(user.phone, user)
|
|
141
|
+
|
|
142
|
+
await user_coll.update_key(user.phone, user)
|
|
142
143
|
|
|
143
144
|
await user_coll.get_key("+447986123456") # => user
|
|
144
145
|
await user_coll.get_key("key missing") # => KeyError
|
|
@@ -152,7 +153,8 @@ async def main() -> None:
|
|
|
152
153
|
|
|
153
154
|
# Full database deletion.
|
|
154
155
|
# Hint: The main purpose is tests.
|
|
155
|
-
|
|
156
|
+
Scruby.napalm()
|
|
157
|
+
|
|
156
158
|
|
|
157
159
|
if __name__ == "__main__":
|
|
158
160
|
anyio.run(main)
|
|
@@ -169,61 +171,61 @@ Ideally, hundreds and even thousands of threads are required.
|
|
|
169
171
|
import anyio
|
|
170
172
|
import datetime
|
|
171
173
|
from typing import Annotated
|
|
172
|
-
from pydantic import BaseModel
|
|
173
|
-
from pydantic_extra_types.phone_numbers import PhoneNumber, PhoneNumberValidator
|
|
174
|
+
from pydantic import BaseModel
|
|
174
175
|
from scruby import Scruby, constants
|
|
175
176
|
from pprint import pprint as pp
|
|
176
177
|
|
|
177
178
|
constants.DB_ROOT = "ScrubyDB" # By default = "ScrubyDB"
|
|
178
|
-
constants.
|
|
179
|
-
|
|
179
|
+
constants.HASH_REDUCE_LEFT = 6 # By default = 6
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
class Phone(BaseModel):
|
|
183
|
+
"""Phone model."""
|
|
184
|
+
brand: str
|
|
185
|
+
model: str
|
|
186
|
+
screen_diagonal: float
|
|
187
|
+
matrix_type: str
|
|
180
188
|
|
|
181
|
-
class User(BaseModel):
|
|
182
|
-
"""Model of User."""
|
|
183
|
-
first_name: str
|
|
184
|
-
last_name: str
|
|
185
|
-
birthday: datetime.datetime
|
|
186
|
-
email: EmailStr
|
|
187
|
-
phone: Annotated[PhoneNumber, PhoneNumberValidator(number_format="E164")]
|
|
188
189
|
|
|
189
190
|
async def main() -> None:
|
|
190
191
|
"""Example."""
|
|
191
|
-
# Get collection of `
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
# Create
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
phone="+447986123456",
|
|
192
|
+
# Get collection of `Phone`.
|
|
193
|
+
phone_coll = await Scruby.create(Phone)
|
|
194
|
+
|
|
195
|
+
# Create phone.
|
|
196
|
+
phone = Phone(
|
|
197
|
+
brand="Samsung",
|
|
198
|
+
model="Galaxy A26",
|
|
199
|
+
screen_diagonal=6.7,
|
|
200
|
+
matrix_type="Super AMOLED",
|
|
201
201
|
)
|
|
202
202
|
|
|
203
|
-
# Add
|
|
204
|
-
|
|
203
|
+
# Add phone to collection.
|
|
204
|
+
key = f"{phone.brand} {phone.model}"
|
|
205
|
+
await phone_coll.add_key(key, phone)
|
|
205
206
|
|
|
206
|
-
# Find
|
|
207
|
-
|
|
208
|
-
filter_fn=lambda doc: doc.
|
|
207
|
+
# Find phone by brand.
|
|
208
|
+
phone_details: Phone | None = await phone_coll.find_one(
|
|
209
|
+
filter_fn=lambda doc: doc.brand == "Samsung",
|
|
209
210
|
)
|
|
210
|
-
if
|
|
211
|
-
pp(
|
|
211
|
+
if phone_details is not None:
|
|
212
|
+
pp(phone_details)
|
|
212
213
|
else:
|
|
213
|
-
print("No
|
|
214
|
+
print("No Phone!")
|
|
214
215
|
|
|
215
|
-
# Find
|
|
216
|
-
|
|
217
|
-
filter_fn=lambda doc: doc.
|
|
216
|
+
# Find phone by model.
|
|
217
|
+
phone_details: Phone | None = await phone_coll.find_one(
|
|
218
|
+
filter_fn=lambda doc: doc.model == "Galaxy A26",
|
|
218
219
|
)
|
|
219
|
-
if
|
|
220
|
-
pp(
|
|
220
|
+
if phone_details is not None:
|
|
221
|
+
pp(phone_details)
|
|
221
222
|
else:
|
|
222
|
-
print("No
|
|
223
|
+
print("No Phone!")
|
|
223
224
|
|
|
224
225
|
# Full database deletion.
|
|
225
226
|
# Hint: The main purpose is tests.
|
|
226
|
-
|
|
227
|
+
Scruby.napalm()
|
|
228
|
+
|
|
227
229
|
|
|
228
230
|
if __name__ == "__main__":
|
|
229
231
|
anyio.run(main)
|
|
@@ -240,51 +242,55 @@ Ideally, hundreds and even thousands of threads are required.
|
|
|
240
242
|
import anyio
|
|
241
243
|
import datetime
|
|
242
244
|
from typing import Annotated
|
|
243
|
-
from pydantic import BaseModel
|
|
244
|
-
from pydantic_extra_types.phone_numbers import PhoneNumber, PhoneNumberValidator
|
|
245
|
+
from pydantic import BaseModel
|
|
245
246
|
from scruby import Scruby, constants
|
|
246
247
|
from pprint import pprint as pp
|
|
247
248
|
|
|
248
249
|
constants.DB_ROOT = "ScrubyDB" # By default = "ScrubyDB"
|
|
249
|
-
constants.
|
|
250
|
-
|
|
250
|
+
constants.HASH_REDUCE_LEFT = 6 # By default = 6
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
class Car(BaseModel):
|
|
254
|
+
"""Car model."""
|
|
255
|
+
brand: str
|
|
256
|
+
model: str
|
|
257
|
+
year: int
|
|
258
|
+
power_reserve: int
|
|
251
259
|
|
|
252
|
-
class User(BaseModel):
|
|
253
|
-
"""Model of User."""
|
|
254
|
-
first_name: str
|
|
255
|
-
last_name: str
|
|
256
|
-
birthday: datetime.datetime
|
|
257
|
-
email: EmailStr
|
|
258
|
-
phone: Annotated[PhoneNumber, PhoneNumberValidator(number_format="E164")]
|
|
259
260
|
|
|
260
261
|
async def main() -> None:
|
|
261
262
|
"""Example."""
|
|
262
|
-
# Get collection of `
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
# Create
|
|
266
|
-
for
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
phone=f"+44798612345{num}",
|
|
263
|
+
# Get collection of `Car`.
|
|
264
|
+
car_coll = await Scruby.create(Car)
|
|
265
|
+
|
|
266
|
+
# Create cars.
|
|
267
|
+
for name in range(1, 10):
|
|
268
|
+
car = Car(
|
|
269
|
+
brand="Mazda",
|
|
270
|
+
model=f"EZ-6 {num}",
|
|
271
|
+
year=2025,
|
|
272
|
+
power_reserve=600,
|
|
273
273
|
)
|
|
274
|
-
|
|
274
|
+
key = f"{car.brand} {car.model}"
|
|
275
|
+
await car_coll.add_key(key, car)
|
|
275
276
|
|
|
276
|
-
# Find
|
|
277
|
-
|
|
278
|
-
filter_fn=lambda doc: doc.
|
|
277
|
+
# Find cars by brand and year.
|
|
278
|
+
car_list: list[Car] | None = await car_coll.find_many(
|
|
279
|
+
filter_fn=lambda doc: doc.brand == "Mazda" or doc.year == 2025,
|
|
279
280
|
)
|
|
280
|
-
if
|
|
281
|
-
pp(
|
|
281
|
+
if car_list is not None:
|
|
282
|
+
pp(car_list)
|
|
282
283
|
else:
|
|
283
|
-
print("No
|
|
284
|
+
print("No cars!")
|
|
285
|
+
|
|
286
|
+
# Get collection list.
|
|
287
|
+
collection_list = await Scruby.collection_list()
|
|
288
|
+
print(ucollection_list) # ["Car"]
|
|
284
289
|
|
|
285
290
|
# Full database deletion.
|
|
286
291
|
# Hint: The main purpose is tests.
|
|
287
|
-
|
|
292
|
+
Scruby.napalm()
|
|
293
|
+
|
|
288
294
|
|
|
289
295
|
if __name__ == "__main__":
|
|
290
296
|
anyio.run(main)
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
scruby/__init__.py,sha256=elrW_AWMyl3kuTpEqGPaYFSpF8iVzjpivF6MxVNlqoQ,855
|
|
2
|
+
scruby/aggregation.py,sha256=SYGcnMy2eq9vJb-pW3xR9LLAQIQ55TK-LGW_yKQ-7sU,3318
|
|
3
|
+
scruby/constants.py,sha256=KInSZ_4dsQNXilrs7DvtQXevKEYibnNzl69a7XiWG4k,1099
|
|
4
|
+
scruby/db.py,sha256=ggYW4dQPtr7m9-GM4QeYMMDZm5eUYN5bTAdz2Tj0hlw,5980
|
|
5
|
+
scruby/errors.py,sha256=aj1zQlfxGwZC-bZZ07DRX2vHx31SpyWPqXHMpQ9kRVY,1124
|
|
6
|
+
scruby/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
|
+
scruby/mixins/__init__.py,sha256=-rRZE-JZwGmEkC0wS_X0hs8OXsEYyvgSNIfil8wmjFA,454
|
|
8
|
+
scruby/mixins/collection.py,sha256=eMnfHFdzk7LWILMmDbzugcOYSeIKp0DlEEqCmmGQRwA,1222
|
|
9
|
+
scruby/mixins/count.py,sha256=Wcn6CeWrYSgsTTmYQ4J-CEiM4630rUSwRP9iKwbCl6c,2193
|
|
10
|
+
scruby/mixins/custom_task.py,sha256=Ib1G1I7NyDGbow4SeafkYd9C0r6u6EDgUK0NxjhsEa0,2297
|
|
11
|
+
scruby/mixins/delete.py,sha256=BmfQH68iX7kzC20w16xzFcLO3uLxYKdNyqZqIbXb1M0,3240
|
|
12
|
+
scruby/mixins/find.py,sha256=va1hTm6Poua7_TMcZW2iqI-xmL1HcCUOx8pkKvTvu6U,5063
|
|
13
|
+
scruby/mixins/keys.py,sha256=Hbb0AX68ph--fA43AXDWoM72PzSmS48h3iVwlQwQH0c,4971
|
|
14
|
+
scruby/mixins/update.py,sha256=A9V4PjA3INnqLTGoBxIvC8y8Wo-nLxlFejkPUhsebzQ,3428
|
|
15
|
+
scruby-0.24.4.dist-info/METADATA,sha256=RDE0Fa_IXd2hx2MDjdsI-5iwGhZOCZ9zOqqQuOe8k5g,9643
|
|
16
|
+
scruby-0.24.4.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
17
|
+
scruby-0.24.4.dist-info/licenses/LICENSE,sha256=mS0Wz0yGNB63gEcWEnuIb_lldDYV0sjRaO-o_GL6CWE,1074
|
|
18
|
+
scruby-0.24.4.dist-info/RECORD,,
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2025 Gennady Kostyunin
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Gennady Kostyunin
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
scruby-0.10.3.dist-info/RECORD
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
scruby/__init__.py,sha256=wFwUS1KcLxfIopXOVS8gPue9fNzIIU2cVj_RgK5drz4,849
|
|
2
|
-
scruby/constants.py,sha256=GbB-O0qaVdi5EHUp-zRAppFXLR-oHxpXUFVAOCpS0C8,1022
|
|
3
|
-
scruby/db.py,sha256=J14Xjyc6iyb-cwBKiH8rJuioEHoYfNkLTezzvQBsJng,16181
|
|
4
|
-
scruby/errors.py,sha256=4G0zNVzulBE9mM2iJLdg0EXP_W8n-L6EjZrkCCErvAU,574
|
|
5
|
-
scruby/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
6
|
-
scruby-0.10.3.dist-info/METADATA,sha256=JGgVH8QKtA-iGifWhNdSczfuglIT2RRw5njRuNKvG3M,10829
|
|
7
|
-
scruby-0.10.3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
8
|
-
scruby-0.10.3.dist-info/licenses/LICENSE,sha256=2zZINd6m_jNYlowdQImlEizyhSui5cBAJZRhWQURcEc,1095
|
|
9
|
-
scruby-0.10.3.dist-info/RECORD,,
|