scruby 0.17.0__py3-none-any.whl → 0.27.2__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.
scruby/__init__.py CHANGED
@@ -1,3 +1,15 @@
1
+ #
2
+ # .|'''|                        '||
3
+ # ||                             ||
4
+ # `|'''|, .|'', '||''| '||  ||`  ||''|, '||  ||`
5
+ #  .   || ||     ||     ||  ||   ||  ||  `|..||
6
+ #  |...|' `|..' .||.    `|..'|. .||..|'      ||
7
+ #                                         ,  |'
8
+ #                                          ''
9
+ #
10
+ # Copyright (c) 2025 Gennady Kostyunin
11
+ # SPDX-License-Identifier: MIT
12
+ #
1
13
  """Asynchronous library for building and managing a hybrid database, by scheme of key-value.
2
14
 
3
15
  The library uses fractal-tree addressing and
@@ -16,14 +28,10 @@ requires a large number of processor threads.
16
28
 
17
29
  from __future__ import annotations
18
30
 
19
- __all__ = ("Scruby",)
20
-
21
- import logging
31
+ __all__ = (
32
+ "settings",
33
+ "Scruby",
34
+ )
22
35
 
36
+ from scruby import settings
23
37
  from scruby.db import Scruby
24
-
25
- logging.basicConfig(
26
- level=logging.INFO,
27
- datefmt="%Y-%m-%d %H:%M:%S",
28
- format="[%(asctime)s.%(msecs)03d] %(module)10s:%(lineno)-3d %(levelname)-7s - %(message)s",
29
- )
scruby/aggregation.py CHANGED
@@ -1,3 +1,7 @@
1
+ # Scruby - Asynchronous library for building and managing a hybrid database, by scheme of key-value.
2
+ # Copyright (c) 2025 Gennady Kostyunin
3
+ # SPDX-License-Identifier: MIT
4
+ #
1
5
  """Aggregation classes."""
2
6
 
3
7
  from __future__ import annotations