getbased-rag 0.7.4__tar.gz → 0.8.0__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 (25) hide show
  1. {getbased_rag-0.7.4/src/getbased_rag.egg-info → getbased_rag-0.8.0}/PKG-INFO +23 -15
  2. {getbased_rag-0.7.4 → getbased_rag-0.8.0}/README.md +10 -2
  3. {getbased_rag-0.7.4 → getbased_rag-0.8.0}/pyproject.toml +14 -14
  4. {getbased_rag-0.7.4 → getbased_rag-0.8.0/src/getbased_rag.egg-info}/PKG-INFO +23 -15
  5. {getbased_rag-0.7.4 → getbased_rag-0.8.0}/src/getbased_rag.egg-info/SOURCES.txt +2 -1
  6. getbased_rag-0.8.0/src/getbased_rag.egg-info/requires.txt +26 -0
  7. {getbased_rag-0.7.4 → getbased_rag-0.8.0}/src/lens/__init__.py +1 -1
  8. {getbased_rag-0.7.4 → getbased_rag-0.8.0}/src/lens/embedder.py +1 -1
  9. getbased_rag-0.8.0/tests/test_version.py +9 -0
  10. getbased_rag-0.7.4/src/getbased_rag.egg-info/requires.txt +0 -26
  11. {getbased_rag-0.7.4 → getbased_rag-0.8.0}/LICENSE +0 -0
  12. {getbased_rag-0.7.4 → getbased_rag-0.8.0}/setup.cfg +0 -0
  13. {getbased_rag-0.7.4 → getbased_rag-0.8.0}/src/getbased_rag.egg-info/dependency_links.txt +0 -0
  14. {getbased_rag-0.7.4 → getbased_rag-0.8.0}/src/getbased_rag.egg-info/entry_points.txt +0 -0
  15. {getbased_rag-0.7.4 → getbased_rag-0.8.0}/src/getbased_rag.egg-info/top_level.txt +0 -0
  16. {getbased_rag-0.7.4 → getbased_rag-0.8.0}/src/lens/api_key.py +0 -0
  17. {getbased_rag-0.7.4 → getbased_rag-0.8.0}/src/lens/cli.py +0 -0
  18. {getbased_rag-0.7.4 → getbased_rag-0.8.0}/src/lens/config.py +0 -0
  19. {getbased_rag-0.7.4 → getbased_rag-0.8.0}/src/lens/ingest.py +0 -0
  20. {getbased_rag-0.7.4 → getbased_rag-0.8.0}/src/lens/registry.py +0 -0
  21. {getbased_rag-0.7.4 → getbased_rag-0.8.0}/src/lens/server.py +0 -0
  22. {getbased_rag-0.7.4 → getbased_rag-0.8.0}/src/lens/store.py +0 -0
  23. {getbased_rag-0.7.4 → getbased_rag-0.8.0}/tests/test_env_loader.py +0 -0
  24. {getbased_rag-0.7.4 → getbased_rag-0.8.0}/tests/test_onnx_embedder.py +0 -0
  25. {getbased_rag-0.7.4 → getbased_rag-0.8.0}/tests/test_server.py +0 -0
@@ -1,32 +1,32 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: getbased-rag
3
- Version: 0.7.4
3
+ Version: 0.8.0
4
4
  Summary: getbased-rag — standalone RAG knowledge server (formerly the Electron-bundled Lens)
5
5
  License-Expression: AGPL-3.0-or-later
6
- Requires-Python: >=3.10
6
+ Requires-Python: >=3.11
7
7
  Description-Content-Type: text/markdown
8
8
  License-File: LICENSE
9
- Requires-Dist: fastapi>=0.110
10
- Requires-Dist: uvicorn[standard]>=0.29
11
- Requires-Dist: qdrant-client>=1.9
12
- Requires-Dist: sentence-transformers>=2.6
13
- Requires-Dist: typer>=0.12
9
+ Requires-Dist: fastapi>=0.143.0
10
+ Requires-Dist: uvicorn[standard]>=0.54.0
11
+ Requires-Dist: qdrant-client>=1.19.1
12
+ Requires-Dist: sentence-transformers>=6.1.0
13
+ Requires-Dist: typer>=0.27.3
14
14
  Requires-Dist: pydantic>=2.0
15
15
  Requires-Dist: pyyaml>=6.0
