# 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="Utilities for machine learning, python web services, and cloud infrastructure"

HOMEPAGE="https://github.com/bavard-ai/bavard-ml-utils"
LICENSE="MIT"
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="aws gcp ml"
DEPENDENCIES="dev-python/fastapi[${PYTHON_USEDEP}]
	<dev-python/pydantic-2.0.0[${PYTHON_USEDEP}]
	ml? ( <dev-python/numpy-2.0.0[${PYTHON_USEDEP}] )
	ml? ( <dev-python/scikit-learn-2.0.0[${PYTHON_USEDEP}] )
	ml? ( <dev-python/networkx-3.0.0[${PYTHON_USEDEP}] )
	<dev-python/requests-3.0.0[${PYTHON_USEDEP}]
	<dev-python/loguru-1.0.0[${PYTHON_USEDEP}]
	gcp? ( dev-python/google-cloud-storage[${PYTHON_USEDEP}] )
	gcp? ( dev-python/google-cloud-pubsub[${PYTHON_USEDEP}] )
	gcp? ( dev-python/google-cloud-error-reporting[${PYTHON_USEDEP}] )
	gcp? ( dev-python/google-cloud-firestore[${PYTHON_USEDEP}] )
	aws? ( <dev-python/boto3-2.0.0[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"