# automatically generated by g-sorcery
# please do not edit this file

EAPI=8

REALNAME="${PN}"
LITERALNAME="${PN}"
REALVERSION="${PV}"
DIGEST_SOURCES="yes"
PYTHON_COMPAT=( python{3_12,3_13} )
DISTUTILS_USE_PEP517=standalone

inherit python-r1 gs-pypi

DESCRIPTION="OpenSSA: Small Specialist Agents for Industrial AI"

HOMEPAGE="https://openssa.org"
LICENSE="Apache-2.0"
SRC_URI="https://files.pythonhosted.org/packages/source/${REALNAME::1}/${REALNAME}/${REALNAME}-${REALVERSION}.tar.gz"
SOURCEFILE="${REALNAME}-${REALVERSION}.tar.gz"
RESTRICT="test"

SLOT="0"
KEYWORDS="~amd64 ~x86"

IUSE="contrib langchain"
DEPENDENCIES="dev-python/adlfs[${PYTHON_USEDEP}]
	>dev-python/certifi-2024.12[${PYTHON_USEDEP}]
	dev-python/docx2txt[${PYTHON_USEDEP}]
	langchain? ( dev-python/faiss-cpu[${PYTHON_USEDEP}] )
	>=dev-python/fsspec-2024.10[${PYTHON_USEDEP}]
	dev-python/gcsfs[${PYTHON_USEDEP}]
	>=dev-python/google-api-python-client-2.155[${PYTHON_USEDEP}]
	dev-python/googlesearch-python[${PYTHON_USEDEP}]
	>=dev-python/httpx-0.28[${PYTHON_USEDEP}]
	dev-python/huggingface-hub[${PYTHON_USEDEP}]
	langchain? ( dev-python/langchainhub[${PYTHON_USEDEP}] )
	dev-python/llama-index[${PYTHON_USEDEP}]
	dev-python/llama-index-embeddings-azure-openai[${PYTHON_USEDEP}]
	dev-python/llama-index-llms-azure-openai[${PYTHON_USEDEP}]
	dev-python/llama-index-readers-web[${PYTHON_USEDEP}]
	>=dev-python/loguru-0.7[${PYTHON_USEDEP}]
	dev-python/openai[${PYTHON_USEDEP}]
	>=dev-python/pycryptodome-3.21[${PYTHON_USEDEP}]
	>=dev-python/pydantic-2.10[${PYTHON_USEDEP}]
	>=dev-python/pypdf-5.1[${PYTHON_USEDEP}]
	>=dev-python/python-dotenv-1.0[${PYTHON_USEDEP}]
	dev-python/s3fs[${PYTHON_USEDEP}]
	contrib? ( dev-python/streamlit[${PYTHON_USEDEP}] )
	contrib? ( dev-python/streamlit-extras[${PYTHON_USEDEP}] )
	contrib? ( dev-python/streamlit-mic-recorder[${PYTHON_USEDEP}] )
	>=dev-python/tqdm-4.67[${PYTHON_USEDEP}]"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"