kgmodule-utils 0.6.0__tar.gz → 0.6.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.
Files changed (29) hide show
  1. {kgmodule_utils-0.6.0 → kgmodule_utils-0.6.2}/PKG-INFO +4 -5
  2. {kgmodule_utils-0.6.0 → kgmodule_utils-0.6.2}/README.md +3 -3
  3. {kgmodule_utils-0.6.0 → kgmodule_utils-0.6.2}/pyproject.toml +2 -2
  4. {kgmodule_utils-0.6.0 → kgmodule_utils-0.6.2}/src/kg_utils/__init__.py +1 -1
  5. {kgmodule_utils-0.6.0 → kgmodule_utils-0.6.2}/src/kg_utils/pipeline.py +3 -1
  6. {kgmodule_utils-0.6.0 → kgmodule_utils-0.6.2}/LICENSE +0 -0
  7. {kgmodule_utils-0.6.0 → kgmodule_utils-0.6.2}/src/kg_utils/corpus_embedder.py +0 -0
  8. {kgmodule_utils-0.6.0 → kgmodule_utils-0.6.2}/src/kg_utils/embed.py +0 -0
  9. {kgmodule_utils-0.6.0 → kgmodule_utils-0.6.2}/src/kg_utils/embedder.py +0 -0
  10. {kgmodule_utils-0.6.0 → kgmodule_utils-0.6.2}/src/kg_utils/extractor.py +0 -0
  11. {kgmodule_utils-0.6.0 → kgmodule_utils-0.6.2}/src/kg_utils/module.py +0 -0
  12. {kgmodule_utils-0.6.0 → kgmodule_utils-0.6.2}/src/kg_utils/py.typed +0 -0
  13. {kgmodule_utils-0.6.0 → kgmodule_utils-0.6.2}/src/kg_utils/retrieval/__init__.py +0 -0
  14. {kgmodule_utils-0.6.0 → kgmodule_utils-0.6.2}/src/kg_utils/retrieval/hits.py +0 -0
  15. {kgmodule_utils-0.6.0 → kgmodule_utils-0.6.2}/src/kg_utils/semantic.py +0 -0
  16. {kgmodule_utils-0.6.0 → kgmodule_utils-0.6.2}/src/kg_utils/snapshots/__init__.py +0 -0
  17. {kgmodule_utils-0.6.0 → kgmodule_utils-0.6.2}/src/kg_utils/snapshots/manager.py +0 -0
  18. {kgmodule_utils-0.6.0 → kgmodule_utils-0.6.2}/src/kg_utils/snapshots/models.py +0 -0
  19. {kgmodule_utils-0.6.0 → kgmodule_utils-0.6.2}/src/kg_utils/specs.py +0 -0
  20. {kgmodule_utils-0.6.0 → kgmodule_utils-0.6.2}/src/kg_utils/store.py +0 -0
  21. {kgmodule_utils-0.6.0 → kgmodule_utils-0.6.2}/src/kg_utils/synthesis/__init__.py +0 -0
  22. {kgmodule_utils-0.6.0 → kgmodule_utils-0.6.2}/src/kg_utils/synthesis/_config.py +0 -0
  23. {kgmodule_utils-0.6.0 → kgmodule_utils-0.6.2}/src/kg_utils/synthesis/_image.py +0 -0
  24. {kgmodule_utils-0.6.0 → kgmodule_utils-0.6.2}/src/kg_utils/synthesis/_text.py +0 -0
  25. {kgmodule_utils-0.6.0 → kgmodule_utils-0.6.2}/src/kg_utils/synthesis/factory.py +0 -0
  26. {kgmodule_utils-0.6.0 → kgmodule_utils-0.6.2}/src/kg_utils/vector_backend.py +0 -0
  27. {kgmodule_utils-0.6.0 → kgmodule_utils-0.6.2}/src/kg_utils/worker/__init__.py +0 -0
  28. {kgmodule_utils-0.6.0 → kgmodule_utils-0.6.2}/src/kg_utils/worker/client.py +0 -0
  29. {kgmodule_utils-0.6.0 → kgmodule_utils-0.6.2}/src/kg_utils/worker/ops.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: kgmodule-utils
