cjm-graph-plugin-sqlite 0.0.5__tar.gz → 0.0.7__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 (18) hide show
  1. {cjm_graph_plugin_sqlite-0.0.5/cjm_graph_plugin_sqlite.egg-info → cjm_graph_plugin_sqlite-0.0.7}/PKG-INFO +2 -2
  2. cjm_graph_plugin_sqlite-0.0.7/cjm_graph_plugin_sqlite/__init__.py +1 -0
  3. {cjm_graph_plugin_sqlite-0.0.5 → cjm_graph_plugin_sqlite-0.0.7}/cjm_graph_plugin_sqlite/meta.py +3 -1
  4. {cjm_graph_plugin_sqlite-0.0.5 → cjm_graph_plugin_sqlite-0.0.7}/cjm_graph_plugin_sqlite/plugin.py +7 -2
  5. {cjm_graph_plugin_sqlite-0.0.5 → cjm_graph_plugin_sqlite-0.0.7/cjm_graph_plugin_sqlite.egg-info}/PKG-INFO +2 -2
  6. cjm_graph_plugin_sqlite-0.0.7/cjm_graph_plugin_sqlite.egg-info/requires.txt +1 -0
  7. {cjm_graph_plugin_sqlite-0.0.5 → cjm_graph_plugin_sqlite-0.0.7}/pyproject.toml +1 -1
  8. cjm_graph_plugin_sqlite-0.0.5/cjm_graph_plugin_sqlite/__init__.py +0 -1
  9. cjm_graph_plugin_sqlite-0.0.5/cjm_graph_plugin_sqlite.egg-info/requires.txt +0 -1
  10. {cjm_graph_plugin_sqlite-0.0.5 → cjm_graph_plugin_sqlite-0.0.7}/LICENSE +0 -0
  11. {cjm_graph_plugin_sqlite-0.0.5 → cjm_graph_plugin_sqlite-0.0.7}/MANIFEST.in +0 -0
  12. {cjm_graph_plugin_sqlite-0.0.5 → cjm_graph_plugin_sqlite-0.0.7}/README.md +0 -0
  13. {cjm_graph_plugin_sqlite-0.0.5 → cjm_graph_plugin_sqlite-0.0.7}/cjm_graph_plugin_sqlite/_modidx.py +0 -0
  14. {cjm_graph_plugin_sqlite-0.0.5 → cjm_graph_plugin_sqlite-0.0.7}/cjm_graph_plugin_sqlite.egg-info/SOURCES.txt +0 -0
  15. {cjm_graph_plugin_sqlite-0.0.5 → cjm_graph_plugin_sqlite-0.0.7}/cjm_graph_plugin_sqlite.egg-info/dependency_links.txt +0 -0
  16. {cjm_graph_plugin_sqlite-0.0.5 → cjm_graph_plugin_sqlite-0.0.7}/cjm_graph_plugin_sqlite.egg-info/entry_points.txt +0 -0
  17. {cjm_graph_plugin_sqlite-0.0.5 → cjm_graph_plugin_sqlite-0.0.7}/cjm_graph_plugin_sqlite.egg-info/top_level.txt +0 -0
  18. {cjm_graph_plugin_sqlite-0.0.5 → cjm_graph_plugin_sqlite-0.0.7}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cjm-graph-plugin-sqlite
3
- Version: 0.0.5
3
+ Version: 0.0.7
4
4
  Summary: A local, file-backed Context Graph worker for the cjm-plugin-system that implements graph storage, traversal, and querying using SQLite.
5
5
  Author-email: "Christian J. Mills" <9126128+cj-mills@users.noreply.github.com>
6
6
  License: Apache-2.0
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 3 :: Only
15
15
  Requires-Python: >=3.12
16
16
  Description-Content-Type: text/markdown
17
17
  License-File: LICENSE