16
16
  Requires-Dist: rich>=13.0
17
- Requires-Dist: python-multipart>=0.0.31
17
+ Requires-Dist: python-multipart>=0.0.32
18
18
  Provides-Extra: pdf
19
- Requires-Dist: pypdf>=6.13.3; extra == "pdf"
19
+ Requires-Dist: pypdf>=6.19.0; extra == "pdf"
20
20
  Provides-Extra: docx
21
21
  Requires-Dist: python-docx>=1.0; extra == "docx"
22
22
  Provides-Extra: full
23
- Requires-Dist: pypdf>=6.13.3; extra == "full"
23
+ Requires-Dist: pypdf>=6.19.0; extra == "full"
24
24
  Requires-Dist: python-docx>=1.0; extra == "full"
25
- Requires-Dist: onnxruntime>=1.17; extra == "full"
25
+ Requires-Dist: onnxruntime>=1.31.0; extra == "full"
26
26
  Requires-Dist: huggingface-hub>=0.20; extra == "full"
27
- Requires-Dist: tokenizers>=0.15; extra == "full"
27
+ Requires-Dist: tokenizers>=0.23.3; extra == "full"
28
28
  Provides-Extra: test
29
- Requires-Dist: pytest>=8.0; extra == "test"
29
+ Requires-Dist: pytest>=9.1.1; extra == "test"
30
30
  Requires-Dist: httpx>=0.27; extra == "test"
31
31
  Dynamic: license-file
32
32
 
@@ -45,10 +45,18 @@ A standalone local knowledge server for getbased. Point the getbased PWA's **Ext
45
45
 
46
46
  ## Install
47
47
 
