beaver-db 0.16.1__tar.gz → 0.16.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 beaver-db might be problematic. Click here for more details.
- {beaver_db-0.16.1 → beaver_db-0.16.2}/PKG-INFO +17 -4
- beaver_db-0.16.1/beaver_db.egg-info/PKG-INFO → beaver_db-0.16.2/README.md +11 -14
- beaver_db-0.16.1/README.md → beaver_db-0.16.2/beaver_db.egg-info/PKG-INFO +27 -3
- {beaver_db-0.16.1 → beaver_db-0.16.2}/pyproject.toml +8 -1
- {beaver_db-0.16.1 → beaver_db-0.16.2}/LICENSE +0 -0
- {beaver_db-0.16.1 → beaver_db-0.16.2}/beaver/__init__.py +0 -0
- {beaver_db-0.16.1 → beaver_db-0.16.2}/beaver/blobs.py +0 -0
- {beaver_db-0.16.1 → beaver_db-0.16.2}/beaver/channels.py +0 -0
- {beaver_db-0.16.1 → beaver_db-0.16.2}/beaver/collections.py +0 -0
- {beaver_db-0.16.1 → beaver_db-0.16.2}/beaver/core.py +0 -0
- {beaver_db-0.16.1 → beaver_db-0.16.2}/beaver/dicts.py +0 -0
- {beaver_db-0.16.1 → beaver_db-0.16.2}/beaver/lists.py +0 -0
- {beaver_db-0.16.1 → beaver_db-0.16.2}/beaver/logs.py +0 -0
- {beaver_db-0.16.1 → beaver_db-0.16.2}/beaver/queues.py +0 -0
- {beaver_db-0.16.1 → beaver_db-0.16.2}/beaver/types.py +0 -0
- {beaver_db-0.16.1 → beaver_db-0.16.2}/beaver/vectors.py +0 -0
- {beaver_db-0.16.1 → beaver_db-0.16.2}/beaver_db.egg-info/SOURCES.txt +0 -0
- {beaver_db-0.16.1 → beaver_db-0.16.2}/beaver_db.egg-info/dependency_links.txt +0 -0
- {beaver_db-0.16.1 → beaver_db-0.16.2}/beaver_db.egg-info/requires.txt +0 -0
- {beaver_db-0.16.1 → beaver_db-0.16.2}/beaver_db.egg-info/top_level.txt +0 -0
- {beaver_db-0.16.1 → beaver_db-0.16.2}/setup.cfg +0 -0
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: beaver-db
|
|
3
|
-
Version: 0.16.
|
|
3
|
+
Version: 0.16.2
|
|
4
4
|
Summary: Fast, embedded, and multi-modal DB based on SQLite for AI-powered applications.
|
|
5
|
+
Classifier: Programming Language :: Python :: 3
|
|
6
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
7
|
+
Classifier: Operating System :: OS Independent
|
|
8
|
+
Classifier: Topic :: Database
|
|
9
|
+
Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
|
|
5
10
|
Requires-Python: >=3.13
|
|
6
11
|
Description-Content-Type: text/markdown
|
|
7
12
|
License-File: LICENSE
|
|
@@ -11,6 +16,13 @@ Dynamic: license-file
|
|
|
11
16
|
|
|
12
17
|
# beaver 🦫
|
|
13
18
|
|
|
19
|
+
<!-- Project badges -->
|
|
20
|
+

|
|
21
|
+

|
|
22
|
+

|
|
23
|
+

|
|
24
|
+

