2024-07-10 23:20:06 +01:00
import setuptools
import os
2024-09-30 16:38:50 +01:00
import importlib
2024-07-10 23:20:06 +01:00
with open ( " README.md " , " r " ) as fh :
long_description = fh . read ( )
2024-09-30 16:38:50 +01:00
# Load a version number module
spec = importlib . util . spec_from_file_location (
2024-09-30 19:36:09 +01:00
' version ' , ' trustgraph/flow_version.py '
2024-09-30 16:38:50 +01:00
)
version_module = importlib . util . module_from_spec ( spec )
spec . loader . exec_module ( version_module )
version = version_module . __version__
2024-07-10 23:20:06 +01:00
setuptools . setup (
2024-09-30 19:36:09 +01:00
name = " trustgraph-flow " ,
2024-07-10 23:20:06 +01:00
version = version ,
author = " trustgraph.ai " ,
author_email = " security@trustgraph.ai " ,
2024-07-15 21:48:51 +01:00
description = " TrustGraph provides a means to run a pipeline of flexible AI processing components in a flexible means to achieve a processing pipeline. " ,
2024-07-10 23:20:06 +01:00
long_description = long_description ,
long_description_content_type = " text/markdown " ,
2024-07-15 21:48:51 +01:00
url = " https://github.com/trustgraph-ai/trustgraph " ,
2024-09-30 14:00:29 +01:00
packages = setuptools . find_namespace_packages (
where = ' ./ ' ,
) ,
2024-07-10 23:20:06 +01:00
classifiers = [
" Programming Language :: Python :: 3 " ,
" License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+) " ,
" Operating System :: OS Independent " ,
] ,
python_requires = ' >=3.8 ' ,
2024-07-15 21:48:51 +01:00
download_url = " https://github.com/trustgraph-ai/trustgraph/archive/refs/tags/v " + version + " .tar.gz " ,
2024-07-10 23:20:06 +01:00
install_requires = [
2024-11-11 22:29:03 +00:00
" trustgraph-base>=0.15,<0.16 " ,
2024-07-10 23:20:06 +01:00
" urllib3 " ,
" rdflib " ,
" pymilvus " ,
" langchain " ,
" langchain-core " ,
" langchain-text-splitters " ,
" langchain-community " ,
" requests " ,
" cassandra-driver " ,
" pulsar-client " ,
" pypdf " ,
2024-08-27 23:37:24 +01:00
" qdrant-client " ,
2024-09-29 23:50:57 +01:00
" tabulate " ,
2024-07-10 23:20:06 +01:00
" anthropic " ,
2024-07-15 17:17:04 +01:00
" pyyaml " ,
2024-07-18 17:20:42 +01:00
" prometheus-client " ,
2024-08-07 11:27:37 -07:00
" cohere " ,
2024-08-12 15:37:04 +01:00
" openai " ,
2024-08-14 09:06:33 +01:00
" neo4j " ,
2024-08-21 16:51:33 +01:00
" tiktoken " ,
2024-10-09 15:34:46 +01:00
" google-generativeai " ,
2024-10-26 22:17:43 +01:00
" ibis " ,
" jsonschema " ,
2024-07-10 23:20:06 +01:00
] ,
scripts = [
2024-11-10 11:44:01 +00:00
" scripts/agent-manager-react " ,
2024-07-10 23:20:06 +01:00
" scripts/chunker-recursive " ,
2024-08-21 16:51:33 +01:00
" scripts/chunker-token " ,
2024-08-26 23:45:23 +01:00
" scripts/de-query-milvus " ,
2024-09-03 00:09:15 +01:00
" scripts/de-query-qdrant " ,
2024-09-05 16:45:22 +01:00
" scripts/de-write-milvus " ,
2024-09-03 00:09:15 +01:00
" scripts/de-write-qdrant " ,
2024-08-26 23:45:23 +01:00
" scripts/document-rag " ,
2024-07-16 19:28:47 +01:00
" scripts/embeddings-ollama " ,
" scripts/embeddings-vectorize " ,
2024-08-13 17:30:59 +01:00
" scripts/ge-query-milvus " ,
2024-08-27 23:37:24 +01:00
" scripts/ge-query-qdrant " ,
2024-09-05 16:45:22 +01:00
" scripts/ge-write-milvus " ,
2024-08-27 23:37:24 +01:00
" scripts/ge-write-qdrant " ,
2024-07-16 19:28:47 +01:00
" scripts/graph-rag " ,
2024-07-10 23:20:06 +01:00
" scripts/kg-extract-definitions " ,
2024-09-15 14:47:57 -07:00
" scripts/kg-extract-topics " ,
2024-07-10 23:20:06 +01:00
" scripts/kg-extract-relationships " ,
2024-09-28 20:48:20 +01:00
" scripts/metering " ,
2024-08-27 21:55:12 +01:00
" scripts/object-extract-row " ,
" scripts/oe-write-milvus " ,
2024-07-10 23:20:06 +01:00
" scripts/pdf-decoder " ,
2024-08-13 17:30:59 +01:00
" scripts/prompt-generic " ,
2024-08-23 23:34:16 +01:00
" scripts/prompt-template " ,
2024-08-27 21:55:12 +01:00
" scripts/rows-write-cassandra " ,
2024-07-16 19:28:47 +01:00
" scripts/run-processing " ,
2024-07-23 21:34:03 +01:00
" scripts/text-completion-azure " ,
2024-10-04 06:44:50 -07:00
" scripts/text-completion-azure-openai " ,
2024-07-23 21:34:03 +01:00
" scripts/text-completion-claude " ,
2024-08-13 17:30:59 +01:00
" scripts/text-completion-cohere " ,
2024-10-09 15:34:46 +01:00
" scripts/text-completion-googleaistudio " ,
2024-09-16 08:18:01 -07:00
" scripts/text-completion-llamafile " ,
2024-07-23 21:34:03 +01:00
" scripts/text-completion-ollama " ,
2024-08-12 15:37:04 +01:00
" scripts/text-completion-openai " ,
2024-08-13 17:30:59 +01:00
" scripts/triples-query-cassandra " ,
2024-08-14 09:06:33 +01:00
" scripts/triples-query-neo4j " ,
2024-08-27 21:55:12 +01:00
" scripts/triples-write-cassandra " ,
2024-08-14 09:06:33 +01:00
" scripts/triples-write-neo4j " ,
2024-07-10 23:20:06 +01:00
]
)