kgmodule-utils 0.30.1__tar.gz → 0.30.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.
- {kgmodule_utils-0.30.1 → kgmodule_utils-0.30.2}/PKG-INFO +7 -4
- {kgmodule_utils-0.30.1 → kgmodule_utils-0.30.2}/README.md +6 -3
- {kgmodule_utils-0.30.1 → kgmodule_utils-0.30.2}/pyproject.toml +1 -1
- {kgmodule_utils-0.30.1 → kgmodule_utils-0.30.2}/src/kg_utils/__init__.py +1 -1
- {kgmodule_utils-0.30.1 → kgmodule_utils-0.30.2}/src/kg_utils/synthesis/_config.py +7 -6
- {kgmodule_utils-0.30.1 → kgmodule_utils-0.30.2}/LICENSE +0 -0
- {kgmodule_utils-0.30.1 → kgmodule_utils-0.30.2}/src/kg_utils/analysis/__init__.py +0 -0
- {kgmodule_utils-0.30.1 → kgmodule_utils-0.30.2}/src/kg_utils/analysis/scores.py +0 -0
- {kgmodule_utils-0.30.1 → kgmodule_utils-0.30.2}/src/kg_utils/corpus_embedder.py +0 -0
- {kgmodule_utils-0.30.1 → kgmodule_utils-0.30.2}/src/kg_utils/devicepack.py +0 -0
- {kgmodule_utils-0.30.1 → kgmodule_utils-0.30.2}/src/kg_utils/embed.py +0 -0
- {kgmodule_utils-0.30.1 → kgmodule_utils-0.30.2}/src/kg_utils/embedder.py +0 -0
- {kgmodule_utils-0.30.1 → kgmodule_utils-0.30.2}/src/kg_utils/extractor.py +0 -0
- {kgmodule_utils-0.30.1 → kgmodule_utils-0.30.2}/src/kg_utils/ingest/__init__.py +0 -0
- {kgmodule_utils-0.30.1 → kgmodule_utils-0.30.2}/src/kg_utils/ingest/converters.py +0 -0
- {kgmodule_utils-0.30.1 → kgmodule_utils-0.30.2}/src/kg_utils/ingest/derived.py +0 -0
- {kgmodule_utils-0.30.1 → kgmodule_utils-0.30.2}/src/kg_utils/ingest/manifest.py +0 -0
- {kgmodule_utils-0.30.1 → kgmodule_utils-0.30.2}/src/kg_utils/ingest/pipeline.py +0 -0
- {kgmodule_utils-0.30.1 → kgmodule_utils-0.30.2}/src/kg_utils/mcp/__init__.py +0 -0
- {kgmodule_utils-0.30.1 → kgmodule_utils-0.30.2}/src/kg_utils/mcp/_names.py +0 -0
- {kgmodule_utils-0.30.1 → kgmodule_utils-0.30.2}/src/kg_utils/mcp/cli.py +0 -0
- {kgmodule_utils-0.30.1 → kgmodule_utils-0.30.2}/src/kg_utils/mcp/server.py +0 -0
- {kgmodule_utils-0.30.1 → kgmodule_utils-0.30.2}/src/kg_utils/module.py +0 -0
- {kgmodule_utils-0.30.1 → kgmodule_utils-0.30.2}/src/kg_utils/pipeline.py +0 -0
- {kgmodule_utils-0.30.1 → kgmodule_utils-0.30.2}/src/kg_utils/py.typed +0 -0
- {kgmodule_utils-0.30.1 → kgmodule_utils-0.30.2}/src/kg_utils/retrieval/__init__.py +0 -0
- {kgmodule_utils-0.30.1 → kgmodule_utils-0.30.2}/src/kg_utils/retrieval/hits.py +0 -0
- {kgmodule_utils-0.30.1 → kgmodule_utils-0.30.2}/src/kg_utils/semantic.py +0 -0
- {kgmodule_utils-0.30.1 → kgmodule_utils-0.30.2}/src/kg_utils/snapshots/__init__.py +0 -0
- {kgmodule_utils-0.30.1 → kgmodule_utils-0.30.2}/src/kg_utils/snapshots/manager.py +0 -0
- {kgmodule_utils-0.30.1 → kgmodule_utils-0.30.2}/src/kg_utils/snapshots/models.py +0 -0
- {kgmodule_utils-0.30.1 → kgmodule_utils-0.30.2}/src/kg_utils/specs.py +0 -0
- {kgmodule_utils-0.30.1 → kgmodule_utils-0.30.2}/src/kg_utils/stats.py +0 -0
- {kgmodule_utils-0.30.1 → kgmodule_utils-0.30.2}/src/kg_utils/store.py +0 -0
- {kgmodule_utils-0.30.1 → kgmodule_utils-0.30.2}/src/kg_utils/synthesis/__init__.py +0 -0
- {kgmodule_utils-0.30.1 → kgmodule_utils-0.30.2}/src/kg_utils/synthesis/_anthropic.py +0 -0
- {kgmodule_utils-0.30.1 → kgmodule_utils-0.30.2}/src/kg_utils/synthesis/_image.py +0 -0
- {kgmodule_utils-0.30.1 → kgmodule_utils-0.30.2}/src/kg_utils/synthesis/_text.py +0 -0
- {kgmodule_utils-0.30.1 → kgmodule_utils-0.30.2}/src/kg_utils/synthesis/factory.py +0 -0
- {kgmodule_utils-0.30.1 → kgmodule_utils-0.30.2}/src/kg_utils/temporal.py +0 -0
- {kgmodule_utils-0.30.1 → kgmodule_utils-0.30.2}/src/kg_utils/validation.py +0 -0
- {kgmodule_utils-0.30.1 → kgmodule_utils-0.30.2}/src/kg_utils/vector_backend.py +0 -0
- {kgmodule_utils-0.30.1 → kgmodule_utils-0.30.2}/src/kg_utils/viz/__init__.py +0 -0
- {kgmodule_utils-0.30.1 → kgmodule_utils-0.30.2}/src/kg_utils/viz/graph_html.py +0 -0
- {kgmodule_utils-0.30.1 → kgmodule_utils-0.30.2}/src/kg_utils/viz/theme.py +0 -0
- {kgmodule_utils-0.30.1 → kgmodule_utils-0.30.2}/src/kg_utils/viz/tooltip.py +0 -0
- {kgmodule_utils-0.30.1 → kgmodule_utils-0.30.2}/src/kg_utils/viz3d/__init__.py +0 -0
- {kgmodule_utils-0.30.1 → kgmodule_utils-0.30.2}/src/kg_utils/viz3d/layout.py +0 -0
- {kgmodule_utils-0.30.1 → kgmodule_utils-0.30.2}/src/kg_utils/viz3d/organic.py +0 -0
- {kgmodule_utils-0.30.1 → kgmodule_utils-0.30.2}/src/kg_utils/viz3d/qt.py +0 -0
- {kgmodule_utils-0.30.1 → kgmodule_utils-0.30.2}/src/kg_utils/viz3d/species.py +0 -0
- {kgmodule_utils-0.30.1 → kgmodule_utils-0.30.2}/src/kg_utils/worker/__init__.py +0 -0
- {kgmodule_utils-0.30.1 → kgmodule_utils-0.30.2}/src/kg_utils/worker/client.py +0 -0
- {kgmodule_utils-0.30.1 → kgmodule_utils-0.30.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.30.
|
|
3
|
+
Version: 0.30.2
|
|
4
4
|
Summary: Shared types, graph store, semantic index, and pipeline base for the KGModule SDK
|
|
5
5
|
License-Expression: Elastic-2.0
|
|
6
6
|
License-File: LICENSE
|
|
@@ -59,7 +59,7 @@ Description-Content-Type: text/markdown
|
|
|
59
59
|
|
|
60
60
|
[](https://www.python.org/)
|
|
61
61
|
[](https://www.elastic.co/licensing/elastic-license)
|
|
62
|
-
[](https://github.com/Flux-Frontiers/KG_utils/releases)
|
|
63
63
|
[](https://github.com/Flux-Frontiers/KG_utils/actions/workflows/ci.yml)
|
|
64
64
|
[](https://python-poetry.org/)
|
|
65
65
|
[](https://doi.org/10.5281/zenodo.21284866)
|
|
@@ -84,6 +84,9 @@ Fleet modules use it in two ways. [PyCodeKG](https://github.com/Flux-Frontiers/p
|
|
|
84
84
|
|
|
85
85
|
## Latest News
|
|
86
86
|
|
|
87
|
+
- **0.30.2 (2026-11-17)** -- A synthesis key now goes only to its own backend.
|
|
88
|
+
The `omlx` backend no longer sends `OPENAI_API_KEY` to the local oMLX server
|
|
89
|
+
when `VLLM_API_KEY` is unset, and cloud backends no longer get oMLX's key.
|
|
87
90
|
- **0.30.1 (2026-11-17)** -- The image rewrite prompt asks for an accurate
|
|
88
91
|
scene: the end of the moment, a person turned into something shown only as
|
|
89
92
|
what they became, the narrator in the scene, everyone clothed, and no
|
|
@@ -888,7 +891,7 @@ If you use kgmodule-utils in research or a project, please cite it:
|
|
|
888
891
|
|
|
889
892
|
**APA**
|
|
890
893
|
|
|
891
|
-
> Suchanek, E. G. (2026). *kgmodule-utils: Shared SDK for the KGModule Knowledge-Graph Ecosystem* (Version 0.30.
|
|
894
|
+
> Suchanek, E. G. (2026). *kgmodule-utils: Shared SDK for the KGModule Knowledge-Graph Ecosystem* (Version 0.30.2) [Software]. Flux-Frontiers. https://doi.org/10.5281/zenodo.21284866
|
|
892
895
|
|
|
893
896
|
**BibTeX**
|
|
894
897
|
|
|
@@ -896,7 +899,7 @@ If you use kgmodule-utils in research or a project, please cite it:
|
|
|
896
899
|
@software{suchanek_kgmodule_utils,
|
|
897
900
|
author = {Suchanek, Eric G.},
|
|
898
901
|
title = {{kgmodule-utils}: Shared SDK for the KGModule Knowledge-Graph Ecosystem},
|
|
899
|
-
version = {0.30.
|
|
902
|
+
version = {0.30.2},
|
|
900
903
|
year = {2026},
|
|
901
904
|
publisher = {Flux-Frontiers},
|
|
902
905
|
url = {https://github.com/Flux-Frontiers/KG_utils},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
[](https://www.python.org/)
|
|
3
3
|
[](https://www.elastic.co/licensing/elastic-license)
|
|
4
|
-
[](https://github.com/Flux-Frontiers/KG_utils/releases)
|
|
5
5
|
[](https://github.com/Flux-Frontiers/KG_utils/actions/workflows/ci.yml)
|
|
6
6
|
[](https://python-poetry.org/)
|
|
7
7
|
[](https://doi.org/10.5281/zenodo.21284866)
|
|
@@ -26,6 +26,9 @@ Fleet modules use it in two ways. [PyCodeKG](https://github.com/Flux-Frontiers/p
|
|
|
26
26
|
|
|
27
27
|
## Latest News
|
|
28
28
|
|
|
29
|
+
- **0.30.2 (2026-11-17)** -- A synthesis key now goes only to its own backend.
|
|
30
|
+
The `omlx` backend no longer sends `OPENAI_API_KEY` to the local oMLX server
|
|
31
|
+
when `VLLM_API_KEY` is unset, and cloud backends no longer get oMLX's key.
|
|
29
32
|
- **0.30.1 (2026-11-17)** -- The image rewrite prompt asks for an accurate
|
|
30
33
|
scene: the end of the moment, a person turned into something shown only as
|
|
31
34
|
what they became, the narrator in the scene, everyone clothed, and no
|
|
@@ -830,7 +833,7 @@ If you use kgmodule-utils in research or a project, please cite it:
|
|
|
830
833
|
|
|
831
834
|
**APA**
|
|
832
835
|
|
|
833
|
-
> Suchanek, E. G. (2026). *kgmodule-utils: Shared SDK for the KGModule Knowledge-Graph Ecosystem* (Version 0.30.
|
|
836
|
+
> Suchanek, E. G. (2026). *kgmodule-utils: Shared SDK for the KGModule Knowledge-Graph Ecosystem* (Version 0.30.2) [Software]. Flux-Frontiers. https://doi.org/10.5281/zenodo.21284866
|
|
834
837
|
|
|
835
838
|
**BibTeX**
|
|
836
839
|
|
|
@@ -838,7 +841,7 @@ If you use kgmodule-utils in research or a project, please cite it:
|
|
|
838
841
|
@software{suchanek_kgmodule_utils,
|
|
839
842
|
author = {Suchanek, Eric G.},
|
|
840
843
|
title = {{kgmodule-utils}: Shared SDK for the KGModule Knowledge-Graph Ecosystem},
|
|
841
|
-
version = {0.30.
|
|
844
|
+
version = {0.30.2},
|
|
842
845
|
year = {2026},
|
|
843
846
|
publisher = {Flux-Frontiers},
|
|
844
847
|
url = {https://github.com/Flux-Frontiers/KG_utils},
|
|
@@ -9,7 +9,7 @@ build-backend = "poetry.core.masonry.api"
|
|
|
9
9
|
|
|
10
10
|
[project]
|
|
11
11
|
name = "kgmodule-utils"
|
|
12
|
-
version = "0.30.
|
|
12
|
+
version = "0.30.2"
|
|
13
13
|
description = "Shared types, graph store, semantic index, and pipeline base for the KGModule SDK"
|
|
14
14
|
readme = "README.md"
|
|
15
15
|
license = "Elastic-2.0"
|
|
@@ -130,12 +130,13 @@ def text_config_from_env() -> TextConfig:
|
|
|
130
130
|
backend = TextBackend.OMLX
|
|
131
131
|
|
|
132
132
|
endpoint = os.environ.get("SYNTH_ENDPOINT") or os.environ.get("VLLM_ENDPOINT_URL") or ""
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
or ""
|
|
138
|
-
|
|
133
|
+
# Each key goes only to its own backend: VLLM_API_KEY is oMLX's and
|
|
134
|
+
# OPENAI_API_KEY is OpenAI's, so neither reaches another server.
|
|
135
|
+
api_key = os.environ.get("SYNTH_API_KEY") or ""
|
|
136
|
+
if not api_key and backend is TextBackend.OMLX:
|
|
137
|
+
api_key = os.environ.get("VLLM_API_KEY") or ""
|
|
138
|
+
elif not api_key and backend is TextBackend.OPENAI:
|
|
139
|
+
api_key = os.environ.get("OPENAI_API_KEY") or ""
|
|
139
140
|
if backend == TextBackend.ANTHROPIC:
|
|
140
141
|
# An OpenAI key is never a Claude key; empty lets the SDK resolve one.
|
|
141
142
|
api_key = os.environ.get("ANTHROPIC_API_KEY") or ""
|
|
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
|
|
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
|
|
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
|