python3Packages.pyldavis: init at 3.4.1 (#354505)

This commit is contained in:
Felix Bühler 2024-11-15 23:44:53 +01:00 committed by GitHub
commit 7266f0b7a5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 53 additions and 0 deletions

View File

@ -0,0 +1,51 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
funcy,
ipython,
jinja2,
joblib,
numpy,
pandas,
scikit-learn,
scipy,
}:
buildPythonPackage rec {
pname = "pyLDAvis";
version = "3.4.1";
format = "setuptools";
src = fetchFromGitHub {
owner = "bmabey";
repo = "pyLDAvis";
rev = version;
sha256 = "sha256-WIQytds3PeU85l6ix2UUIwypjpM5rMZvQxiHx9BY91Y=";
};
propagatedBuildInputs = [
funcy
jinja2
joblib
ipython
numpy
pandas
scikit-learn
scipy
];
pythonImportsCheck = [
"pyLDAvis"
"pyLDAvis.gensim_models"
];
meta = with lib; {
homepage = "https://github.com/bmabey/pyLDAvis";
description = "Python library for interactive topic model visualization";
maintainers = with lib.maintainers; [ gm6k ];
license = licenses.bsd3;
sourceProvenance = with sourceTypes; [ fromSource ];
platforms = platforms.all;
};
}

View File

@ -10419,6 +10419,8 @@ self: super: with self; {
inherit (pkgs) protobuf;
};
pyldavis = callPackage ../development/python-modules/pyldavis { };
pylddwrap = callPackage ../development/python-modules/pylddwrap { };
pyloadapi = callPackage ../development/python-modules/pyloadapi { };