python3Packages.pysindy: init at 2.1.0

Initial packaging of pysindy.

Tests disabled due to optional dependencies (e.g. jax).
This commit is contained in:
ConstantConstantin
2026-03-31 19:34:32 +02:00
parent ffb60950de
commit 56b6284f75
2 changed files with 54 additions and 0 deletions
@@ -0,0 +1,52 @@
{
lib,
buildPythonPackage,
fetchPypi,
# build-system
setuptools,
setuptools-scm,
# dependencies
scikit-learn,
numpy,
derivative,
scipy,
typing-extensions,
}:
buildPythonPackage rec {
pname = "pysindy";
version = "2.1.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
sha256 = "sha256-NpZZ22MucuZwtkz9ef08C578jjo28MNfTxG4ROhjuwg=";
};
build-system = [
setuptools
setuptools-scm
];
dependencies = [
scikit-learn
numpy
derivative
scipy
typing-extensions
];
# Tests require optional dependencies like jax
doCheck = false;
pythonImportsCheck = [ "pysindy" ];
meta = {
description = "Sparse identification of nonlinear dynamical systems";
license = lib.licenses.mit;
homepage = "https://pysindy.readthedocs.io/en/latest/";
maintainers = with lib.maintainers; [ conny ];
};
}
+2
View File
@@ -14997,6 +14997,8 @@ self: super: with self; {
pysimplesoap = callPackage ../development/python-modules/pysimplesoap { };
pysindy = callPackage ../development/python-modules/pysindy { };
pysingleton = callPackage ../development/python-modules/pysingleton { };
pyskyqhub = callPackage ../development/python-modules/pyskyqhub { };