# 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="Synthetic Data Generation with optional Differential Privacy"

HOMEPAGE="https://github.com/gretelai/gretel-trainer"
LICENSE="https://gretel.ai/license/source-available-license"
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="bigquery connectors mysql postgres snowflake"
DEPENDENCIES="~dev-python/boto3-1.20[${PYTHON_USEDEP}]
	dev-python/dask[${PYTHON_USEDEP}]
	dev-python/gretel-client[${PYTHON_USEDEP}]
	~dev-python/jinja2-3.1[${PYTHON_USEDEP}]
	~dev-python/networkx-3.0[${PYTHON_USEDEP}]
	~dev-python/numpy-1.20[${PYTHON_USEDEP}]
	~dev-python/pandas-1.5[${PYTHON_USEDEP}]
	~dev-python/plotly-5.11[${PYTHON_USEDEP}]
	~dev-python/pydantic-1.9[${PYTHON_USEDEP}]
	~dev-python/requests-2.25[${PYTHON_USEDEP}]
	~dev-python/scikit-learn-1.0[${PYTHON_USEDEP}]
	dev-python/smart-open[${PYTHON_USEDEP}]
	~dev-python/sqlalchemy-1.4[${PYTHON_USEDEP}]
	~dev-python/typing-extensions-4.7[${PYTHON_USEDEP}]
	dev-python/unflatten[${PYTHON_USEDEP}]
	bigquery? ( dev-python/sqlalchemy-bigquery[${PYTHON_USEDEP}] )
	connectors? ( ~dev-python/mysqlclient-2.1[${PYTHON_USEDEP}] )
	connectors? ( dev-python/psycopg2-binary[${PYTHON_USEDEP}] )
	connectors? ( dev-python/snowflake-sqlalchemy[${PYTHON_USEDEP}] )
	connectors? ( dev-python/sqlalchemy-bigquery[${PYTHON_USEDEP}] )
	mysql? ( ~dev-python/mysqlclient-2.1[${PYTHON_USEDEP}] )
	postgres? ( dev-python/psycopg2-binary[${PYTHON_USEDEP}] )
	snowflake? ( dev-python/snowflake-sqlalchemy[${PYTHON_USEDEP}] )"
BDEPEND="${DEPENDENCIES}"
RDEPEND="${DEPENDENCIES}"