trustgraph-cli 1.2.0__tar.gz → 1.2.4__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 trustgraph-cli might be problematic. Click here for more details.

Files changed (67) hide show
  1. trustgraph_cli-1.2.4/PKG-INFO +20 -0
  2. trustgraph_cli-1.2.4/pyproject.toml +85 -0
  3. trustgraph_cli-1.2.4/trustgraph/cli/__init__.py +1 -0
  4. trustgraph-cli-1.2.0/scripts/tg-add-library-document → trustgraph_cli-1.2.4/trustgraph/cli/add_library_document.py +2 -4
  5. trustgraph-cli-1.2.0/scripts/tg-delete-flow-class → trustgraph_cli-1.2.4/trustgraph/cli/delete_flow_class.py +2 -4
  6. trustgraph-cli-1.2.0/scripts/tg-delete-kg-core → trustgraph_cli-1.2.4/trustgraph/cli/delete_kg_core.py +2 -4
  7. trustgraph-cli-1.2.0/scripts/tg-delete-mcp-tool → trustgraph_cli-1.2.4/trustgraph/cli/delete_mcp_tool.py +2 -3
  8. trustgraph-cli-1.2.0/scripts/tg-delete-tool → trustgraph_cli-1.2.4/trustgraph/cli/delete_tool.py +2 -4
  9. trustgraph-cli-1.2.0/scripts/tg-dump-msgpack → trustgraph_cli-1.2.4/trustgraph/cli/dump_msgpack.py +2 -4
  10. trustgraph-cli-1.2.0/scripts/tg-get-flow-class → trustgraph_cli-1.2.4/trustgraph/cli/get_flow_class.py +2 -4
  11. trustgraph-cli-1.2.0/scripts/tg-get-kg-core → trustgraph_cli-1.2.4/trustgraph/cli/get_kg_core.py +2 -4
  12. trustgraph-cli-1.2.0/scripts/tg-graph-to-turtle → trustgraph_cli-1.2.4/trustgraph/cli/graph_to_turtle.py +2 -4
  13. trustgraph_cli-1.2.4/trustgraph/cli/init_pulsar_manager.py +11 -0
  14. trustgraph-cli-1.2.0/scripts/tg-init-trustgraph → trustgraph_cli-1.2.4/trustgraph/cli/init_trustgraph.py +2 -4
  15. trustgraph-cli-1.2.0/scripts/tg-invoke-agent → trustgraph_cli-1.2.4/trustgraph/cli/invoke_agent.py +2 -4
  16. trustgraph-cli-1.2.0/scripts/tg-invoke-document-rag → trustgraph_cli-1.2.4/trustgraph/cli/invoke_document_rag.py +2 -4
  17. trustgraph-cli-1.2.0/scripts/tg-invoke-graph-rag → trustgraph_cli-1.2.4/trustgraph/cli/invoke_graph_rag.py +2 -4
  18. trustgraph-cli-1.2.0/scripts/tg-invoke-llm → trustgraph_cli-1.2.4/trustgraph/cli/invoke_llm.py +2 -4
  19. trustgraph-cli-1.2.0/scripts/tg-invoke-mcp-tool → trustgraph_cli-1.2.4/trustgraph/cli/invoke_mcp_tool.py +2 -4
  20. trustgraph-cli-1.2.0/scripts/tg-invoke-prompt → trustgraph_cli-1.2.4/trustgraph/cli/invoke_prompt.py +2 -4
  21. trustgraph-cli-1.2.0/scripts/tg-load-doc-embeds → trustgraph_cli-1.2.4/trustgraph/cli/load_doc_embeds.py +0 -2
  22. trustgraph-cli-1.2.0/scripts/tg-load-kg-core → trustgraph_cli-1.2.4/trustgraph/cli/load_kg_core.py +2 -4
  23. trustgraph-cli-1.2.0/scripts/tg-load-pdf → trustgraph_cli-1.2.4/trustgraph/cli/load_pdf.py +2 -4
  24. trustgraph-cli-1.2.0/scripts/tg-load-sample-documents → trustgraph_cli-1.2.4/trustgraph/cli/load_sample_documents.py +2 -4
  25. trustgraph-cli-1.2.0/scripts/tg-load-text → trustgraph_cli-1.2.4/trustgraph/cli/load_text.py +2 -5
  26. trustgraph-cli-1.2.0/scripts/tg-load-turtle → trustgraph_cli-1.2.4/trustgraph/cli/load_turtle.py +2 -4
  27. trustgraph-cli-1.2.0/scripts/tg-put-flow-class → trustgraph_cli-1.2.4/trustgraph/cli/put_flow_class.py +2 -4
  28. trustgraph-cli-1.2.0/scripts/tg-put-kg-core → trustgraph_cli-1.2.4/trustgraph/cli/put_kg_core.py +2 -4
  29. trustgraph-cli-1.2.0/scripts/tg-remove-library-document → trustgraph_cli-1.2.4/trustgraph/cli/remove_library_document.py +2 -4
  30. trustgraph-cli-1.2.0/scripts/tg-save-doc-embeds → trustgraph_cli-1.2.4/trustgraph/cli/save_doc_embeds.py +0 -2
  31. trustgraph-cli-1.2.0/scripts/tg-set-mcp-tool → trustgraph_cli-1.2.4/trustgraph/cli/set_mcp_tool.py +2 -4
  32. trustgraph-cli-1.2.0/scripts/tg-set-prompt → trustgraph_cli-1.2.4/trustgraph/cli/set_prompt.py +2 -4
  33. trustgraph-cli-1.2.0/scripts/tg-set-token-costs → trustgraph_cli-1.2.4/trustgraph/cli/set_token_costs.py +2 -4
  34. trustgraph-cli-1.2.0/scripts/tg-set-tool → trustgraph_cli-1.2.4/trustgraph/cli/set_tool.py +2 -4
  35. trustgraph-cli-1.2.0/scripts/tg-show-config → trustgraph_cli-1.2.4/trustgraph/cli/show_config.py +2 -4
  36. trustgraph-cli-1.2.0/scripts/tg-show-flow-classes → trustgraph_cli-1.2.4/trustgraph/cli/show_flow_classes.py +2 -4
  37. trustgraph-cli-1.2.0/scripts/tg-show-flow-state → trustgraph_cli-1.2.4/trustgraph/cli/show_flow_state.py +2 -4
  38. trustgraph-cli-1.2.0/scripts/tg-show-flows → trustgraph_cli-1.2.4/trustgraph/cli/show_flows.py +2 -4
  39. trustgraph-cli-1.2.0/scripts/tg-show-graph → trustgraph_cli-1.2.4/trustgraph/cli/show_graph.py +2 -4
  40. trustgraph-cli-1.2.0/scripts/tg-show-kg-cores → trustgraph_cli-1.2.4/trustgraph/cli/show_kg_cores.py +2 -4
  41. trustgraph-cli-1.2.0/scripts/tg-show-library-documents → trustgraph_cli-1.2.4/trustgraph/cli/show_library_documents.py +2 -4
  42. trustgraph-cli-1.2.0/scripts/tg-show-library-processing → trustgraph_cli-1.2.4/trustgraph/cli/show_library_processing.py +2 -4
  43. trustgraph-cli-1.2.0/scripts/tg-show-mcp-tools → trustgraph_cli-1.2.4/trustgraph/cli/show_mcp_tools.py +2 -4
  44. trustgraph-cli-1.2.0/scripts/tg-show-processor-state → trustgraph_cli-1.2.4/trustgraph/cli/show_processor_state.py +2 -4
  45. trustgraph-cli-1.2.0/scripts/tg-show-prompts → trustgraph_cli-1.2.4/trustgraph/cli/show_prompts.py +2 -4
  46. trustgraph-cli-1.2.0/scripts/tg-show-token-costs → trustgraph_cli-1.2.4/trustgraph/cli/show_token_costs.py +2 -4
  47. trustgraph-cli-1.2.0/scripts/tg-show-token-rate → trustgraph_cli-1.2.4/trustgraph/cli/show_token_rate.py +2 -4
  48. trustgraph-cli-1.2.0/scripts/tg-show-tools → trustgraph_cli-1.2.4/trustgraph/cli/show_tools.py +2 -4
  49. trustgraph-cli-1.2.0/scripts/tg-start-flow → trustgraph_cli-1.2.4/trustgraph/cli/start_flow.py +2 -4
  50. trustgraph-cli-1.2.0/scripts/tg-start-library-processing → trustgraph_cli-1.2.4/trustgraph/cli/start_library_processing.py +2 -4
  51. trustgraph-cli-1.2.0/scripts/tg-stop-flow → trustgraph_cli-1.2.4/trustgraph/cli/stop_flow.py +2 -4
  52. trustgraph-cli-1.2.0/scripts/tg-stop-library-processing → trustgraph_cli-1.2.4/trustgraph/cli/stop_library_processing.py +2 -4
  53. trustgraph-cli-1.2.0/scripts/tg-unload-kg-core → trustgraph_cli-1.2.4/trustgraph/cli/unload_kg_core.py +2 -4
  54. trustgraph_cli-1.2.4/trustgraph/cli_version.py +1 -0
  55. trustgraph_cli-1.2.4/trustgraph_cli.egg-info/PKG-INFO +20 -0
  56. trustgraph_cli-1.2.4/trustgraph_cli.egg-info/SOURCES.txt +60 -0
  57. trustgraph_cli-1.2.4/trustgraph_cli.egg-info/entry_points.txt +50 -0
  58. {trustgraph-cli-1.2.0 → trustgraph_cli-1.2.4}/trustgraph_cli.egg-info/top_level.txt +0 -1
  59. trustgraph-cli-1.2.0/PKG-INFO +0 -15
  60. trustgraph-cli-1.2.0/setup.py +0 -97
  61. trustgraph-cli-1.2.0/trustgraph/cli_version.py +0 -1
  62. trustgraph-cli-1.2.0/trustgraph_cli.egg-info/PKG-INFO +0 -15
  63. trustgraph-cli-1.2.0/trustgraph_cli.egg-info/SOURCES.txt +0 -57
  64. {trustgraph-cli-1.2.0 → trustgraph_cli-1.2.4}/README.md +0 -0
  65. {trustgraph-cli-1.2.0 → trustgraph_cli-1.2.4}/setup.cfg +0 -0
  66. {trustgraph-cli-1.2.0 → trustgraph_cli-1.2.4}/trustgraph_cli.egg-info/dependency_links.txt +0 -0
  67. {trustgraph-cli-1.2.0 → trustgraph_cli-1.2.4}/trustgraph_cli.egg-info/requires.txt +4 -4
