# 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_11,3_12,3_13,3_14} )
DISTUTILS_USE_PEP517=standalone

inherit python-r1 gs-pypi

DESCRIPTION="Ship RAG based LLM Web API's, in seconds."

HOMEPAGE="https://github.com/safevideo/autollm"
LICENSE="AGPL-3"
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="dev readers"
DEPENDENCIES="dev-python/llama-index[${PYTHON_USEDEP}]
	dev-python/litellm[${PYTHON_USEDEP}]
	dev-python/uvicorn[${PYTHON_USEDEP}]
	dev-python/fastapi[${PYTHON_USEDEP}]
	dev-python/python-dotenv[${PYTHON_USEDEP}]
	dev-python/httpx[${PYTHON_USEDEP}]
	dev-python/lancedb[${PYTHON_USEDEP}]
	dev? ( dev-python/pre-commit[${PYTHON_USEDEP}] )
	dev? ( ~dev-python/pytest-7.4.2[${PYTHON_USEDEP}] )
	readers? ( ~dev-python/beautifulsoup4-4.12.2[${PYTHON_USEDEP}] )
	readers? ( dev-python/pdfminer-six[${PYTHON_USEDEP}] )
	readers? ( ~dev-python/gitpython-3.1.41[${PYTHON_USEDEP}] )
	readers? ( dev-python/docx2txt[${PYTHON_USEDEP}] )
	readers? ( dev-python/EbookLib[${PYTHON_USEDEP}] )
	readers? ( dev-python/html2text[${PYTHON_USEDEP}] )
	readers? ( dev-python/nbconvert[${PYTHON_USEDEP}] )
	readers? ( dev-python/langchain[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"