trustgraph-cli 3.0.0rc14__tar.gz → 3.0.0rc16__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.
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/PKG-INFO +1 -1
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/pyproject.toml +1 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/bump_graph_version.py +13 -1
- trustgraph_cli-3.0.0rc16/trustgraph/cli/describe_graph_version.py +111 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/purge_graph_history.py +3 -5
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/write_triples.py +27 -2
- trustgraph_cli-3.0.0rc16/trustgraph/cli_version.py +1 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph_cli.egg-info/PKG-INFO +1 -1
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph_cli.egg-info/SOURCES.txt +1 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph_cli.egg-info/entry_points.txt +1 -0
- trustgraph_cli-3.0.0rc14/trustgraph/cli_version.py +0 -1
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/README.md +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/setup.cfg +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/__init__.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/_iam.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/add_library_document.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/bootstrap_iam.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/change_password.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/create_api_key.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/create_user.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/create_workspace.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/delete_collection.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/delete_config_item.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/delete_flow_blueprint.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/delete_kg_core.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/delete_mcp_tool.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/delete_ontology.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/delete_tool.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/delete_triples.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/delete_user.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/describe_image.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/diff_graph.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/disable_user.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/dump_msgpack.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/dump_queues.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/enable_user.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/export_workspace.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/export_workspace_config.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/get_config_item.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/get_de_core.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/get_document_content.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/get_flow_blueprint.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/get_kg_core.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/get_ontology.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/graph_to_turtle.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/import_workspace.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/import_workspace_config.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/init_pulsar_manager.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/invoke_action.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/invoke_agent.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/invoke_chunk.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/invoke_cloze.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/invoke_concept_extraction.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/invoke_decision_scoring.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/invoke_document_decode.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/invoke_document_embeddings.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/invoke_document_rag.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/invoke_embeddings.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/invoke_extraction.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/invoke_field_extraction.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/invoke_graph_embeddings.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/invoke_graph_rag.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/invoke_knowledge_retrieval.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/invoke_llm.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/invoke_mcp_tool.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/invoke_nl_sparql.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/invoke_nlp_query.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/invoke_ontology_subset.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/invoke_orchestrator.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/invoke_planner.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/invoke_policy.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/invoke_prompt.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/invoke_query_formulation.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/invoke_reranker.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/invoke_row_embeddings.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/invoke_rows_query.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/invoke_sparql_nl_query.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/invoke_sparql_query.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/invoke_structured_query.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/invoke_verification.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/label_graph_version.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/list_api_keys.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/list_cloze_models.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/list_collections.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/list_config_items.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/list_explain_traces.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/list_graph_versions.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/list_models.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/list_my_workspaces.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/list_named_graphs.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/list_ontologies.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/list_users.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/list_workspaces.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/load_doc_embeds.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/load_kg_core.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/load_knowledge.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/load_sample_documents.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/load_structured_data.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/load_turtle.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/login.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/mint_token.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/monitor_prompts.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/nquads.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/put_config_item.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/put_de_core.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/put_flow_blueprint.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/put_kg_core.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/put_ontology.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/query_graph.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/remove_library_document.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/reset_password.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/revert_graph.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/revoke_api_key.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/sample_documents/__init__.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/sample_documents/belgian-beer.md +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/sample_documents/bronze-age-collapse.pdf +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/sample_documents/corporate-scandals.pdf +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/sample_documents/history-of-pets.md +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/sample_documents/metadata.json +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/sample_documents/mil-fortifications-america-19th-c.md +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/sample_documents/recipes.md +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/sample_documents/trade-routes-europe.md +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/save_doc_embeds.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/set_collection.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/set_mcp_tool.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/set_prompt.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/set_token_costs.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/set_tool.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/show_config.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/show_explain_trace.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/show_extraction_provenance.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/show_flow_blueprints.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/show_flow_state.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/show_flows.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/show_graph.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/show_kg_cores.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/show_library_documents.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/show_library_processing.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/show_mcp_tools.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/show_parameter_types.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/show_processor_state.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/show_prompts.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/show_token_costs.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/show_token_rate.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/show_tools.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/start_flow.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/start_library_processing.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/stop_flow.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/stop_library_processing.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/unload_kg_core.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/update_user.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/verify_system_status.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/whoami.py +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph_cli.egg-info/dependency_links.txt +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph_cli.egg-info/requires.txt +0 -0
- {trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph_cli.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: trustgraph-cli
|
|
3
|
-
Version: 3.0.
|
|
3
|
+
Version: 3.0.0rc16
|
|
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
5
|
Author-email: "trustgraph.ai" <security@trustgraph.ai>
|
|
6
6
|
Project-URL: Homepage, https://github.com/trustgraph-ai/trustgraph
|
|
@@ -37,6 +37,7 @@ tg-delete-kg-core = "trustgraph.cli.delete_kg_core:main"
|
|
|
37
37
|
tg-delete-tool = "trustgraph.cli.delete_tool:main"
|
|
38
38
|
tg-delete-triples = "trustgraph.cli.delete_triples:main"
|
|
39
39
|
tg-diff-graph = "trustgraph.cli.diff_graph:main"
|
|
40
|
+
tg-describe-graph-version = "trustgraph.cli.describe_graph_version:main"
|
|
40
41
|
tg-describe-image = "trustgraph.cli.describe_image:main"
|
|
41
42
|
tg-dump-msgpack = "trustgraph.cli.dump_msgpack:main"
|
|
42
43
|
tg-dump-queues = "trustgraph.cli.dump_queues:main"
|
|
@@ -64,6 +64,12 @@ def main():
|
|
|
64
64
|
help='Named graph IRI (default: empty = default graph)',
|
|
65
65
|
)
|
|
66
66
|
|
|
67
|
+
parser.add_argument(
|
|
68
|
+
'-d', '--description',
|
|
69
|
+
default='',
|
|
70
|
+
help='Description for this version',
|
|
71
|
+
)
|
|
72
|
+
|
|
67
73
|
args = parser.parse_args()
|
|
68
74
|
|
|
69
75
|
try:
|
|
@@ -71,10 +77,16 @@ def main():
|
|
|
71
77
|
flow = socket.flow(args.flow_id)
|
|
72
78
|
|
|
73
79
|
try:
|
|
80
|
+
kwargs = {
|
|
81
|
+
"named-graph": args.named_graph,
|
|
82
|
+
}
|
|
83
|
+
if args.description:
|
|
84
|
+
kwargs["description"] = args.description
|
|
85
|
+
|
|
74
86
|
result = flow.triples_query(
|
|
75
87
|
operation="version-bump",
|
|
76
88
|
collection=args.collection,
|
|
77
|
-
**
|
|
89
|
+
**kwargs,
|
|
78
90
|
)
|
|
79
91
|
finally:
|
|
80
92
|
socket.close()
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Set a description on a graph version.
|
|
3
|
+
|
|
4
|
+
Examples:
|
|
5
|
+
tg-describe-graph-version -g urn:graph:source -V 3 -d "Baseline after initial ingestion"
|
|
6
|
+
tg-describe-graph-version -V 2 -d "Before Q4 reingestion"
|
|
7
|
+
"""
|
|
8
|
+
|
|
9
|
+
import argparse
|
|
10
|
+
import os
|
|
11
|
+
import sys
|
|
12
|
+
from trustgraph.api import Api
|
|
13
|
+
|
|
14
|
+
default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:8888/')
|
|
15
|
+
default_collection = 'default'
|
|
16
|
+
default_token = os.getenv("TRUSTGRAPH_TOKEN", None)
|
|
17
|
+
default_workspace = os.getenv("TRUSTGRAPH_WORKSPACE", "default")
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
def main():
|
|
21
|
+
|
|
22
|
+
parser = argparse.ArgumentParser(
|
|
23
|
+
prog='tg-describe-graph-version',
|
|
24
|
+
description=__doc__,
|
|
25
|
+
formatter_class=argparse.RawDescriptionHelpFormatter,
|
|
26
|
+
)
|
|
27
|
+
|
|
28
|
+
parser.add_argument(
|
|
29
|
+
'-u', '--api-url',
|
|
30
|
+
default=default_url,
|
|
31
|
+
help=f'API URL (default: {default_url})',
|
|
32
|
+
)
|
|
33
|
+
|
|
34
|
+
parser.add_argument(
|
|
35
|
+
'-f', '--flow-id',
|
|
36
|
+
default="default",
|
|
37
|
+
help='Flow ID (default: default)',
|
|
38
|
+
)
|
|
39
|
+
|
|
40
|
+
parser.add_argument(
|
|
41
|
+
'-C', '--collection',
|
|
42
|
+
default=default_collection,
|
|
43
|
+
help=f'Collection (default: {default_collection})',
|
|
44
|
+
)
|
|
45
|
+
|
|
46
|
+
parser.add_argument(
|
|
47
|
+
'-t', '--token',
|
|
48
|
+
default=default_token,
|
|
49
|
+
help='Auth token (default: $TRUSTGRAPH_TOKEN)',
|
|
50
|
+
)
|
|
51
|
+
|
|
52
|
+
parser.add_argument(
|
|
53
|
+
'-w', '--workspace',
|
|
54
|
+
default=default_workspace,
|
|
55
|
+
help=f'Workspace (default: {default_workspace})',
|
|
56
|
+
)
|
|
57
|
+
|
|
58
|
+
parser.add_argument(
|
|
59
|
+
'-g', '--named-graph',
|
|
60
|
+
default='',
|
|
61
|
+
help='Named graph IRI (default: empty = default graph)',
|
|
62
|
+
)
|
|
63
|
+
|
|
64
|
+
parser.add_argument(
|
|
65
|
+
'-V', '--version',
|
|
66
|
+
required=True,
|
|
67
|
+
help='Version number or name to describe',
|
|
68
|
+
)
|
|
69
|
+
|
|
70
|
+
parser.add_argument(
|
|
71
|
+
'-d', '--description',
|
|
72
|
+
required=True,
|
|
73
|
+
help='Description text for the version',
|
|
74
|
+
)
|
|
75
|
+
|
|
76
|
+
args = parser.parse_args()
|
|
77
|
+
|
|
78
|
+
try:
|
|
79
|
+
socket = Api(args.api_url, token=args.token, workspace=args.workspace).socket()
|
|
80
|
+
flow = socket.flow(args.flow_id)
|
|
81
|
+
|
|
82
|
+
try:
|
|
83
|
+
result = flow.triples_query(
|
|
84
|
+
operation="version-describe",
|
|
85
|
+
collection=args.collection,
|
|
86
|
+
**{
|
|
87
|
+
"named-graph": args.named_graph,
|
|
88
|
+
"version": args.version,
|
|
89
|
+
"description": args.description,
|
|
90
|
+
},
|
|
91
|
+
)
|
|
92
|
+
finally:
|
|
93
|
+
socket.close()
|
|
94
|
+
|
|
95
|
+
if isinstance(result, dict) and "error" in result:
|
|
96
|
+
err = result["error"]
|
|
97
|
+
print(f"Error: {err.get('message', err)}", file=sys.stderr)
|
|
98
|
+
sys.exit(1)
|
|
99
|
+
|
|
100
|
+
print(
|
|
101
|
+
f"Described {args.collection}/{args.named_graph} "
|
|
102
|
+
f"v{args.version}: '{args.description}'"
|
|
103
|
+
)
|
|
104
|
+
|
|
105
|
+
except Exception as e:
|
|
106
|
+
print(f"Error: {e}", file=sys.stderr)
|
|
107
|
+
sys.exit(1)
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
if __name__ == "__main__":
|
|
111
|
+
main()
|
|
@@ -2,11 +2,9 @@
|
|
|
2
2
|
Purge version history older than a cutoff version.
|
|
3
3
|
|
|
4
4
|
Collapses history before the specified version: for each quad, only the
|
|
5
|
-
latest row before the cutoff is kept
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
NOT YET IMPLEMENTED — the backend will return an error. This CLI is
|
|
9
|
-
provided so the interface is ready when the backend is added.
|
|
5
|
+
latest row before the cutoff is kept (preserving current state). Dead-end
|
|
6
|
+
delete markers with no future entries are removed entirely. Version log
|
|
7
|
+
entries before the cutoff are also deleted.
|
|
10
8
|
|
|
11
9
|
Examples:
|
|
12
10
|
tg-purge-graph-history -g urn:graph:source --before-version 10
|
|
@@ -12,6 +12,7 @@ Examples:
|
|
|
12
12
|
import argparse
|
|
13
13
|
import json
|
|
14
14
|
import os
|
|
15
|
+
import re
|
|
15
16
|
import sys
|
|
16
17
|
from trustgraph.api import Api
|
|
17
18
|
from . query_graph import build_term
|
|
@@ -22,6 +23,30 @@ default_token = os.getenv("TRUSTGRAPH_TOKEN", None)
|
|
|
22
23
|
default_workspace = os.getenv("TRUSTGRAPH_WORKSPACE", "default")
|
|
23
24
|
|
|
24
25
|
|
|
26
|
+
# N-Triples string escapes (ECHAR and UCHAR), the reverse of the escaping in
|
|
27
|
+
# nquads.py.
|
|
28
|
+
_UNESCAPE = re.compile(r"\\(?:u([0-9a-fA-F]{4})|U([0-9a-fA-F]{8})|(.))", re.DOTALL)
|
|
29
|
+
_ECHARS = {
|
|
30
|
+
"t": "\t", "b": "\b", "n": "\n", "r": "\r", "f": "\f",
|
|
31
|
+
'"': '"', "'": "'", "\\": "\\",
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
def unescape_ntriples(value):
|
|
36
|
+
"""Decode the backslash escapes of an N-Triples string literal."""
|
|
37
|
+
|
|
38
|
+
def repl(m):
|
|
39
|
+
code = m.group(1) or m.group(2)
|
|
40
|
+
if code:
|
|
41
|
+
try:
|
|
42
|
+
return chr(int(code, 16))
|
|
43
|
+
except (ValueError, OverflowError):
|
|
44
|
+
return m.group(0)
|
|
45
|
+
return _ECHARS.get(m.group(3), m.group(0))
|
|
46
|
+
|
|
47
|
+
return _UNESCAPE.sub(repl, value)
|
|
48
|
+
|
|
49
|
+
|
|
25
50
|
def parse_ntriples_line(line):
|
|
26
51
|
"""Parse a single N-Triples line into (subject, predicate, object) term dicts.
|
|
27
52
|
|
|
@@ -45,7 +70,7 @@ def parse_ntriples_line(line):
|
|
|
45
70
|
while i < len(line) and len(parts) < 3:
|
|
46
71
|
if line[i] == '<':
|
|
47
72
|
end = line.index('>', i)
|
|
48
|
-
parts.append(build_term(line[i+1:end]))
|
|
73
|
+
parts.append(build_term(line[i+1:end], term_type='iri'))
|
|
49
74
|
i = end + 1
|
|
50
75
|
elif line[i] == '"':
|
|
51
76
|
end = i + 1
|
|
@@ -53,7 +78,7 @@ def parse_ntriples_line(line):
|
|
|
53
78
|
if line[end] == '\\':
|
|
54
79
|
end += 1
|
|
55
80
|
end += 1
|
|
56
|
-
value = line[i+1:end]
|
|
81
|
+
value = unescape_ntriples(line[i+1:end])
|
|
57
82
|
end += 1
|
|
58
83
|
language = None
|
|
59
84
|
datatype = None
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "3.0.0rc16"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: trustgraph-cli
|
|
3
|
-
Version: 3.0.
|
|
3
|
+
Version: 3.0.0rc16
|
|
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
5
|
Author-email: "trustgraph.ai" <security@trustgraph.ai>
|
|
6
6
|
Project-URL: Homepage, https://github.com/trustgraph-ai/trustgraph
|
|
@@ -19,6 +19,7 @@ trustgraph/cli/delete_ontology.py
|
|
|
19
19
|
trustgraph/cli/delete_tool.py
|
|
20
20
|
trustgraph/cli/delete_triples.py
|
|
21
21
|
trustgraph/cli/delete_user.py
|
|
22
|
+
trustgraph/cli/describe_graph_version.py
|
|
22
23
|
trustgraph/cli/describe_image.py
|
|
23
24
|
trustgraph/cli/diff_graph.py
|
|
24
25
|
trustgraph/cli/disable_user.py
|
{trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph_cli.egg-info/entry_points.txt
RENAMED
|
@@ -15,6 +15,7 @@ tg-delete-ontology = trustgraph.cli.delete_ontology:main
|
|
|
15
15
|
tg-delete-tool = trustgraph.cli.delete_tool:main
|
|
16
16
|
tg-delete-triples = trustgraph.cli.delete_triples:main
|
|
17
17
|
tg-delete-user = trustgraph.cli.delete_user:main
|
|
18
|
+
tg-describe-graph-version = trustgraph.cli.describe_graph_version:main
|
|
18
19
|
tg-describe-image = trustgraph.cli.describe_image:main
|
|
19
20
|
tg-diff-graph = trustgraph.cli.diff_graph:main
|
|
20
21
|
tg-disable-user = trustgraph.cli.disable_user:main
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "3.0.0rc14"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/add_library_document.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/delete_flow_blueprint.py
RENAMED
|
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
|
{trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/export_workspace_config.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/get_document_content.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/import_workspace_config.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/invoke_concept_extraction.py
RENAMED
|
File without changes
|
{trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/invoke_decision_scoring.py
RENAMED
|
File without changes
|
{trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/invoke_document_decode.py
RENAMED
|
File without changes
|
{trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/invoke_document_embeddings.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/invoke_field_extraction.py
RENAMED
|
File without changes
|
{trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/invoke_graph_embeddings.py
RENAMED
|
File without changes
|
|
File without changes
|
{trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/invoke_knowledge_retrieval.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/invoke_ontology_subset.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/invoke_query_formulation.py
RENAMED
|
File without changes
|
|
File without changes
|
{trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/invoke_row_embeddings.py
RENAMED
|
File without changes
|
|
File without changes
|
{trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/invoke_sparql_nl_query.py
RENAMED
|
File without changes
|
|
File without changes
|
{trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/invoke_structured_query.py
RENAMED
|
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
|
{trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/load_sample_documents.py
RENAMED
|
File without changes
|
{trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/load_structured_data.py
RENAMED
|
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
|
{trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/remove_library_document.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/sample_documents/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/sample_documents/metadata.json
RENAMED
|
File without changes
|
|
File without changes
|
{trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/sample_documents/recipes.md
RENAMED
|
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
|
{trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/show_extraction_provenance.py
RENAMED
|
File without changes
|
{trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/show_flow_blueprints.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/show_library_documents.py
RENAMED
|
File without changes
|
{trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/show_library_processing.py
RENAMED
|
File without changes
|
|
File without changes
|
{trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/show_parameter_types.py
RENAMED
|
File without changes
|
{trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/show_processor_state.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/start_library_processing.py
RENAMED
|
File without changes
|
|
File without changes
|
{trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/stop_library_processing.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph/cli/verify_system_status.py
RENAMED
|
File without changes
|
|
File without changes
|
{trustgraph_cli-3.0.0rc14 → trustgraph_cli-3.0.0rc16}/trustgraph_cli.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|