|
|
25
|
+
|
|
14
26
|
A fast, single-file, multi-modal database for Python, built with the standard `sqlite3` library.
|
|
15
27
|
|
|
16
28
|
`beaver` is the **B**ackend for **E**mbedded, **A**ll-in-one **V**ector, **E**ntity, and **R**elationship storage. It's a simple, local, and embedded database designed to manage complex, modern data types without requiring a database server, built on top of SQLite.
|
|
@@ -236,8 +248,8 @@ def summarize(window):
|
|
|
236
248
|
return {"mean": statistics.mean(values), "count": len(values)}
|
|
237
249
|
|
|
238
250
|
live_summary = logs.live(
|
|
239
|
-
|
|
240
|
-
|
|
251
|
+
window=timedelta(seconds=10),
|
|
252
|
+
period=timedelta(seconds=1),
|
|
241
253
|
aggregator=summarize
|
|
242
254
|
)
|
|
243
255
|
|
|
@@ -294,6 +306,7 @@ For more in-depth examples, check out the scripts in the `examples/` directory:
|
|
|
294
306
|
- [`graph.py`](examples/graph.py): Shows how to create relationships between documents and perform multi-hop graph traversals.
|
|
295
307
|
- [`kvstore.py`](examples/kvstore.py): A comprehensive demo of the namespaced dictionary feature.
|
|
296
308
|
- [`list.py`](examples/list.py): Shows the full capabilities of the persistent list, including slicing and in-place updates.
|
|
309
|
+
- [`logs.py`](examples/logs.py): A short example showing how to build a realtime dashboard with the logging feature.
|
|
297
310
|
- [`pqueue.py`](examples/pqueue.py): A practical example of using the persistent priority queue for task management.
|
|
298
311
|
- [`producer_consumer.py`](examples/producer_consumer.py): A demonstration of the distributed task queue system in a multi-process environment.
|
|
299
312
|
- [`publisher.py`](examples/publisher.py) and [`subscriber.py`](examples/subscriber.py): A pair of examples demonstrating inter-process message passing with the publish/subscribe system.
|
|
@@ -301,7 +314,7 @@ For more in-depth examples, check out the scripts in the `examples/` directory:
|
|
|
301
314
|
- [`rerank.py`](examples/rerank.py): Shows how to combine results from vector and text search for more refined results.
|
|
302
315
|
- [`stress_vectors.py`](examples/stress_vectors.py): A stress test for the vector search functionality.
|
|
303
316
|
- [`textual_chat.py`](examples/textual_chat.py): A chat application built with `textual` and `beaver` to illustrate the use of several primitives (lists, dicts, and channels) at the same time.
|
|
304
|
-
- [`type_hints.py](examples/type_hints.py): Shows how to use type hints with `beaver` to get better IDE support and type safety.
|
|
317
|
+
- [`type_hints.py`](examples/type_hints.py): Shows how to use type hints with `beaver` to get better IDE support and type safety.
|
|
305
318
|
- [`vector.py`](examples/vector.py): Demonstrates how to index and search vector embeddings, including upserts.
|
|
306
319
|
|
|
307
320
|
## Roadmap
|
|
@@ -1,16 +1,12 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: beaver-db
|
|
3
|
-
Version: 0.16.1
|
|
4
|
-
Summary: Fast, embedded, and multi-modal DB based on SQLite for AI-powered applications.
|
|
5
|
-
Requires-Python: >=3.13
|
|
6
|
-
Description-Content-Type: text/markdown
|
|
7
|
-
License-File: LICENSE
|
|
8
|
-
Requires-Dist: faiss-cpu>=1.12.0
|
|
9
|
-
Requires-Dist: numpy>=2.3.3
|
|
10
|
-
Dynamic: license-file
|
|
11
|
-
|
|
12
1
|
# beaver 🦫
|
|
13
2
|
|
|
3
|
+
<!-- Project badges -->
|
|
4
|
+

|
|
5
|
+

|
|
6
|
+

|
|
7
|
+

|
|
8
|
+

|
|
9
|
+
|
|
14
10
|
A fast, single-file, multi-modal database for Python, built with the standard `sqlite3` library.
|
|
15
11
|
|
|
16
12
|
`beaver` is the **B**ackend for **E**mbedded, **A**ll-in-one **V**ector, **E**ntity, and **R**elationship storage. It's a simple, local, and embedded database designed to manage complex, modern data types without requiring a database server, built on top of SQLite.
|
|
@@ -236,8 +232,8 @@ def summarize(window):
|
|
|
236
232
|
return {"mean": statistics.mean(values), "count": len(values)}
|
|
237
233
|
|
|
238
234
|
live_summary = logs.live(
|
|
239
|
-
|
|
240
|
-
|
|
235
|
+
window=timedelta(seconds=10),
|
|
236
|
+
period=timedelta(seconds=1),
|
|
241
237
|
aggregator=summarize
|
|
242
238
|
)
|
|
243
239
|
|
|
@@ -294,6 +290,7 @@ For more in-depth examples, check out the scripts in the `examples/` directory:
|
|
|
294
290
|
- [`graph.py`](examples/graph.py): Shows how to create relationships between documents and perform multi-hop graph traversals.
|
|
295
291
|
- [`kvstore.py`](examples/kvstore.py): A comprehensive demo of the namespaced dictionary feature.
|
|
296
292
|
- [`list.py`](examples/list.py): Shows the full capabilities of the persistent list, including slicing and in-place updates.
|
|
293
|
+
- [`logs.py`](examples/logs.py): A short example showing how to build a realtime dashboard with the logging feature.
|
|
297
294
|
- [`pqueue.py`](examples/pqueue.py): A practical example of using the persistent priority queue for task management.
|
|
298
295
|
- [`producer_consumer.py`](examples/producer_consumer.py): A demonstration of the distributed task queue system in a multi-process environment.
|
|
299
296
|
- [`publisher.py`](examples/publisher.py) and [`subscriber.py`](examples/subscriber.py): A pair of examples demonstrating inter-process message passing with the publish/subscribe system.
|
|
@@ -301,7 +298,7 @@ For more in-depth examples, check out the scripts in the `examples/` directory:
|
|
|
301
298
|
- [`rerank.py`](examples/rerank.py): Shows how to combine results from vector and text search for more refined results.
|
|
302
299
|
- [`stress_vectors.py`](examples/stress_vectors.py): A stress test for the vector search functionality.
|
|
303
300
|
- [`textual_chat.py`](examples/textual_chat.py): A chat application built with `textual` and `beaver` to illustrate the use of several primitives (lists, dicts, and channels) at the same time.
|
|
304
|
-
- [`type_hints.py](examples/type_hints.py): Shows how to use type hints with `beaver` to get better IDE support and type safety.
|
|
301
|
+
- [`type_hints.py`](examples/type_hints.py): Shows how to use type hints with `beaver` to get better IDE support and type safety.
|
|
305
302
|
- [`vector.py`](examples/vector.py): Demonstrates how to index and search vector embeddings, including upserts.
|
|
306
303
|
|
|
307
304
|
## Roadmap
|
|
@@ -1,5 +1,28 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: beaver-db
|
|
3
|
+
Version: 0.16.2
|
|
4
|
+
Summary: Fast, embedded, and multi-modal DB based on SQLite for AI-powered applications.
|
|
5
|
+
Classifier: Programming Language :: Python :: 3
|
|
6
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
7
|
+
Classifier: Operating System :: OS Independent
|
|
8
|
+
Classifier: Topic :: Database
|
|
9
|
+
Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
|
|
10
|
+
Requires-Python: >=3.13
|
|
11
|
+
Description-Content-Type: text/markdown
|
|
12
|
+
License-File: LICENSE
|
|
13
|
+
Requires-Dist: faiss-cpu>=1.12.0
|
|
14
|
+
Requires-Dist: numpy>=2.3.3
|
|
15
|
+
Dynamic: license-file
|
|
16
|
+
|
|
1
17
|
# beaver 🦫
|
|
2
18
|
|
|
19
|
+
<!-- Project badges -->
|
|
20
|
+