@@ -0,0 +1,20 @@
1
+ Metadata-Version: 2.4
2
+ Name: trustgraph-cli
3
+ Version: 1.2.4
4
+ Summary: TrustGraph provides a means to run a pipeline of flexible AI processing components in a flexible means to achieve a processing pipeline.
5
+ Author-email: "trustgraph.ai" <security@trustgraph.ai>
6
+ Project-URL: Homepage, https://github.com/trustgraph-ai/trustgraph
7
+ Classifier: Programming Language :: Python :: 3
8
+ Classifier: Operating System :: OS Independent
9
+ Requires-Python: >=3.8
10
+ Description-Content-Type: text/markdown
11
+ Requires-Dist: trustgraph-base<1.3,>=1.2
12
+ Requires-Dist: requests
13
+ Requires-Dist: pulsar-client
14
+ Requires-Dist: aiohttp
15
+ Requires-Dist: rdflib
16
+ Requires-Dist: tabulate
17
+ Requires-Dist: msgpack
18
+ Requires-Dist: websockets
19
+
20
+ See https://trustgraph.ai/
@@ -0,0 +1,85 @@
1
+ [build-system]
2
+ requires = ["setuptools>=61.0", "wheel"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "trustgraph-cli"
7
+ dynamic = ["version"]
8
+ authors = [{name = "trustgraph.ai", email = "security@trustgraph.ai"}]
9
+ description = "TrustGraph provides a means to run a pipeline of flexible AI processing components in a flexible means to achieve a processing pipeline."
10
+ readme = "README.md"
11
+ requires-python = ">=3.8"
12
+ dependencies = [
13
+ "trustgraph-base>=1.2,<1.3",
14
+ "requests",
15
+ "pulsar-client",
16
+ "aiohttp",
17
+ "rdflib",
18
+ "tabulate",
19
+ "msgpack",
20
+ "websockets",
21
+ ]
22
+ classifiers = [
23
+ "Programming Language :: Python :: 3",
24
+ "Operating System :: OS Independent",
25
+ ]
26
+
27
+ [project.urls]
28
+ Homepage = "https://github.com/trustgraph-ai/trustgraph"
29
+
30
+ [project.scripts]
31
+ tg-add-library-document = "trustgraph.cli.add_library_document:main"
32
+ tg-delete-flow-class = "trustgraph.cli.delete_flow_class:main"
33
+ tg-delete-mcp-tool = "trustgraph.cli.delete_mcp_tool:main"
34
+ tg-delete-kg-core = "trustgraph.cli.delete_kg_core:main"
35
+ tg-delete-tool = "trustgraph.cli.delete_tool:main"
36
+ tg-dump-msgpack = "trustgraph.cli.dump_msgpack:main"
37
+ tg-get-flow-class = "trustgraph.cli.get_flow_class:main"
38
+ tg-get-kg-core = "trustgraph.cli.get_kg_core:main"
39
+ tg-graph-to-turtle = "trustgraph.cli.graph_to_turtle:main"
40
+ tg-init-trustgraph = "trustgraph.cli.init_trustgraph:main"
41
+ tg-invoke-agent = "trustgraph.cli.invoke_agent:main"
42
+ tg-invoke-document-rag = "trustgraph.cli.invoke_document_rag:main"
43
+ tg-invoke-graph-rag = "trustgraph.cli.invoke_graph_rag:main"
44
+ tg-invoke-llm = "trustgraph.cli.invoke_llm:main"
45
+ tg-invoke-mcp-tool = "trustgraph.cli.invoke_mcp_tool:main"
46
+ tg-invoke-prompt = "trustgraph.cli.invoke_prompt:main"
47
+ tg-load-doc-embeds = "trustgraph.cli.load_doc_embeds:main"
48
+ tg-load-kg-core = "trustgraph.cli.load_kg_core:main"
49
+ tg-load-pdf = "trustgraph.cli.load_pdf:main"
50
+ tg-load-sample-documents = "trustgraph.cli.load_sample_documents:main"
51
+ tg-load-text = "trustgraph.cli.load_text:main"
52
+ tg-load-turtle = "trustgraph.cli.load_turtle:main"
53
+ tg-put-flow-class = "trustgraph.cli.put_flow_class:main"
54
+ tg-put-kg-core = "trustgraph.cli.put_kg_core:main"
55
+ tg-remove-library-document = "trustgraph.cli.remove_library_document:main"
56
+ tg-save-doc-embeds = "trustgraph.cli.save_doc_embeds:main"
57
+ tg-set-mcp-tool = "trustgraph.cli.set_mcp_tool:main"
58
+ tg-set-prompt = "trustgraph.cli.set_prompt:main"
59
+ tg-set-token-costs = "trustgraph.cli.set_token_costs:main"
60
+ tg-set-tool = "trustgraph.cli.set_tool:main"
61
+ tg-show-config = "trustgraph.cli.show_config:main"
62
+ tg-show-flow-classes = "trustgraph.cli.show_flow_classes:main"
63
+ tg-show-flow-state = "trustgraph.cli.show_flow_state:main"
64
+ tg-show-flows = "trustgraph.cli.show_flows:main"
65
+ tg-show-graph = "trustgraph.cli.show_graph:main"
66
+ tg-show-kg-cores = "trustgraph.cli.show_kg_cores:main"
67
+ tg-show-library-documents = "trustgraph.cli.show_library_documents:main"
68
+ tg-show-library-processing = "trustgraph.cli.show_library_processing:main"
69
+ tg-show-mcp-tools = "trustgraph.cli.show_mcp_tools:main"
70
+ tg-show-processor-state = "trustgraph.cli.show_processor_state:main"
71
+ tg-show-prompts = "trustgraph.cli.show_prompts:main"
72
+ tg-show-token-costs = "trustgraph.cli.show_token_costs:main"
73
+ tg-show-token-rate = "trustgraph.cli.show_token_rate:main"
74
+ tg-show-tools = "trustgraph.cli.show_tools:main"
75
+ tg-start-flow = "trustgraph.cli.start_flow:main"
76
+ tg-unload-kg-core = "trustgraph.cli.unload_kg_core:main"
77
+ tg-start-library-processing = "trustgraph.cli.start_library_processing:main"
78
+ tg-stop-flow = "trustgraph.cli.stop_flow:main"
79
+ tg-stop-library-processing = "trustgraph.cli.stop_library_processing:main"
80
+
81
+ [tool.setuptools.packages.find]
82
+ include = ["trustgraph*"]
83
+
84
+ [tool.setuptools.dynamic]
85
+ version = {attr = "trustgraph.cli_version.__version__"}
@@ -0,0 +1 @@
1
+ # TrustGraph CLI modules
@@ -1,5 +1,3 @@
1
- #!/usr/bin/env python3
2
-
3
1
  """
4
2
  Loads a document into the library
5
3
  """
@@ -202,5 +200,5 @@ def main():
202
200
 
203
201
  print("Exception:", e, flush=True)
204
202
 
205
- main()
206
-
203
+ if __name__ == "__main__":
204
+ main()
@@ -1,5 +1,3 @@
1
- #!/usr/bin/env python3
2
-
3
1
  """
4
2
  Deletes a flow class
5
3
  """
@@ -49,5 +47,5 @@ def main():
49
47
 
50
48
  print("Exception:", e, flush=True)
51
49
 
52
- main()
53
-
50
+ if __name__ == "__main__":
51
+ main()
@@ -1,5 +1,3 @@
1
- #!/usr/bin/env python3
2
-
3
1
  """
4
2
  Deletes a flow class
5
3
  """
@@ -57,5 +55,5 @@ def main():
57
55
 
58
56
  print("Exception:", e, flush=True)
59
57
 
60
- main()
61
-
58
+ if __name__ == "__main__":
59
+ main()
@@ -1,5 +1,3 @@
1
- #!/usr/bin/env python3
2
-
3
1
  """
4
2
  Deletes MCP (Model Control Protocol) tools from the TrustGraph system.
5
3
  Removes MCP tool configurations by ID from the 'mcp' configuration group.
@@ -91,4 +89,5 @@ def main():
91
89
 
92
90
  print("Exception:", e, flush=True)
93
91
 
94
- main()
92
+ if __name__ == "__main__":
93
+ main()
@@ -1,5 +1,3 @@
1
- #!/usr/bin/env python3
2
-
3
1
  """
4
2
  Deletes tools from the TrustGraph system.
5
3
  Removes tool configurations by ID from the agent configuration
@@ -96,5 +94,5 @@ def main():
96
94
 
97
95
  print("Exception:", e, flush=True)
98
96
 
99
- main()
100
-
97
+ if __name__ == "__main__":
98
+ main()
@@ -1,5 +1,3 @@
1
- #!/usr/bin/env python3
2
-
3
1
  """
4
2
  This utility reads a knowledge core in msgpack format and outputs its
5
3
  contents in JSON form to standard output. This is useful only as a
@@ -89,5 +87,5 @@ def main():
89
87
  else:
90
88
  dump(**vars(args))
91
89
 
92
- main()
93
-
90
+ if __name__ == "__main__":
91
+ main()
@@ -1,5 +1,3 @@
1
- #!/usr/bin/env python3
2
-
3
1
  """
4
2
  Outputs a flow class definition in JSON format.
5
3
  """
@@ -52,5 +50,5 @@ def main():
52
50
 
53
51
  print("Exception:", e, flush=True)
54
52
 
55
- main()
56
-
53
+ if __name__ == "__main__":
54
+ main()
@@ -1,5 +1,3 @@
1
- #!/usr/bin/env python3
2
-
3
1
  """
4
2
  Uses the knowledge service to fetch a knowledge core which is saved
5
3
  to a local file in msgpack format.
@@ -157,5 +155,5 @@ def main():
157
155
 
158
156
  print("Exception:", e, flush=True)
159
157
 
160
- main()
161
-
158
+ if __name__ == "__main__":
159
+ main()
@@ -1,5 +1,3 @@
1
- #!/usr/bin/env python3
2
-
3
1
  """
4
2
  Connects to the graph query service and dumps all graph edges in Turtle
5
3
  format.
@@ -102,5 +100,5 @@ def main():
102
100
 
103
101
  print("Exception:", e, flush=True)
104
102
 
105
- main()
106
-
103
+ if __name__ == "__main__":
104
+ main()
@@ -0,0 +1,11 @@
1
+ #!/usr/bin/env bash
2
+
3
+ CSRF_TOKEN=$(curl http://localhost:7750/pulsar-manager/csrf-token)
4
+
5
+ curl \
6
+ -H "X-XSRF-TOKEN: $CSRF_TOKEN" \
7
+ -H "Cookie: XSRF-TOKEN=$CSRF_TOKEN;" \
8
+ -H 'Content-Type: application/json' \
9
+ -X PUT \
10
+ http://localhost:7750/pulsar-manager/users/superuser \
11
+ -d '{"name": "admin", "password": "apachepulsar", "description": "test", "email": "username@test.org"}'
@@ -1,5 +1,3 @@
1
- #!/usr/bin/env python3
2
-
3
1
  """
4
2
  Initialises Pulsar with Trustgraph tenant / namespaces & policy.
5
3
  """
@@ -237,5 +235,5 @@ def main():
237
235
  time.sleep(2)
238
236
  print("Will retry...", flush=True)
239
237
 
240
- main()
241
-
238
+ if __name__ == "__main__":
239
+ main()
@@ -1,5 +1,3 @@
1
- #!/usr/bin/env python3
2
-
3
1
  """
4
2
  Uses the agent service to answer a question
5
3
  """
@@ -169,5 +167,5 @@ def main():
169
167
 
170
168
  print("Exception:", e, flush=True)
171
169
 
172
- main()
173
-
170
+ if __name__ == "__main__":
171
+ main()
@@ -1,5 +1,3 @@
1
- #!/usr/bin/env python3
2
-
3
1
  """
4
2
  Uses the DocumentRAG service to answer a question
5
3
  """
@@ -84,5 +82,5 @@ def main():
84
82
 
85
83
  print("Exception:", e, flush=True)
86
84
 
87
- main()
88
-
85
+ if __name__ == "__main__":
86
+ main()
@@ -1,5 +1,3 @@
1
- #!/usr/bin/env python3
2
-
3
1
  """
4
2
  Uses the GraphRAG service to answer a question
5
3
  """
@@ -113,5 +111,5 @@ def main():
113
111
 
114
112
  print("Exception:", e, flush=True)
115
113
 
116
- main()
117
-
114
+ if __name__ == "__main__":
115
+ main()
@@ -1,5 +1,3 @@
1
- #!/usr/bin/env python3
2
-
3
1
  """
4
2
  Invokes the text completion service by specifying an LLM system prompt
5
3
  and user prompt. Both arguments are required.
@@ -66,5 +64,5 @@ def main():
66
64
 
67
65
  print("Exception:", e, flush=True)
68
66
 
69
- main()
70
-
67
+ if __name__ == "__main__":
68
+ main()
@@ -1,5 +1,3 @@
1
- #!/usr/bin/env python3
2
-
3
1
  """
4
2
  Invokes MCP (Model Control Protocol) tools through the TrustGraph API.
5
3
  Allows calling MCP tools by specifying the tool name and providing
@@ -76,5 +74,5 @@ def main():
76
74
 
77
75
  print("Exception:", e, flush=True)
78
76
 
79
- main()
80
-
77
+ if __name__ == "__main__":
78
+ main()
@@ -1,5 +1,3 @@
1
- #!/usr/bin/env python3
2
-
3
1
  """
4
2
  Invokes the LLM prompt service by specifying the prompt template to use
5
3
  and values for the variables in the prompt template. The
@@ -86,5 +84,5 @@ specified multiple times''',
86
84
 
87
85
  print("Exception:", e, flush=True)
88
86
 
89
- main()
90
-
87
+ if __name__ == "__main__":
88
+ main()
@@ -1,5 +1,3 @@
1
- #!/usr/bin/env python3
2
-
3
1
  """
4
2
  This utility takes a document embeddings core and loads it into a running
5
3
  TrustGraph through the API. The document embeddings core should be in msgpack
@@ -1,5 +1,3 @@
1
- #!/usr/bin/env python3
2
-
3
1
  """
4
2
  Starts a load operation on a knowledge core which is already stored by
5
3
  the knowledge manager. You could load a core with tg-put-kg-core and then
@@ -76,5 +74,5 @@ def main():
76
74
 
77
75
  print("Exception:", e, flush=True)
78
76
 
79
- main()
80
-
77
+ if __name__ == "__main__":
78
+ main()
@@ -1,5 +1,3 @@
1
- #!/usr/bin/env python3
2
-
3
1
  """
4
2
  Loads a PDF document into TrustGraph processing by directing to
5
3
  the pdf-decoder queue.
@@ -198,5 +196,5 @@ def main():
198
196
 
199
197
  print("Exception:", e, flush=True)
200
198
 
201
- main()
202
-
199
+ if __name__ == "__main__":
200
+ main()
@@ -1,5 +1,3 @@
1
- #!/usr/bin/env python3
2
-
3
1
  """
4
2
  Loads a PDF document into the library
5
3
  """
@@ -737,5 +735,5 @@ def main():
737
735
  print("Exception:", e, flush=True)
738
736
  raise e
739
737
 
740
- main()
741
-
738
+ if __name__ == "__main__":
739
+ main()
@@ -1,5 +1,3 @@
1
- #!/usr/bin/env python3
2
-
3
1
  """
4
2
  Loads a text document into TrustGraph processing by directing to a text
5
3
  loader queue.
@@ -203,6 +201,5 @@ def main():
203
201
 
204
202
  print("Exception:", e, flush=True)
205
203
 
206
- main()
207
-
208
-
204
+ if __name__ == "__main__":
205
+ main()
@@ -1,5 +1,3 @@
1
- #!/usr/bin/env python3
2
-
3
1
  """
4
2
  Loads triples into the knowledge graph.
5
3
  """
@@ -157,5 +155,5 @@ def main():
157
155
 
158
156
  time.sleep(10)
159
157
 
160
- main()
161
-
158
+ if __name__ == "__main__":
159
+ main()
@@ -1,5 +1,3 @@
1
- #!/usr/bin/env python3
2
-
3
1
  """
4
2
  Uploads a flow class definition. You can take the output of
5
3
  tg-get-flow-class and load it back in using this utility.
@@ -55,5 +53,5 @@ def main():
55
53
 
56
54
  print("Exception:", e, flush=True)
57
55
 
58
- main()
59
-
56
+ if __name__ == "__main__":
57
+ main()
@@ -1,5 +1,3 @@
1
- #!/usr/bin/env python3
2
-
3
1
  """
4
2
  Uses the agent service to answer a question
5
3
  """
@@ -179,5 +177,5 @@ def main():
179
177
 
180
178
  print("Exception:", e, flush=True)
181
179
 
182
- main()
183
-
180
+ if __name__ == "__main__":
181
+ main()
@@ -1,5 +1,3 @@
1
- #!/usr/bin/env python3
2
-
3
1
  """
4
2
  Remove a document from the library
5
3
  """
@@ -55,5 +53,5 @@ def main():
55
53
 
56
54
  print("Exception:", e, flush=True)
57
55
 
58
- main()
59
-
56
+ if __name__ == "__main__":
57
+ main()
@@ -1,5 +1,3 @@
1
- #!/usr/bin/env python3
2
-
3
1
  """
4
2
  This utility connects to a running TrustGraph through the API and creates
5
3
  a document embeddings core from the data streaming through the processing
@@ -1,5 +1,3 @@
1
- #!/usr/bin/env python3
2
-
3
1
  """
4
2
  Configures and registers MCP (Model Context Protocol) tools in the
5
3
  TrustGraph system.
@@ -107,5 +105,5 @@ def main():
107
105
 
108
106
  print("Exception:", e, flush=True)
109
107
 
110
- main()
111
-
108
+ if __name__ == "__main__":
109
+ main()
@@ -1,5 +1,3 @@
1
- #!/usr/bin/env python3
2
-
3
1
  """
4
2
  Sets a prompt template.
5
3
  """
@@ -139,5 +137,5 @@ def main():
139
137
 
140
138
  print("Exception:", e, flush=True)
141
139
 
142
- main()
143
-
140
+ if __name__ == "__main__":
141
+ main()
@@ -1,5 +1,3 @@
1
- #!/usr/bin/env python3
2
-
3
1
  """
4
2
  Sets a model's token costs.
5
3
  """
@@ -107,5 +105,5 @@ def main():
107
105
 
108
106
  print("Exception:", e, flush=True)
109
107
 
110
- main()
111
-
108
+ if __name__ == "__main__":
109
+ main()
@@ -1,5 +1,3 @@
1
- #!/usr/bin/env python3
2
-
3
1
  """
4
2
  Configures and registers tools in the TrustGraph system.
5
3
 
@@ -222,5 +220,5 @@ def main():
222
220
 
223
221
  print("Exception:", e, flush=True)
224
222
 
225
- main()
226
-
223
+ if __name__ == "__main__":
224
+ main()
@@ -1,5 +1,3 @@
1
- #!/usr/bin/env python3
2
-
3
1
  """
4
2
  Dumps out the current configuration
5
3
  """
@@ -45,5 +43,5 @@ def main():
45
43
 
46
44
  print("Exception:", e, flush=True)
47
45
 
48
- main()
49
-
46
+ if __name__ == "__main__":
47
+ main()
@@ -1,5 +1,3 @@
1
- #!/usr/bin/env python3
2
-
3
1
  """
4
2
  Shows all defined flow classes.
5
3
  """
@@ -65,5 +63,5 @@ def main():
65
63
 
66
64
  print("Exception:", e, flush=True)
67
65
 
68
- main()
69
-
66
+ if __name__ == "__main__":
67
+ main()
@@ -1,5 +1,3 @@
1
- #!/usr/bin/env python3
2
-
3
1
  """
4
2
  Dump out a flow's processor states
5
3
  """
@@ -89,5 +87,5 @@ def main():
89
87
 
90
88
  print("Exception:", e, flush=True)
91
89
 
92
- main()
93
-
90
+ if __name__ == "__main__":
91
+ main()
@@ -1,5 +1,3 @@
1
- #!/usr/bin/env python3
2
-
3
1
  """
4
2
  Shows configured flows.
5
3
  """
@@ -110,5 +108,5 @@ def main():
110
108
 
111
109
  print("Exception:", e, flush=True)
112
110
 
113
- main()
114
-
111
+ if __name__ == "__main__":
112
+ main()
@@ -1,5 +1,3 @@
1
- #!/usr/bin/env python3
2
-
3
1
  """
4
2
  Connects to the graph query service and dumps all graph edges.
5
3
  """
@@ -70,5 +68,5 @@ def main():
70
68
 
71
69
  print("Exception:", e, flush=True)
72
70
 
73
- main()
74
-
71
+ if __name__ == "__main__":
72
+ main()
@@ -1,5 +1,3 @@
1
- #!/usr/bin/env python3
2
-
3
1
  """
4
2
  Shows knowledge cores
5
3
  """
@@ -55,5 +53,5 @@ def main():
55
53
 
56
54
  print("Exception:", e, flush=True)
57
55
 
58
- main()
59
-
56
+ if __name__ == "__main__":
57
+ main()
@@ -1,5 +1,3 @@
1
- #!/usr/bin/env python3
2
-
3
1
  """
4
2
  Shows all loaded library documents
5
3
  """
@@ -72,5 +70,5 @@ def main():
72
70
 
73
71
  print("Exception:", e, flush=True)
74
72
 
75
- main()
76
-
73
+ if __name__ == "__main__":
74
+ main()
@@ -1,5 +1,3 @@
1
- #!/usr/bin/env python3
2
-
3
1
  """
4
2
  """
5
3
 
@@ -71,5 +69,5 @@ def main():
71
69
 
72
70
  print("Exception:", e, flush=True)
73
71
 
74
- main()
75
-
72
+ if __name__ == "__main__":
73
+ main()
@@ -1,5 +1,3 @@
1
- #!/usr/bin/env python3
2
-
3
1
  """
4
2
  Displays the current MCP (Model Context Protocol) tool configuration
5
3
  """
@@ -65,5 +63,5 @@ def main():
65
63
 
66
64
  print("Exception:", e, flush=True)
67
65
 
68
- main()
69
-
66
+ if __name__ == "__main__":
67
+ main()
@@ -1,5 +1,3 @@
1
- #!/usr/bin/env python3
2
-
3
1
  """
4
2
  Dump out TrustGraph processor states.
5
3
  """
@@ -51,5 +49,5 @@ def main():
51
49
 
52
50
  print("Exception:", e, flush=True)
53
51
 
54
- main()
55
-
52
+ if __name__ == "__main__":
53
+ main()
@@ -1,5 +1,3 @@
1
- #!/usr/bin/env python3
2
-
3
1
  """
4
2
  Dumps out the current prompts
5
3
  """
@@ -92,5 +90,5 @@ def main():
92
90
 
93
91
  print("Exception:", e, flush=True)
94
92
 
95
- main()
96
-
93
+ if __name__ == "__main__":
94
+ main()
@@ -1,5 +1,3 @@
1
- #!/usr/bin/env python3
2
-
3
1
  """
4
2
  Dumps out token cost configuration
5
3
  """
@@ -75,5 +73,5 @@ def main():
75
73
 
76
74
  print("Exception:", e, flush=True)
77
75
 
78
- main()
79
-
76
+ if __name__ == "__main__":
77
+ main()
@@ -1,5 +1,3 @@
1
- #!/usr/bin/env python3
2
-
3
1
  """
4
2
  Dump out a stream of token rates, input, output and total. This is averaged
5
3
  across the time since tg-show-token-rate is started.
@@ -105,5 +103,5 @@ def main():
105
103
 
106
104
  print("Exception:", e, flush=True)
107
105
 
108
- main()
109
-
106
+ if __name__ == "__main__":
107
+ main()
@@ -1,5 +1,3 @@
1
- #!/usr/bin/env python3
2
-
3
1
  """
4
2
  Displays the current agent tool configurations
5
3
 
@@ -89,5 +87,5 @@ def main():
89
87
 
90
88
  print("Exception:", e, flush=True)
91
89
 
92
- main()
93
-
90
+ if __name__ == "__main__":
91
+ main()
@@ -1,5 +1,3 @@
1
- #!/usr/bin/env python3
2
-
3
1
  """
4
2
  Starts a processing flow using a defined flow class
5
3
  """
@@ -68,5 +66,5 @@ def main():
68
66
 
69
67
  print("Exception:", e, flush=True)
70
68
 
71
- main()
72
-
69
+ if __name__ == "__main__":
70
+ main()
@@ -1,5 +1,3 @@
1
- #!/usr/bin/env python3
2
-
3
1
  """
4
2
  Submits a library document for processing
5
3
  """
@@ -99,5 +97,5 @@ def main():
99
97
 
100
98
  print("Exception:", e, flush=True)
101
99
 
102
- main()
103
-
100
+ if __name__ == "__main__":
101
+ main()
@@ -1,5 +1,3 @@
1
- #!/usr/bin/env python3
2
-
3
1
  """
4
2
  Stops a processing flow.
5
3
  """
@@ -50,5 +48,5 @@ def main():
50
48
 
51
49
  print("Exception:", e, flush=True)
52
50
 
53
- main()
54
-
51
+ if __name__ == "__main__":
52
+ main()
@@ -1,5 +1,3 @@
1
- #!/usr/bin/env python3
2
-
3
1
  """
4
2
  Removes a library document processing record. This is just a record of
5
3
  procesing, it doesn't stop in-flight processing at the moment.
@@ -61,5 +59,5 @@ def main():
61
59
 
62
60
  print("Exception:", e, flush=True)
63
61
 
64
- main()
65
-
62
+ if __name__ == "__main__":
63
+ main()
@@ -1,5 +1,3 @@
1
- #!/usr/bin/env python3
2
-
3
1
  """
4
2
  Starts a load operation on a knowledge core which is already stored by
5
3
  the knowledge manager. You could load a core with tg-put-kg-core and then
@@ -68,5 +66,5 @@ def main():
68
66
 
69
67
  print("Exception:", e, flush=True)
70
68
 
71
- main()
72
-
69
+ if __name__ == "__main__":
70
+ main()
@@ -0,0 +1 @@
1
+ __version__ = "1.2.4"
@@ -0,0 +1,20 @@
1
+ Metadata-Version: 2.4
2
+ Name: trustgraph-cli
3
+ Version: 1.2.4
4
+ Summary: TrustGraph provides a means to run a pipeline of flexible AI processing components in a flexible means to achieve a processing pipeline.
5
+ Author-email: "trustgraph.ai" <security@trustgraph.ai>
6
+ Project-URL: Homepage, https://github.com/trustgraph-ai/trustgraph
7
+ Classifier: Programming Language :: Python :: 3
8
+ Classifier: Operating System :: OS Independent
9
+ Requires-Python: >=3.8
10
+ Description-Content-Type: text/markdown
11
+ Requires-Dist: trustgraph-base<1.3,>=1.2
12
+ Requires-Dist: requests
13
+ Requires-Dist: pulsar-client
14
+ Requires-Dist: aiohttp
15
+ Requires-Dist: rdflib
16
+ Requires-Dist: tabulate
17
+ Requires-Dist: msgpack
18
+ Requires-Dist: websockets
19
+
20
+ See https://trustgraph.ai/
@@ -0,0 +1,60 @@
1
+ README.md
2
+ pyproject.toml
3
+ trustgraph/cli_version.py
4
+ trustgraph/cli/__init__.py
5
+ trustgraph/cli/add_library_document.py
6
+ trustgraph/cli/delete_flow_class.py
7
+ trustgraph/cli/delete_kg_core.py
8
+ trustgraph/cli/delete_mcp_tool.py
9
+ trustgraph/cli/delete_tool.py
10
+ trustgraph/cli/dump_msgpack.py
11
+ trustgraph/cli/get_flow_class.py
12
+ trustgraph/cli/get_kg_core.py
13
+ trustgraph/cli/graph_to_turtle.py
14
+ trustgraph/cli/init_pulsar_manager.py
15
+ trustgraph/cli/init_trustgraph.py
16
+ trustgraph/cli/invoke_agent.py
17
+ trustgraph/cli/invoke_document_rag.py
18
+ trustgraph/cli/invoke_graph_rag.py
19
+ trustgraph/cli/invoke_llm.py
20
+ trustgraph/cli/invoke_mcp_tool.py
21
+ trustgraph/cli/invoke_prompt.py
22
+ trustgraph/cli/load_doc_embeds.py
23
+ trustgraph/cli/load_kg_core.py
24
+ trustgraph/cli/load_pdf.py
25
+ trustgraph/cli/load_sample_documents.py
26
+ trustgraph/cli/load_text.py
27
+ trustgraph/cli/load_turtle.py
28
+ trustgraph/cli/put_flow_class.py
29
+ trustgraph/cli/put_kg_core.py
30
+ trustgraph/cli/remove_library_document.py
31
+ trustgraph/cli/save_doc_embeds.py
32
+ trustgraph/cli/set_mcp_tool.py
33
+ trustgraph/cli/set_prompt.py
34
+ trustgraph/cli/set_token_costs.py
35
+ trustgraph/cli/set_tool.py
36
+ trustgraph/cli/show_config.py
37
+ trustgraph/cli/show_flow_classes.py
38
+ trustgraph/cli/show_flow_state.py
39
+ trustgraph/cli/show_flows.py
40
+ trustgraph/cli/show_graph.py
41
+ trustgraph/cli/show_kg_cores.py
42
+ trustgraph/cli/show_library_documents.py
43
+ trustgraph/cli/show_library_processing.py
44
+ trustgraph/cli/show_mcp_tools.py
45
+ trustgraph/cli/show_processor_state.py
46
+ trustgraph/cli/show_prompts.py
47
+ trustgraph/cli/show_token_costs.py
48
+ trustgraph/cli/show_token_rate.py
49
+ trustgraph/cli/show_tools.py
50
+ trustgraph/cli/start_flow.py
51
+ trustgraph/cli/start_library_processing.py
52
+ trustgraph/cli/stop_flow.py
53
+ trustgraph/cli/stop_library_processing.py
54
+ trustgraph/cli/unload_kg_core.py
55
+ trustgraph_cli.egg-info/PKG-INFO
56
+ trustgraph_cli.egg-info/SOURCES.txt
57
+ trustgraph_cli.egg-info/dependency_links.txt
58
+ trustgraph_cli.egg-info/entry_points.txt
59
+ trustgraph_cli.egg-info/requires.txt
60
+ trustgraph_cli.egg-info/top_level.txt
@@ -0,0 +1,50 @@
1
+ [console_scripts]
2
+ tg-add-library-document = trustgraph.cli.add_library_document:main
3
+ tg-delete-flow-class = trustgraph.cli.delete_flow_class:main
4
+ tg-delete-kg-core = trustgraph.cli.delete_kg_core:main
5
+ tg-delete-mcp-tool = trustgraph.cli.delete_mcp_tool:main
6
+ tg-delete-tool = trustgraph.cli.delete_tool:main
7
+ tg-dump-msgpack = trustgraph.cli.dump_msgpack:main
8
+ tg-get-flow-class = trustgraph.cli.get_flow_class:main
9
+ tg-get-kg-core = trustgraph.cli.get_kg_core:main
10
+ tg-graph-to-turtle = trustgraph.cli.graph_to_turtle:main
11
+ tg-init-trustgraph = trustgraph.cli.init_trustgraph:main
12
+ tg-invoke-agent = trustgraph.cli.invoke_agent:main
13
+ tg-invoke-document-rag = trustgraph.cli.invoke_document_rag:main
14
+ tg-invoke-graph-rag = trustgraph.cli.invoke_graph_rag:main
15
+ tg-invoke-llm = trustgraph.cli.invoke_llm:main
16
+ tg-invoke-mcp-tool = trustgraph.cli.invoke_mcp_tool:main
17
+ tg-invoke-prompt = trustgraph.cli.invoke_prompt:main
18
+ tg-load-doc-embeds = trustgraph.cli.load_doc_embeds:main
19
+ tg-load-kg-core = trustgraph.cli.load_kg_core:main
20
+ tg-load-pdf = trustgraph.cli.load_pdf:main
21
+ tg-load-sample-documents = trustgraph.cli.load_sample_documents:main
22
+ tg-load-text = trustgraph.cli.load_text:main
23
+ tg-load-turtle = trustgraph.cli.load_turtle:main
24
+ tg-put-flow-class = trustgraph.cli.put_flow_class:main
25
+ tg-put-kg-core = trustgraph.cli.put_kg_core:main
26
+ tg-remove-library-document = trustgraph.cli.remove_library_document:main
27
+ tg-save-doc-embeds = trustgraph.cli.save_doc_embeds:main
28
+ tg-set-mcp-tool = trustgraph.cli.set_mcp_tool:main
29
+ tg-set-prompt = trustgraph.cli.set_prompt:main
30
+ tg-set-token-costs = trustgraph.cli.set_token_costs:main
31
+ tg-set-tool = trustgraph.cli.set_tool:main
32
+ tg-show-config = trustgraph.cli.show_config:main
33
+ tg-show-flow-classes = trustgraph.cli.show_flow_classes:main
34
+ tg-show-flow-state = trustgraph.cli.show_flow_state:main
35
+ tg-show-flows = trustgraph.cli.show_flows:main
36
+ tg-show-graph = trustgraph.cli.show_graph:main
37
+ tg-show-kg-cores = trustgraph.cli.show_kg_cores:main
38
+ tg-show-library-documents = trustgraph.cli.show_library_documents:main
39
+ tg-show-library-processing = trustgraph.cli.show_library_processing:main
40
+ tg-show-mcp-tools = trustgraph.cli.show_mcp_tools:main
41
+ tg-show-processor-state = trustgraph.cli.show_processor_state:main
42
+ tg-show-prompts = trustgraph.cli.show_prompts:main
43
+ tg-show-token-costs = trustgraph.cli.show_token_costs:main
44
+ tg-show-token-rate = trustgraph.cli.show_token_rate:main
45
+ tg-show-tools = trustgraph.cli.show_tools:main
46
+ tg-start-flow = trustgraph.cli.start_flow:main
47
+ tg-start-library-processing = trustgraph.cli.start_library_processing:main
48
+ tg-stop-flow = trustgraph.cli.stop_flow:main
49
+ tg-stop-library-processing = trustgraph.cli.stop_library_processing:main
50
+ tg-unload-kg-core = trustgraph.cli.unload_kg_core:main
@@ -1,15 +0,0 @@
1
- Metadata-Version: 2.1
2
- Name: trustgraph-cli
3
- Version: 1.2.0
4
- Summary: TrustGraph provides a means to run a pipeline of flexible AI processing components in a flexible means to achieve a processing pipeline.
5
- Home-page: https://github.com/trustgraph-ai/trustgraph
6
- Download-URL: https://github.com/trustgraph-ai/trustgraph/archive/refs/tags/v1.2.0.tar.gz
7
- Author: trustgraph.ai
8
- Author-email: security@trustgraph.ai
9
- Classifier: Programming Language :: Python :: 3
10
- Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
11
- Classifier: Operating System :: OS Independent
12
- Requires-Python: >=3.8
13
- Description-Content-Type: text/markdown
14
-
15
- See https://trustgraph.ai/
@@ -1,97 +0,0 @@
1
- import setuptools
2
- import os
3
- import importlib
4
-
5
- with open("README.md", "r") as fh:
6
- long_description = fh.read()
7
-
8
- # Load a version number module
9
- spec = importlib.util.spec_from_file_location(
10
- 'version', 'trustgraph/cli_version.py'
11
- )
12
- version_module = importlib.util.module_from_spec(spec)
13
- spec.loader.exec_module(version_module)
14
-
15
- version = version_module.__version__
16
-
17
- setuptools.setup(
18
- name="trustgraph-cli",
19
- version=version,
20
- author="trustgraph.ai",
21
- author_email="security@trustgraph.ai",
22
- description="TrustGraph provides a means to run a pipeline of flexible AI processing components in a flexible means to achieve a processing pipeline.",
23
- long_description=long_description,
24
- long_description_content_type="text/markdown",
25
- url="https://github.com/trustgraph-ai/trustgraph",
26
- packages=setuptools.find_namespace_packages(
27
- where='./',
28
- ),
29
- classifiers=[
30
- "Programming Language :: Python :: 3",
31
- "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
32
- "Operating System :: OS Independent",
33
- ],
34
- python_requires='>=3.8',
35
- download_url = "https://github.com/trustgraph-ai/trustgraph/archive/refs/tags/v" + version + ".tar.gz",
36
- install_requires=[
37
- "trustgraph-base>=1.2,<1.3",
38
- "requests",
39
- "pulsar-client",
40
- "aiohttp",
41
- "rdflib",
42
- "tabulate",
43
- "msgpack",
44
- "websockets",
45
- ],
46
- scripts=[
47
- "scripts/tg-add-library-document",
48
- "scripts/tg-delete-flow-class",
49
- "scripts/tg-delete-mcp-tool",
50
- "scripts/tg-delete-kg-core",
51
- "scripts/tg-delete-tool",
52
- "scripts/tg-dump-msgpack",
53
- "scripts/tg-get-flow-class",
54
- "scripts/tg-get-kg-core",
55
- "scripts/tg-graph-to-turtle",
56
- "scripts/tg-init-trustgraph",
57
- "scripts/tg-invoke-agent",
58
- "scripts/tg-invoke-document-rag",
59
- "scripts/tg-invoke-graph-rag",
60
- "scripts/tg-invoke-llm",
61
- "scripts/tg-invoke-mcp-tool",
62
- "scripts/tg-invoke-prompt",
63
- "scripts/tg-load-doc-embeds",
64
- "scripts/tg-load-kg-core",
65
- "scripts/tg-load-pdf",
66
- "scripts/tg-load-sample-documents",
67
- "scripts/tg-load-text",
68
- "scripts/tg-load-turtle",
69
- "scripts/tg-put-flow-class",
70
- "scripts/tg-put-kg-core",
71
- "scripts/tg-remove-library-document",
72
- "scripts/tg-save-doc-embeds",
73
- "scripts/tg-set-mcp-tool",
74
- "scripts/tg-set-prompt",
75
- "scripts/tg-set-token-costs",
76
- "scripts/tg-set-tool",
77
- "scripts/tg-show-config",
78
- "scripts/tg-show-flow-classes",
79
- "scripts/tg-show-flow-state",
80
- "scripts/tg-show-flows",
81
- "scripts/tg-show-graph",
82
- "scripts/tg-show-kg-cores",
83
- "scripts/tg-show-library-documents",
84
- "scripts/tg-show-library-processing",
85
- "scripts/tg-show-mcp-tools",
86
- "scripts/tg-show-processor-state",
87
- "scripts/tg-show-prompts",
88
- "scripts/tg-show-token-costs",
89
- "scripts/tg-show-token-rate",
90
- "scripts/tg-show-tools",
91
- "scripts/tg-start-flow",
92
- "scripts/tg-unload-kg-core",
93
- "scripts/tg-start-library-processing",
94
- "scripts/tg-stop-flow",
95
- "scripts/tg-stop-library-processing",
96
- ]
97
- )
@@ -1 +0,0 @@
1
- __version__ = "1.2.0"
@@ -1,15 +0,0 @@
1
- Metadata-Version: 2.1
2
- Name: trustgraph-cli
3
- Version: 1.2.0
4
- Summary: TrustGraph provides a means to run a pipeline of flexible AI processing components in a flexible means to achieve a processing pipeline.
5
- Home-page: https://github.com/trustgraph-ai/trustgraph
6
- Download-URL: https://github.com/trustgraph-ai/trustgraph/archive/refs/tags/v1.2.0.tar.gz
7
- Author: trustgraph.ai
8
- Author-email: security@trustgraph.ai
9
- Classifier: Programming Language :: Python :: 3
10
- Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
11
- Classifier: Operating System :: OS Independent
12
- Requires-Python: >=3.8
13
- Description-Content-Type: text/markdown
14
-
15
- See https://trustgraph.ai/
@@ -1,57 +0,0 @@
1
- README.md
2
- setup.py
3
- scripts/tg-add-library-document
4
- scripts/tg-delete-flow-class
5
- scripts/tg-delete-kg-core
6
- scripts/tg-delete-mcp-tool
7
- scripts/tg-delete-tool
8
- scripts/tg-dump-msgpack
9
- scripts/tg-get-flow-class
10
- scripts/tg-get-kg-core
11
- scripts/tg-graph-to-turtle
12
- scripts/tg-init-trustgraph
13
- scripts/tg-invoke-agent
14
- scripts/tg-invoke-document-rag
15
- scripts/tg-invoke-graph-rag
16
- scripts/tg-invoke-llm
17
- scripts/tg-invoke-mcp-tool
18
- scripts/tg-invoke-prompt
19
- scripts/tg-load-doc-embeds
20
- scripts/tg-load-kg-core
21
- scripts/tg-load-pdf
22
- scripts/tg-load-sample-documents
23
- scripts/tg-load-text
24
- scripts/tg-load-turtle
25
- scripts/tg-put-flow-class
26
- scripts/tg-put-kg-core
27
- scripts/tg-remove-library-document
28
- scripts/tg-save-doc-embeds
29
- scripts/tg-set-mcp-tool
30
- scripts/tg-set-prompt
31
- scripts/tg-set-token-costs
32
- scripts/tg-set-tool
33
- scripts/tg-show-config
34
- scripts/tg-show-flow-classes
35
- scripts/tg-show-flow-state
36
- scripts/tg-show-flows
37
- scripts/tg-show-graph
38
- scripts/tg-show-kg-cores
39
- scripts/tg-show-library-documents
40
- scripts/tg-show-library-processing
41
- scripts/tg-show-mcp-tools
42
- scripts/tg-show-processor-state
43
- scripts/tg-show-prompts
44
- scripts/tg-show-token-costs
45
- scripts/tg-show-token-rate
46
- scripts/tg-show-tools
47
- scripts/tg-start-flow
48
- scripts/tg-start-library-processing
49
- scripts/tg-stop-flow
50
- scripts/tg-stop-library-processing
51
- scripts/tg-unload-kg-core
52
- trustgraph/cli_version.py
53
- trustgraph_cli.egg-info/PKG-INFO
54
- trustgraph_cli.egg-info/SOURCES.txt
55
- trustgraph_cli.egg-info/dependency_links.txt
56
- trustgraph_cli.egg-info/requires.txt
57
- trustgraph_cli.egg-info/top_level.txt
File without changes
File without changes
@@ -1,8 +1,8 @@
1
- aiohttp
2
- msgpack
1
+ trustgraph-base<1.3,>=1.2
2
+ requests
3
3
  pulsar-client
4
+ aiohttp
4
5
  rdflib
5
- requests
6
6
  tabulate
7
- trustgraph-base<1.3,>=1.2
7
+ msgpack
8
8
  websockets