48
- Requires Python ≥ 3.10.
48
+ Requires Python ≥ 3.11. The full installation uses ONNX Runtime ≥ 1.31.
49
+ For an existing Python 3.10 tool environment, follow the
50
+ [migration instructions](../../README.md#migrating-an-existing-python-310-installation).
51
+
52
+ ONNX Runtime 1.31 provides wheels for CPython 3.11–3.14 on Linux
53
+ (glibc 2.28+, x86-64 or ARM64), Windows (x86-64 or ARM64), and
54
+ macOS 14+ on Apple Silicon. The standard full installation is unavailable
55
+ on Intel Macs; standalone MCP and dashboard installations do not require
56
+ the native RAG dependencies.
49
57
 
50
58
  ```bash
51
- pipx install "getbased-rag[full]"
59
+ pipx install --python python3.12 "getbased-rag[full]"
52
60
  ```
53
61
 
54
62
  Or from source:
@@ -13,10 +13,18 @@ A standalone local knowledge server for getbased. Point the getbased PWA's **Ext
13
13
 
14
14
  ## Install
15
15
 
16
- Requires Python ≥ 3.10.
16
+ Requires Python ≥ 3.11. The full installation uses ONNX Runtime ≥ 1.31.
17
+ For an existing Python 3.10 tool environment, follow the
18
+ [migration instructions](../../README.md#migrating-an-existing-python-310-installation).
19
+
20
+ ONNX Runtime 1.31 provides wheels for CPython 3.11–3.14 on Linux
21
+ (glibc 2.28+, x86-64 or ARM64), Windows (x86-64 or ARM64), and
22
+ macOS 14+ on Apple Silicon. The standard full installation is unavailable
23
+ on Intel Macs; standalone MCP and dashboard installations do not require
24
+ the native RAG dependencies.
17
25
 
18
26
  ```bash
19
- pipx install "getbased-rag[full]"
27
+ pipx install --python python3.12 "getbased-rag[full]"
20
28
  ```
21
29
 
22
30
  Or from source:
@@ -1,28 +1,28 @@
1
1
  [build-system]
2
- requires = ["setuptools>=68.0", "wheel"]
2
+ requires = ["setuptools>=84.0.0", "wheel"]
3
3
  build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "getbased-rag"
7
- version = "0.7.4"
7
+ version = "0.8.0"
8
8
  description = "getbased-rag — standalone RAG knowledge server (formerly the Electron-bundled Lens)"
9
9
  readme = "README.md"
10
10
  license = "AGPL-3.0-or-later"
11
- requires-python = ">=3.10"
11
+ requires-python = ">=3.11"
12
12
  dependencies = [
13
- "fastapi>=0.110",
14
- "uvicorn[standard]>=0.29",
15
- "qdrant-client>=1.9",
16
- "sentence-transformers>=2.6",
17
- "typer>=0.12",
13
+ "fastapi>=0.143.0",
14
+ "uvicorn[standard]>=0.54.0",
15
+ "qdrant-client>=1.19.1",
16
+ "sentence-transformers>=6.1.0",
17
+ "typer>=0.27.3",
18
18
  "pydantic>=2.0",
19
19
  "pyyaml>=6.0",
20
20
  "rich>=13.0",
21
- "python-multipart>=0.0.31",
21
+ "python-multipart>=0.0.32",
22
22
  ]
23
23
 
24
24
  [project.optional-dependencies]
25
- pdf = ["pypdf>=6.13.3"]
25
+ pdf = ["pypdf>=6.19.0"]
26
26
  docx = ["python-docx>=1.0"]
27
27
  # ONNX acceleration. `full` now includes it by default — the install
28
28
  # is small (~200 MB vs the old ~2 GB) because we load pre-exported
@@ -36,13 +36,13 @@ docx = ["python-docx>=1.0"]
36
36
  # already in core gets you the default LocalEmbedder path — ~2-3x
37
37
  # slower than ONNX but zero extra config.
38
38
  full = [
39
- "pypdf>=6.13.3",
39
+ "pypdf>=6.19.0",
40
40
  "python-docx>=1.0",
41
- "onnxruntime>=1.17",
41
+ "onnxruntime>=1.31.0",
42
42
  "huggingface-hub>=0.20",
43
- "tokenizers>=0.15",
43
+ "tokenizers>=0.23.3",
44
44
  ]
45
- test = ["pytest>=8.0", "httpx>=0.27"]
45
+ test = ["pytest>=9.1.1", "httpx>=0.27"]
46
46
 
47
47
  [project.scripts]
48
48
  lens = "lens.cli:app"
@@ -1,32 +1,32 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: getbased-rag
3
- Version: 0.7.4
3
+ Version: 0.8.0
4
4
  Summary: getbased-rag — standalone RAG knowledge server (formerly the Electron-bundled Lens)
5
5
  License-Expression: AGPL-3.0-or-later
6
- Requires-Python: >=3.10
6
+ Requires-Python: >=3.11
7
7
  Description-Content-Type: text/markdown
8
8
  License-File: LICENSE
9
- Requires-Dist: fastapi>=0.110
10
- Requires-Dist: uvicorn[standard]>=0.29
11
- Requires-Dist: qdrant-client>=1.9
12
- Requires-Dist: sentence-transformers>=2.6
13
- Requires-Dist: typer>=0.12
9
+ Requires-Dist: fastapi>=0.143.0
10
+ Requires-Dist: uvicorn[standard]>=0.54.0
11
+ Requires-Dist: qdrant-client>=1.19.1
12
+ Requires-Dist: sentence-transformers>=6.1.0
13
+ Requires-Dist: typer>=0.27.3
14
14
  Requires-Dist: pydantic>=2.0
15
15
  Requires-Dist: pyyaml>=6.0
16
16
  Requires-Dist: rich>=13.0
17
- Requires-Dist: python-multipart>=0.0.31
17
+ Requires-Dist: python-multipart>=0.0.32
18
18
  Provides-Extra: pdf
19
- Requires-Dist: pypdf>=6.13.3; extra == "pdf"
19
+ Requires-Dist: pypdf>=6.19.0; extra == "pdf"
20
20
  Provides-Extra: docx
21
21
  Requires-Dist: python-docx>=1.0; extra == "docx"
22
22
  Provides-Extra: full
23
- Requires-Dist: pypdf>=6.13.3; extra == "full"
23
+ Requires-Dist: pypdf>=6.19.0; extra == "full"
24
24
  Requires-Dist: python-docx>=1.0; extra == "full"
25
- Requires-Dist: onnxruntime>=1.17; extra == "full"
25
+ Requires-Dist: onnxruntime>=1.31.0; extra == "full"
26
26
  Requires-Dist: huggingface-hub>=0.20; extra == "full"
27
- Requires-Dist: tokenizers>=0.15; extra == "full"
27
+ Requires-Dist: tokenizers>=0.23.3; extra == "full"
28
28
  Provides-Extra: test
29
- Requires-Dist: pytest>=8.0; extra == "test"
29
+ Requires-Dist: pytest>=9.1.1; extra == "test"
30
30
  Requires-Dist: httpx>=0.27; extra == "test"
31
31
  Dynamic: license-file
32
32
 
@@ -45,10 +45,18 @@ A standalone local knowledge server for getbased. Point the getbased PWA's **Ext
45
45
 
46
46
  ## Install
47
47
 
48
- Requires Python ≥ 3.10.
48
+ Requires Python ≥ 3.11. The full installation uses ONNX Runtime ≥ 1.31.
49
+ For an existing Python 3.10 tool environment, follow the
50
+ [migration instructions](../../README.md#migrating-an-existing-python-310-installation).
51
+
52
+ ONNX Runtime 1.31 provides wheels for CPython 3.11–3.14 on Linux
53
+ (glibc 2.28+, x86-64 or ARM64), Windows (x86-64 or ARM64), and
54
+ macOS 14+ on Apple Silicon. The standard full installation is unavailable
55
+ on Intel Macs; standalone MCP and dashboard installations do not require
56
+ the native RAG dependencies.
49
57
 
50
58
  ```bash
51
- pipx install "getbased-rag[full]"
59
+ pipx install --python python3.12 "getbased-rag[full]"
52
60
  ```
53
61
 
54
62
  Or from source:
@@ -18,4 +18,5 @@ src/lens/server.py
18
18
  src/lens/store.py
19
19
  tests/test_env_loader.py
20
20
  tests/test_onnx_embedder.py
21
- tests/test_server.py
21
+ tests/test_server.py
22
+ tests/test_version.py
@@ -0,0 +1,26 @@
1
+ fastapi>=0.143.0
2
+ uvicorn[standard]>=0.54.0
3
+ qdrant-client>=1.19.1
4
+ sentence-transformers>=6.1.0
5
+ typer>=0.27.3
6
+ pydantic>=2.0
7
+ pyyaml>=6.0
8
+ rich>=13.0
9
+ python-multipart>=0.0.32
10
+
11
+ [docx]
12
+ python-docx>=1.0
13
+
14
+ [full]
15
+ pypdf>=6.19.0
16
+ python-docx>=1.0
17
+ onnxruntime>=1.31.0
18
+ huggingface-hub>=0.20
19
+ tokenizers>=0.23.3
20
+
21
+ [pdf]
22
+ pypdf>=6.19.0
23
+
24
+ [test]
25
+ pytest>=9.1.1
26
+ httpx>=0.27
@@ -1,3 +1,3 @@
1
1
  """getbased-lens — local RAG knowledge server."""
2
2
 
3
- __version__ = "0.2.0"
3
+ __version__ = "0.8.0"
@@ -542,7 +542,7 @@ class LocalEmbedder(Embedder):
542
542
  log.info("Loading embedding model: %s …", self._model_name)
543
543
  self._model = SentenceTransformer(self._model_name)
544
544
  self._model.eval()
545
- self._dim = self._model.get_sentence_embedding_dimension()
545
+ self._dim = self._model.get_embedding_dimension()
546
546
  log.info("Model ready (dim=%d)", self._dim)
547
547
 
548
548
  # public API -------------------------------------------------------
@@ -0,0 +1,9 @@
1
+ """Release metadata consistency checks."""
2
+
3
+ from importlib.metadata import version
4
+
5
+ from lens import __version__
6
+
7
+
8
+ def test_runtime_version_matches_package_metadata() -> None:
9
+ assert __version__ == version("getbased-rag")
@@ -1,26 +0,0 @@
1
- fastapi>=0.110
2
- uvicorn[standard]>=0.29
3
- qdrant-client>=1.9
4
- sentence-transformers>=2.6
5
- typer>=0.12
6
- pydantic>=2.0
7
- pyyaml>=6.0
8
- rich>=13.0
9
- python-multipart>=0.0.31
10
-
11
- [docx]
12
- python-docx>=1.0
13
-
14
- [full]
15
- pypdf>=6.13.3
16
- python-docx>=1.0
17
- onnxruntime>=1.17
18
- huggingface-hub>=0.20
19
- tokenizers>=0.15
20
-
21
- [pdf]
22
- pypdf>=6.13.3
23
-
24
- [test]
25
- pytest>=8.0
26
- httpx>=0.27
File without changes
File without changes