|
|
21
|
+

|
|
22
|
+

|
|
23
|
+

|
|
24
|
+

|
|
25
|
+
|
|
3
26
|
A fast, single-file, multi-modal database for Python, built with the standard `sqlite3` library.
|
|
4
27
|
|
|
5
28
|
`beaver` is the **B**ackend for **E**mbedded, **A**ll-in-one **V**ector, **E**ntity, and **R**elationship storage. It's a simple, local, and embedded database designed to manage complex, modern data types without requiring a database server, built on top of SQLite.
|
|
@@ -225,8 +248,8 @@ def summarize(window):
|
|
|
225
248
|
return {"mean": statistics.mean(values), "count": len(values)}
|
|
226
249
|
|
|
227
250
|
live_summary = logs.live(
|
|
228
|
-
|
|
229
|
-
|
|
251
|
+
window=timedelta(seconds=10),
|
|
252
|
+
period=timedelta(seconds=1),
|
|
230
253
|
aggregator=summarize
|
|
231
254
|
)
|
|
232
255
|
|
|
@@ -283,6 +306,7 @@ For more in-depth examples, check out the scripts in the `examples/` directory:
|
|
|
283
306
|
- [`graph.py`](examples/graph.py): Shows how to create relationships between documents and perform multi-hop graph traversals.
|
|
284
307
|
- [`kvstore.py`](examples/kvstore.py): A comprehensive demo of the namespaced dictionary feature.
|
|
285
308
|
- [`list.py`](examples/list.py): Shows the full capabilities of the persistent list, including slicing and in-place updates.
|
|
309
|
+
- [`logs.py`](examples/logs.py): A short example showing how to build a realtime dashboard with the logging feature.
|
|
286
310
|
- [`pqueue.py`](examples/pqueue.py): A practical example of using the persistent priority queue for task management.
|
|
287
311
|
- [`producer_consumer.py`](examples/producer_consumer.py): A demonstration of the distributed task queue system in a multi-process environment.
|
|
288
312
|
- [`publisher.py`](examples/publisher.py) and [`subscriber.py`](examples/subscriber.py): A pair of examples demonstrating inter-process message passing with the publish/subscribe system.
|
|
@@ -290,7 +314,7 @@ For more in-depth examples, check out the scripts in the `examples/` directory:
|
|
|
290
314
|
- [`rerank.py`](examples/rerank.py): Shows how to combine results from vector and text search for more refined results.
|
|
291
315
|
- [`stress_vectors.py`](examples/stress_vectors.py): A stress test for the vector search functionality.
|
|
292
316
|
- [`textual_chat.py`](examples/textual_chat.py): A chat application built with `textual` and `beaver` to illustrate the use of several primitives (lists, dicts, and channels) at the same time.
|
|
293
|
-
- [`type_hints.py](examples/type_hints.py): Shows how to use type hints with `beaver` to get better IDE support and type safety.
|
|
317
|
+
- [`type_hints.py`](examples/type_hints.py): Shows how to use type hints with `beaver` to get better IDE support and type safety.
|
|
294
318
|
- [`vector.py`](examples/vector.py): Demonstrates how to index and search vector embeddings, including upserts.
|
|
295
319
|
|
|
296
320
|
## Roadmap
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "beaver-db"
|
|
3
|
-
version = "0.16.
|
|
3
|
+
version = "0.16.2"
|
|
4
4
|
description = "Fast, embedded, and multi-modal DB based on SQLite for AI-powered applications."
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
requires-python = ">=3.13"
|
|
@@ -8,6 +8,13 @@ dependencies = [
|
|
|
8
8
|
"faiss-cpu>=1.12.0",
|
|
9
9
|
"numpy>=2.3.3",
|
|
10
10
|
]
|
|
11
|
+
classifiers = [
|
|
12
|
+
"Programming Language :: Python :: 3",
|
|
13
|
+
"License :: OSI Approved :: MIT License",
|
|
14
|
+
"Operating System :: OS Independent",
|
|
15
|
+
"Topic :: Database",
|
|
16
|
+
"Topic :: Software Development :: Libraries :: Application Frameworks",
|
|
17
|
+
]
|
|
11
18
|
|
|
12
19
|
[tool.hatch.build.targets.wheel]
|
|
13
20
|
packages = ["beaver"]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|