18
- Requires-Dist: cjm_graph_plugin_system>=0.0.6
18
+ Requires-Dist: cjm_graph_plugin_system>=0.0.8
19
19
  Dynamic: license-file
20
20
 
21
21
  # cjm-graph-plugin-sqlite
@@ -0,0 +1 @@
1
+ __version__ = "0.0.7"
@@ -1,4 +1,6 @@
1
- """Metadata introspection for the SQLite Graph plugin used by cjm-ctl to generate the registration manifest."""
1
+ """Metadata introspection for the SQLite Graph plugin used by cjm-ctl to generate the registration manifest.
2
+
3
+ Docs: https://cj-mills.github.io/cjm-graph-plugin-sqlitemeta.html.md"""
2
4
 
3
5
  # AUTOGENERATED! DO NOT EDIT! File to edit: ../nbs/meta.ipynb.
4
6
 
@@ -1,4 +1,6 @@
1
- """Plugin implementation for Context Graph using SQLite"""
1
+ """Plugin implementation for Context Graph using SQLite
2
+
3
+ Docs: https://cj-mills.github.io/cjm-graph-plugin-sqliteplugin.html.md"""
2
4
 
3
5
  # AUTOGENERATED! DO NOT EDIT! File to edit: ../nbs/plugin.ipynb.
4
6
 
@@ -10,6 +12,7 @@ import json
10
12
  import logging
11
13
  import os
12
14
  import sqlite3
15
+ from cjm_plugin_system.core.errors import PluginInputError
13
16
  import time
14
17
  from dataclasses import dataclass, field
15
18
  from typing import Any, Dict, List, Optional, Tuple, Union
@@ -301,7 +304,9 @@ class SQLiteGraphPlugin(GraphPlugin):
301
304
  return {"status": "not_implemented", "query": str(query)}
302
305
 
303
306
  else:
304
- raise ValueError(f"Unknown action: {action}")
307
+ raise PluginInputError( # SG-47: typed input-validation
308
+ f"Unknown action: {action}", fields_invalid=["action"],
309
+ )
305
310
 
306
311
  # -------------------------------------------------------------------------
307
312
  # CREATE
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cjm-graph-plugin-sqlite
3
- Version: 0.0.5
3
+ Version: 0.0.7
4
4
  Summary: A local, file-backed Context Graph worker for the cjm-plugin-system that implements graph storage, traversal, and querying using SQLite.
5
5
  Author-email: "Christian J. Mills" <9126128+cj-mills@users.noreply.github.com>
6
6
  License: Apache-2.0
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 3 :: Only
15
15
  Requires-Python: >=3.12
16
16
  Description-Content-Type: text/markdown
17
17
  License-File: LICENSE
18
- Requires-Dist: cjm_graph_plugin_system>=0.0.6
18
+ Requires-Dist: cjm_graph_plugin_system>=0.0.8
19
19
  Dynamic: license-file
20
20
 
21
21
  # cjm-graph-plugin-sqlite
@@ -0,0 +1 @@
1
+ cjm_graph_plugin_system>=0.0.8
@@ -12,7 +12,7 @@ license = {text = "Apache-2.0"}
12
12
  authors = [{name = "Christian J. Mills", email = "9126128+cj-mills@users.noreply.github.com"}]
13
13
  keywords = ['nbdev', 'jupyter', 'notebook', 'python']
14
14
  classifiers = ["Natural Language :: English", "Intended Audience :: Developers", "Development Status :: 3 - Alpha", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3 :: Only"]
15
- dependencies = ['cjm_graph_plugin_system>=0.0.6']
15
+ dependencies = ['cjm_graph_plugin_system>=0.0.8']
16
16
 
17
17
  [project.urls]
18
18
  Repository = "https://github.com/cj-mills/cjm-graph-plugin-sqlite"
@@ -1 +0,0 @@
1
- __version__ = "0.0.5"
@@ -1 +0,0 @@
1
- cjm_graph_plugin_system>=0.0.6