3
- Version: 0.6.0
3
+ Version: 0.6.2
4
4
  Summary: Shared types, graph store, semantic index, and pipeline base for the KGModule SDK
5
5
  License: Elastic-2.0
6
6
  License-File: LICENSE
@@ -31,14 +31,13 @@ Requires-Dist: sentence-transformers (>=5.4.1) ; extra == "semantic"
31
31
  Requires-Dist: sqlite-vec (==0.1.9) ; extra == "sqlite-vec"
32
32
  Requires-Dist: torch (>=2.5.1) ; extra == "semantic"
33
33
  Requires-Dist: transformers (>=4.40.0,<4.57) ; extra == "semantic"
34
- Requires-Dist: ty (>=0.0.44,<0.0.45)
35
34
  Project-URL: Repository, https://github.com/Flux-Frontiers/kg_utils
36
35
  Description-Content-Type: text/markdown
37
36
 
38
37
 
39
38
  [![Python](https://img.shields.io/badge/python-3.12%20%7C%203.13-blue.svg)](https://www.python.org/)
40
39
  [![License: Elastic-2.0](https://img.shields.io/badge/License-Elastic%202.0-blue.svg)](https://www.elastic.co/licensing/elastic-license)
41
- [![Version](https://img.shields.io/badge/version-0.6.0-blue.svg)](https://github.com/Flux-Frontiers/KG_utils/releases)
40
+ [![Version](https://img.shields.io/badge/version-0.6.2-blue.svg)](https://github.com/Flux-Frontiers/KG_utils/releases)
42
41
  [![CI](https://github.com/Flux-Frontiers/KG_utils/actions/workflows/ci.yml/badge.svg)](https://github.com/Flux-Frontiers/KG_utils/actions/workflows/ci.yml)
43
42
  [![Poetry](https://img.shields.io/endpoint?url=https://python-poetry.org/badge/v0.json)](https://python-poetry.org/)
44
43
  [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.21364005.svg)](https://doi.org/10.5281/zenodo.21364005)
@@ -324,7 +323,7 @@ If you use kgmodule-utils in research or a project, please cite it:
324
323
 
325
324
  **APA**
326
325
 
327
- > Suchanek, E. G. (2026). *kgmodule-utils: Shared SDK for the KGModule Knowledge-Graph Ecosystem* (Version 0.6.0) [Software]. Flux-Frontiers. https://doi.org/10.5281/zenodo.21364005
326
+ > Suchanek, E. G. (2026). *kgmodule-utils: Shared SDK for the KGModule Knowledge-Graph Ecosystem* (Version 0.6.2) [Software]. Flux-Frontiers. https://doi.org/10.5281/zenodo.21364005
328
327
 
329
328
  **BibTeX**
330
329
 
@@ -332,7 +331,7 @@ If you use kgmodule-utils in research or a project, please cite it:
332
331
  @software{suchanek_kgmodule_utils,
333
332
  author = {Suchanek, Eric G.},
334
333
  title = {{kgmodule-utils}: Shared SDK for the KGModule Knowledge-Graph Ecosystem},
335
- version = {0.6.0},
334
+ version = {0.6.2},
336
335
  year = {2026},
337
336
  publisher = {Flux-Frontiers},
338
337
  url = {https://github.com/Flux-Frontiers/KG_utils},
@@ -1,7 +1,7 @@
1
1
 
2
2
  [![Python](https://img.shields.io/badge/python-3.12%20%7C%203.13-blue.svg)](https://www.python.org/)
3
3
  [![License: Elastic-2.0](https://img.shields.io/badge/License-Elastic%202.0-blue.svg)](https://www.elastic.co/licensing/elastic-license)
4
- [![Version](https://img.shields.io/badge/version-0.6.0-blue.svg)](https://github.com/Flux-Frontiers/KG_utils/releases)
4
+ [![Version](https://img.shields.io/badge/version-0.6.2-blue.svg)](https://github.com/Flux-Frontiers/KG_utils/releases)
5
5
  [![CI](https://github.com/Flux-Frontiers/KG_utils/actions/workflows/ci.yml/badge.svg)](https://github.com/Flux-Frontiers/KG_utils/actions/workflows/ci.yml)
6
6
  [![Poetry](https://img.shields.io/endpoint?url=https://python-poetry.org/badge/v0.json)](https://python-poetry.org/)
7
7
  [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.21364005.svg)](https://doi.org/10.5281/zenodo.21364005)
@@ -287,7 +287,7 @@ If you use kgmodule-utils in research or a project, please cite it:
287
287
 
288
288
  **APA**
289
289
 
290
- > Suchanek, E. G. (2026). *kgmodule-utils: Shared SDK for the KGModule Knowledge-Graph Ecosystem* (Version 0.6.0) [Software]. Flux-Frontiers. https://doi.org/10.5281/zenodo.21364005
290
+ > Suchanek, E. G. (2026). *kgmodule-utils: Shared SDK for the KGModule Knowledge-Graph Ecosystem* (Version 0.6.2) [Software]. Flux-Frontiers. https://doi.org/10.5281/zenodo.21364005
291
291
 
292
292
  **BibTeX**
293
293
 
@@ -295,7 +295,7 @@ If you use kgmodule-utils in research or a project, please cite it:
295
295
  @software{suchanek_kgmodule_utils,
296
296
  author = {Suchanek, Eric G.},
297
297
  title = {{kgmodule-utils}: Shared SDK for the KGModule Knowledge-Graph Ecosystem},
298
- version = {0.6.0},
298
+ version = {0.6.2},
299
299
  year = {2026},
300
300
  publisher = {Flux-Frontiers},
301
301
  url = {https://github.com/Flux-Frontiers/KG_utils},
@@ -10,7 +10,7 @@ build-backend = "poetry.core.masonry.api"
10
10
 
11
11
  [project]
12
12
  name = "kgmodule-utils"
13
- version = "0.6.0"
13
+ version = "0.6.2"
14
14
  description = "Shared types, graph store, semantic index, and pipeline base for the KGModule SDK"
15
15
  readme = "README.md"
16
16
  license = { text = "Elastic-2.0" }
@@ -26,7 +26,7 @@ classifiers = [
26
26
  "Programming Language :: Python :: 3.13",
27
27
  ]
28
28
  requires-python = ">=3.12,<3.14"
29
- dependencies = ["ty (>=0.0.44,<0.0.45)"]
29
+ dependencies = []
30
30
 
31
31
  [project.optional-dependencies]
32
32
  semantic = [
@@ -26,4 +26,4 @@ Optional extras
26
26
  pip install 'kgmodule-utils[synthesis-mflux]' # + mflux (Apple Silicon local gen)
27
27
  """
28
28
 
29
- __version__ = "0.6.0"
29
+ __version__ = "0.6.2"
@@ -333,7 +333,9 @@ class KGModule(ABC):
333
333
  _dir = self.repo_root / self._default_dir
334
334
  self.db_path = Path(db_path) if db_path is not None else _dir / "graph.sqlite"
335
335
  self.lancedb_dir = Path(lancedb_dir) if lancedb_dir is not None else _dir / "lancedb"
336
- self.vectors_path = _dir / "vectors.sqlite"
336
+ # Sidecar sits next to the lancedb dir (fleet convention: <kg-dir>/vectors.sqlite),
337
+ # so an explicit lancedb_dir relocates the sqlite-vec store with it.
338
+ self.vectors_path = self.lancedb_dir.parent / "vectors.sqlite"
337
339
  self.model_name = model
338
340
  self.table_name = table
339
341
  self.vector_backend = vector_backend
File without changes