2024-09-30 19:36:09 +01:00
import setuptools
import os
import importlib
with open ( " README.md " , " r " ) as fh :
long_description = fh . read ( )
# Load a version number module
spec = importlib . util . spec_from_file_location (
2024-09-30 22:20:26 +01:00
' version ' , ' trustgraph/cli_version.py '
2024-09-30 19:36:09 +01:00
)
version_module = importlib . util . module_from_spec ( spec )
spec . loader . exec_module ( version_module )
version = version_module . __version__
setuptools . setup (
2024-09-30 22:20:26 +01:00
name = " trustgraph-cli " ,
2024-09-30 19:36:09 +01:00
version = version ,
author = " trustgraph.ai " ,
author_email = " security@trustgraph.ai " ,
description = " TrustGraph provides a means to run a pipeline of flexible AI processing components in a flexible means to achieve a processing pipeline. " ,
long_description = long_description ,
long_description_content_type = " text/markdown " ,
url = " https://github.com/trustgraph-ai/trustgraph " ,
packages = setuptools . find_namespace_packages (
where = ' ./ ' ,
) ,
classifiers = [
" Programming Language :: Python :: 3 " ,
" License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+) " ,
" Operating System :: OS Independent " ,
] ,
python_requires = ' >=3.8 ' ,
download_url = " https://github.com/trustgraph-ai/trustgraph/archive/refs/tags/v " + version + " .tar.gz " ,
install_requires = [
2025-07-02 16:40:13 +01:00
" trustgraph-base>=1.1,<1.2 " ,
2024-09-30 19:36:09 +01:00
" requests " ,
" pulsar-client " ,
2025-02-04 12:24:46 +00:00
" aiohttp " ,
2024-10-02 11:39:57 +01:00
" rdflib " ,
2024-09-30 19:36:09 +01:00
" tabulate " ,
2024-11-25 20:46:35 +00:00
" msgpack " ,
2025-01-02 19:49:22 +00:00
" websockets " ,
2024-09-30 19:36:09 +01:00
] ,
scripts = [
2025-05-06 13:43:17 +01:00
" scripts/tg-add-library-document " ,
2025-04-28 21:26:38 +01:00
" scripts/tg-delete-flow-class " ,
2025-07-08 16:19:19 +01:00
" scripts/tg-delete-mcp-tool " ,
2025-05-07 00:20:59 +01:00
" scripts/tg-delete-kg-core " ,
2025-07-08 16:19:19 +01:00
" scripts/tg-delete-tool " ,
2025-05-03 10:39:53 +01:00
" scripts/tg-dump-msgpack " ,
2025-04-28 21:26:38 +01:00
" scripts/tg-get-flow-class " ,
2025-05-07 11:13:21 +01:00
" scripts/tg-get-kg-core " ,
2024-09-30 21:24:22 +01:00
" scripts/tg-graph-to-turtle " ,
2025-05-06 13:43:17 +01:00
" scripts/tg-init-trustgraph " ,
2025-01-02 19:49:22 +00:00
" scripts/tg-invoke-agent " ,
" scripts/tg-invoke-document-rag " ,
" scripts/tg-invoke-graph-rag " ,
" scripts/tg-invoke-llm " ,
2025-07-08 16:19:19 +01:00
" scripts/tg-invoke-mcp-tool " ,
2025-01-02 19:49:22 +00:00
" scripts/tg-invoke-prompt " ,
2025-01-16 00:00:59 +00:00
" scripts/tg-load-doc-embeds " ,
2025-04-28 21:26:38 +01:00
" scripts/tg-load-kg-core " ,
2024-09-30 21:24:22 +01:00
" scripts/tg-load-pdf " ,
2025-05-06 13:43:17 +01:00
" scripts/tg-load-sample-documents " ,
2024-09-30 21:24:22 +01:00
" scripts/tg-load-text " ,
2024-10-29 21:18:02 +00:00
" scripts/tg-load-turtle " ,
2025-04-28 21:26:38 +01:00
" scripts/tg-put-flow-class " ,
2025-05-07 11:13:21 +01:00
" scripts/tg-put-kg-core " ,
2025-05-06 13:43:17 +01:00
" scripts/tg-remove-library-document " ,
2025-01-16 00:00:59 +00:00
" scripts/tg-save-doc-embeds " ,
2025-07-08 16:19:19 +01:00
" scripts/tg-set-mcp-tool " ,
2025-04-28 21:26:38 +01:00
" scripts/tg-set-prompt " ,
" scripts/tg-set-token-costs " ,
2025-07-08 16:19:19 +01:00
" scripts/tg-set-tool " ,
2025-04-01 19:47:05 +01:00
" scripts/tg-show-config " ,
2025-04-24 18:57:33 +01:00
" scripts/tg-show-flow-classes " ,
2025-05-03 10:39:53 +01:00
" scripts/tg-show-flow-state " ,
2025-04-28 21:26:38 +01:00
" scripts/tg-show-flows " ,
2025-05-06 13:43:17 +01:00
" scripts/tg-show-graph " ,
2025-05-07 00:20:59 +01:00
" scripts/tg-show-kg-cores " ,
2025-05-05 11:09:18 +01:00
" scripts/tg-show-library-documents " ,
" scripts/tg-show-library-processing " ,
2025-07-08 16:19:19 +01:00
" scripts/tg-show-mcp-tools " ,
2025-05-03 10:39:53 +01:00
" scripts/tg-show-processor-state " ,
2025-04-28 21:26:38 +01:00
" scripts/tg-show-prompts " ,
" scripts/tg-show-token-costs " ,
2025-06-16 14:18:27 +01:00
" scripts/tg-show-token-rate " ,
2025-04-28 21:26:38 +01:00
" scripts/tg-show-tools " ,
2025-04-24 18:57:33 +01:00
" scripts/tg-start-flow " ,
2025-05-08 00:41:45 +01:00
" scripts/tg-unload-kg-core " ,
2025-05-06 13:43:17 +01:00
" scripts/tg-start-library-processing " ,
2025-04-24 18:57:33 +01:00
" scripts/tg-stop-flow " ,
2025-05-06 13:43:17 +01:00
" scripts/tg-stop-library-processing " ,
2024-09-30 19:36:09 +01:00
]
)