2024-10-30 08:13:27 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitHub,
|
|
|
|
pythonOlder,
|
|
|
|
pytestCheckHook,
|
|
|
|
dacite,
|
|
|
|
htmlmin,
|
|
|
|
imagehash,
|
|
|
|
jinja2,
|
|
|
|
matplotlib,
|
|
|
|
multimethod,
|
|
|
|
numba,
|
|
|
|
numpy,
|
|
|
|
pandas,
|
|
|
|
phik,
|
|
|
|
pyarrow,
|
|
|
|
pydantic,
|
|
|
|
pyyaml,
|
|
|
|
requests,
|
|
|
|
scipy,
|
|
|
|
setuptools,
|
|
|
|
seaborn,
|
|
|
|
statsmodels,
|
|
|
|
tqdm,
|
|
|
|
typeguard,
|
|
|
|
visions,
|
|
|
|
wordcloud,
|
2023-03-31 23:28:53 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ydata-profiling";
|
2024-10-30 08:13:27 +00:00
|
|
|
version = "4.12.0";
|
2023-03-31 23:28:53 +00:00
|
|
|
pyproject = true;
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ydataai";
|
2024-10-30 08:13:27 +00:00
|
|
|
repo = "ydata-profiling";
|
2024-09-01 13:42:22 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
2024-10-30 08:13:27 +00:00
|
|
|
hash = "sha256-G1qW6HcJi176nfxOBGBK2tLyY/Nnz9STYpZWluWvhP0=";
|
2023-03-31 23:28:53 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
preBuild = ''
|
|
|
|
echo ${version} > VERSION
|
|
|
|
'';
|
|
|
|
|
2024-10-30 08:13:27 +00:00
|
|
|
build-system = [ setuptools ];
|
|
|
|
|
2024-09-01 13:42:22 +00:00
|
|
|
pythonRelaxDeps = [
|
2024-10-30 08:13:27 +00:00
|
|
|
"imagehash"
|
2024-09-01 13:42:22 +00:00
|
|
|
"scipy"
|
|
|
|
];
|
|
|
|
|
2024-10-30 08:13:27 +00:00
|
|
|
dependencies = [
|
2023-03-31 23:28:53 +00:00
|
|
|
dacite
|
|
|
|
htmlmin
|
|
|
|
imagehash
|
|
|
|
jinja2
|
|
|
|
matplotlib
|
|
|
|
multimethod
|
|
|
|
numba
|
|
|
|
numpy
|
|
|
|
pandas
|
|
|
|
phik
|
|
|
|
pydantic
|
|
|
|
pyyaml
|
|
|
|
requests
|
|
|
|
scipy
|
|
|
|
seaborn
|
|
|
|
statsmodels
|
|
|
|
tqdm
|
|
|
|
typeguard
|
|
|
|
visions
|
|
|
|
wordcloud
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeCheckInputs = [
|
|
|
|
pyarrow
|
2024-10-30 08:13:27 +00:00
|
|
|
pytestCheckHook
|
2023-03-31 23:28:53 +00:00
|
|
|
];
|
2024-10-30 08:13:27 +00:00
|
|
|
|
2023-03-31 23:28:53 +00:00
|
|
|
disabledTestPaths = [
|
|
|
|
# needs Spark:
|
|
|
|
"tests/backends/spark_backend"
|
|
|
|
# try to download data:
|
|
|
|
"tests/issues"
|
|
|
|
"tests/unit/test_console.py"
|
|
|
|
"tests/unit/test_dataset_schema.py"
|
|
|
|
"tests/unit/test_modular.py"
|
|
|
|
];
|
2024-10-30 08:13:27 +00:00
|
|
|
|
2023-03-31 23:28:53 +00:00
|
|
|
disabledTests = [
|
|
|
|
# try to download data:
|
|
|
|
"test_decorator"
|
|
|
|
"test_example"
|
|
|
|
"test_load"
|
|
|
|
"test_urls"
|
|
|
|
];
|
|
|
|
|
2024-10-30 08:13:27 +00:00
|
|
|
pythonImportsCheck = [ "ydata_profiling" ];
|
2023-03-31 23:28:53 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Create HTML profiling reports from Pandas DataFrames";
|
|
|
|
homepage = "https://ydata-profiling.ydata.ai";
|
|
|
|
changelog = "https://github.com/ydataai/ydata-profiling/releases/tag/${version}";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ bcdarwin ];
|
|
|
|
mainProgram = "ydata_profiling";
|
|
|
|
};
|
|
|
|
}
|