From be5927e91b961d334a9abcd6f95d921da4830774 Mon Sep 17 00:00:00 2001 From: Aryan Saini Date: Thu, 8 Jan 2026 12:37:56 +0530 Subject: [PATCH 01/13] update pyproject --- pyproject.toml | 88 +++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 84 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index c6e17389..5cfd1191 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,86 @@ +[project] +name = "pytorch_tabular" +description = "A standard framework for modelling Deep Learning Models for tabular data" +readme = "README.md" # Markdown files are supported +version = "1.1.1" + +authors = [ + {name = "Manu Joseph V"}, +] +requires-python = ">=3.10,<3.15" +classifiers = [ + "Intended Audience :: Developers", + "Development Status :: 4 - Beta", + "Intended Audience :: Science/Research", + "Natural Language :: English", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", + "Topic :: Scientific/Engineering", + "Topic :: Scientific/Engineering :: Artificial Intelligence", + "Topic :: Software Development", + "Topic :: Software Development :: Libraries", + "Topic :: Software Development :: Libraries :: Python Modules", +] + +dependencies = [ + "numpy<=3.0.0", + "torch >=1.11.0", + "pytorch-lightning >=2.0.0", + "scipy >=1.8,<2.0", + "pandas >=1.1.5,<3.0.0", + "scikit-learn >=1.3.0,<2.0", + "omegaconf >=2.3.0", + "torchmetrics >=0.10.0, <1.7.0", + "tensorboard >2.2.0, !=2.5.0", + "protobuf >=3.20.0, <5.30.0", + "pytorch-tabnet ==4.1", + "PyYAML >=5.4, <6.1.0", + "matplotlib >3.1", + "ipywidgets", + "einops >=0.6.0, <0.8.0", + "rich >=11.0.0", + "fsspec >=2022.5.0, <2024.4.0", + +] +[project.optional-dependencies] +extra = [ + "wandb >=0.15.0, <0.19.0", + "plotly>=5.13.0, <5.25.0", + "kaleido >=0.2.0, <0.3.0", + "captum >=0.5.0, <0.8.0", +] +dev = [ + "wget", + "bump2version ==1.0.1", + "mkdocs-material ==9.5.*", + "ipython[notebook] >8.0, <9.0", + "mkdocstrings[python] ==0.29.*", + "mknotebooks ==0.8.*", + "pytest >=5.3.2", + "pytest-runner >=5.1", + "torch_optimizer", +] + +[build-system] +build-backend = "setuptools.build_meta" +requires = [ + "setuptools>=78.1.1", +] + +[tool.setuptools.packages.find] +where = ["."] +include = ["pytorch_tabular*"] +namespaces = false + [tool.ruff] -target-version = "py38" -line-length = 120 +target-version = "py310" +line-length = 88 + +[tool.ruff.lint] # Enable Pyflakes `E` and `F` codes by default. select = [ "E", "W", # see: https://pypi.org/project/pycodestyle @@ -40,8 +120,8 @@ ignore-init-module-imports = true "__init__.py" = ["D100"] [tool.ruff.pydocstyle] -# Use Google-style docstrings. -convention = "google" +# Use numpy-style docstrings. +convention = "numpy" [tool.docformatter] recursive = true From b5bf3b9120235d69f5d62d83d809e836b8478d4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franz=20Kir=C3=A1ly?= Date: Sat, 24 Jan 2026 18:18:22 +0100 Subject: [PATCH 02/13] reverts --- pyproject.toml | 98 +++++++++++++++++++++++++------------------------- 1 file changed, 49 insertions(+), 49 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 5cfd1191..5e684935 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,68 +1,68 @@ [project] name = "pytorch_tabular" -description = "A standard framework for modelling Deep Learning Models for tabular data" -readme = "README.md" # Markdown files are supported version = "1.1.1" +description = "A standard framework for using Deep Learning for tabular data" +readme = { file = "README.md", content-type = "text/markdown" } +license = { text = "MIT" } authors = [ - {name = "Manu Joseph V"}, + { name = "Manu Joseph", email = "manujosephv@gmail.com" } ] requires-python = ">=3.10,<3.15" classifiers = [ - "Intended Audience :: Developers", - "Development Status :: 4 - Beta", - "Intended Audience :: Science/Research", - "Natural Language :: English", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "Programming Language :: Python :: 3.13", - "Programming Language :: Python :: 3.14", - "Topic :: Scientific/Engineering", - "Topic :: Scientific/Engineering :: Artificial Intelligence", - "Topic :: Software Development", - "Topic :: Software Development :: Libraries", - "Topic :: Software Development :: Libraries :: Python Modules", + "Intended Audience :: Developers", + "Development Status :: 4 - Beta", + "Intended Audience :: Science/Research", + "Natural Language :: English", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", + "Topic :: Scientific/Engineering", + "Topic :: Scientific/Engineering :: Artificial Intelligence", + "Topic :: Software Development", + "Topic :: Software Development :: Libraries", + "Topic :: Software Development :: Libraries :: Python Modules", ] dependencies = [ - "numpy<=3.0.0", - "torch >=1.11.0", - "pytorch-lightning >=2.0.0", - "scipy >=1.8,<2.0", - "pandas >=1.1.5,<3.0.0", - "scikit-learn >=1.3.0,<2.0", - "omegaconf >=2.3.0", - "torchmetrics >=0.10.0, <1.7.0", - "tensorboard >2.2.0, !=2.5.0", - "protobuf >=3.20.0, <5.30.0", - "pytorch-tabnet ==4.1", - "PyYAML >=5.4, <6.1.0", - "matplotlib >3.1", - "ipywidgets", - "einops >=0.6.0, <0.8.0", - "rich >=11.0.0", - "fsspec >=2022.5.0, <2024.4.0", - + "numpy<=3.0.0", + "torch >=1.11.0", + "pytorch-lightning >=2.0.0", + "scipy >=1.8,<2.0", + "pandas >=1.1.5,<3.0.0", + "scikit-learn >=1.3.0,<2.0", + "omegaconf >=2.3.0", + "torchmetrics >=0.10.0, <1.7.0", + "tensorboard >2.2.0, !=2.5.0", + "protobuf >=3.20.0, <5.30.0", + "pytorch-tabnet ==4.1", + "PyYAML >=5.4, <6.1.0", + "matplotlib >3.1", + "ipywidgets", + "einops >=0.6.0, <0.8.0", + "rich >=11.0.0", + "fsspec >=2022.5.0, <2024.4.0", ] [project.optional-dependencies] extra = [ - "wandb >=0.15.0, <0.19.0", - "plotly>=5.13.0, <5.25.0", - "kaleido >=0.2.0, <0.3.0", - "captum >=0.5.0, <0.8.0", + "wandb >=0.15.0, <0.19.0", + "plotly>=5.13.0, <5.25.0", + "kaleido >=0.2.0, <0.3.0", + "captum >=0.5.0, <0.8.0", ] dev = [ - "wget", - "bump2version ==1.0.1", - "mkdocs-material ==9.5.*", - "ipython[notebook] >8.0, <9.0", - "mkdocstrings[python] ==0.29.*", - "mknotebooks ==0.8.*", - "pytest >=5.3.2", - "pytest-runner >=5.1", - "torch_optimizer", + "wget", + "bump2version ==1.0.1", + "mkdocs-material ==9.5.*", + "ipython[notebook] >8.0, <9.0", + "mkdocstrings[python] ==0.29.*", + "mknotebooks ==0.8.*", + "pytest >=5.3.2", + "pytest-runner >=5.1", + "torch_optimizer", ] [build-system] From d30e3cfd82c97d3196619c5a793c1f7bfa02e1de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franz=20Kir=C3=A1ly?= Date: Sat, 24 Jan 2026 18:18:57 +0100 Subject: [PATCH 03/13] reverts --- pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 5e684935..c1326935 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,8 +10,9 @@ authors = [ ] requires-python = ">=3.10,<3.15" classifiers = [ - "Intended Audience :: Developers", "Development Status :: 4 - Beta", + "Intended Audience :: Developers", + "License :: OSI Approved :: MIT License", "Intended Audience :: Science/Research", "Natural Language :: English", "Programming Language :: Python :: 3", From 9339dca5512289de339d38b8ac9b3f97804f8a9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franz=20Kir=C3=A1ly?= Date: Sat, 24 Jan 2026 18:19:56 +0100 Subject: [PATCH 04/13] remove spaces --- pyproject.toml | 52 +++++++++++++++++++++++++------------------------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index c1326935..529bcf75 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -30,39 +30,39 @@ classifiers = [ dependencies = [ "numpy<=3.0.0", - "torch >=1.11.0", - "pytorch-lightning >=2.0.0", - "scipy >=1.8,<2.0", - "pandas >=1.1.5,<3.0.0", - "scikit-learn >=1.3.0,<2.0", - "omegaconf >=2.3.0", - "torchmetrics >=0.10.0, <1.7.0", - "tensorboard >2.2.0, !=2.5.0", - "protobuf >=3.20.0, <5.30.0", - "pytorch-tabnet ==4.1", - "PyYAML >=5.4, <6.1.0", - "matplotlib >3.1", + "torch>=1.11.0", + "pytorch-lightning>=2.0.0", + "scipy>=1.8,<2.0", + "pandas>=1.1.5,<3.0.0", + "scikit-learn>=1.3.0,<2.0", + "omegaconf>=2.3.0", + "torchmetrics>=0.10.0, <1.7.0", + "tensorboard>2.2.0,!=2.5.0", + "protobuf>=3.20.0,<5.30.0", + "pytorch-tabnet==4.1", + "PyYAML>=5.4,<6.1.0", + "matplotlib>3.1", "ipywidgets", - "einops >=0.6.0, <0.8.0", - "rich >=11.0.0", - "fsspec >=2022.5.0, <2024.4.0", + "einops>=0.6.0,<0.8.0", + "rich>=11.0.0", + "fsspec>=2022.5.0,<2024.4.0", ] [project.optional-dependencies] extra = [ - "wandb >=0.15.0, <0.19.0", - "plotly>=5.13.0, <5.25.0", - "kaleido >=0.2.0, <0.3.0", - "captum >=0.5.0, <0.8.0", + "wandb>=0.15.0,<0.19.0", + "plotly>=5.13.0,<5.25.0", + "kaleido>=0.2.0,<0.3.0", + "captum>=0.5.0,<0.8.0", ] dev = [ "wget", - "bump2version ==1.0.1", - "mkdocs-material ==9.5.*", - "ipython[notebook] >8.0, <9.0", - "mkdocstrings[python] ==0.29.*", - "mknotebooks ==0.8.*", - "pytest >=5.3.2", - "pytest-runner >=5.1", + "bump2version==1.0.1", + "mkdocs-material==9.5.*", + "ipython[notebook]>8.0,<9.0", + "mkdocstrings[python]==0.29.*", + "mknotebooks==0.8.*", + "pytest>=5.3.2", + "pytest-runner>=5.1", "torch_optimizer", ] From be57d9c85344d9bdaa915623b98e8af93d67c7db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franz=20Kir=C3=A1ly?= Date: Sat, 24 Jan 2026 18:20:22 +0100 Subject: [PATCH 05/13] reverts --- pyproject.toml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 529bcf75..7f610efa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -47,13 +47,10 @@ dependencies = [ "rich>=11.0.0", "fsspec>=2022.5.0,<2024.4.0", ] + + [project.optional-dependencies] -extra = [ - "wandb>=0.15.0,<0.19.0", - "plotly>=5.13.0,<5.25.0", - "kaleido>=0.2.0,<0.3.0", - "captum>=0.5.0,<0.8.0", -] + dev = [ "wget", "bump2version==1.0.1", @@ -66,6 +63,13 @@ dev = [ "torch_optimizer", ] +extra = [ + "wandb>=0.15.0,<0.19.0", + "plotly>=5.13.0,<5.25.0", + "kaleido>=0.2.0,<0.3.0", + "captum>=0.5.0,<0.8.0", +] + [build-system] build-backend = "setuptools.build_meta" requires = [ From acf6c4ba6c16c76ca4394e2f2100e29ef7d50ea3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franz=20Kir=C3=A1ly?= Date: Sat, 24 Jan 2026 18:20:48 +0100 Subject: [PATCH 06/13] reverts --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 7f610efa..6fe055dd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -36,7 +36,7 @@ dependencies = [ "pandas>=1.1.5,<3.0.0", "scikit-learn>=1.3.0,<2.0", "omegaconf>=2.3.0", - "torchmetrics>=0.10.0, <1.7.0", + "torchmetrics>=0.10.0,<1.7.0", "tensorboard>2.2.0,!=2.5.0", "protobuf>=3.20.0,<5.30.0", "pytorch-tabnet==4.1", @@ -45,7 +45,7 @@ dependencies = [ "ipywidgets", "einops>=0.6.0,<0.8.0", "rich>=11.0.0", - "fsspec>=2022.5.0,<2024.4.0", + "fsspec>=2022.5.0,<2024.4.0; python_version == '3.8'", ] From 0776e080eda5f58191620ba07562a9638c395c37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franz=20Kir=C3=A1ly?= Date: Sat, 24 Jan 2026 18:21:14 +0100 Subject: [PATCH 07/13] reverts --- pyproject.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 6fe055dd..28dfb3eb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,12 +29,12 @@ classifiers = [ ] dependencies = [ - "numpy<=3.0.0", "torch>=1.11.0", - "pytorch-lightning>=2.0.0", - "scipy>=1.8,<2.0", + "numpy<=3.0.0", "pandas>=1.1.5,<3.0.0", "scikit-learn>=1.3.0,<2.0", + "pytorch-lightning>=2.0.0", + "scipy>=1.8,<2.0", "omegaconf>=2.3.0", "torchmetrics>=0.10.0,<1.7.0", "tensorboard>2.2.0,!=2.5.0", From 8d3bb531902f25763b36c824f38497051154c673 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franz=20Kir=C3=A1ly?= Date: Sat, 24 Jan 2026 18:21:44 +0100 Subject: [PATCH 08/13] reverts --- pyproject.toml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 28dfb3eb..1fd5e3cb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,7 +8,17 @@ license = { text = "MIT" } authors = [ { name = "Manu Joseph", email = "manujosephv@gmail.com" } ] + requires-python = ">=3.10,<3.15" + +keywords = [ + "pytorch", + "tabular", + "pytorch-lightning", + "neural network", +] + + classifiers = [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", From 6a24b529e9a688ef5af52a1a43115c7c960f289b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franz=20Kir=C3=A1ly?= Date: Sat, 24 Jan 2026 18:22:29 +0100 Subject: [PATCH 09/13] Update pyproject.toml --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 1fd5e3cb..e651c048 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -43,7 +43,7 @@ dependencies = [ "numpy<=3.0.0", "pandas>=1.1.5,<3.0.0", "scikit-learn>=1.3.0,<2.0", - "pytorch-lightning>=2.0.0", + "pytorch-lightning>=2.0.0,<2.5.0", "scipy>=1.8,<2.0", "omegaconf>=2.3.0", "torchmetrics>=0.10.0,<1.7.0", From 94f746bf9b444b8991ec123f5b8e481ac3cf2ce5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franz=20Kir=C3=A1ly?= Date: Sat, 24 Jan 2026 18:22:55 +0100 Subject: [PATCH 10/13] reverts --- pyproject.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index e651c048..9e1d3654 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -80,7 +80,13 @@ extra = [ "captum>=0.5.0,<0.8.0", ] + +[project.urls] +Homepage = "https://github.com/pytorch-tabular/pytorch_tabular" + + [build-system] +requires = ["setuptools>=61.0", "wheel"] build-backend = "setuptools.build_meta" requires = [ "setuptools>=78.1.1", From f2f970b963fe000862b4262daac6268b870e5554 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franz=20Kir=C3=A1ly?= Date: Sat, 24 Jan 2026 18:23:53 +0100 Subject: [PATCH 11/13] reverts --- pyproject.toml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 9e1d3654..c41f41d1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -92,9 +92,15 @@ requires = [ "setuptools>=78.1.1", ] + +[tool.setuptools] +include-package-data = true +zip-safe = false + + [tool.setuptools.packages.find] -where = ["."] -include = ["pytorch_tabular*"] +where = ["src"] +include = ["pytorch_tabular", "pytorch_tabular.*"] namespaces = false [tool.ruff] From 16d4141eb0ed9fdc09bdae84180551d234971654 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franz=20Kir=C3=A1ly?= Date: Sat, 24 Jan 2026 18:24:22 +0100 Subject: [PATCH 12/13] Update pyproject.toml --- pyproject.toml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index c41f41d1..ea114f7b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -86,11 +86,8 @@ Homepage = "https://github.com/pytorch-tabular/pytorch_tabular" [build-system] -requires = ["setuptools>=61.0", "wheel"] +requires = ["setuptools>=78.1.1", "wheel"] build-backend = "setuptools.build_meta" -requires = [ - "setuptools>=78.1.1", -] [tool.setuptools] From af93cf1a821e8923b321a1c8dba71c12965f61d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franz=20Kir=C3=A1ly?= Date: Sat, 24 Jan 2026 18:24:49 +0100 Subject: [PATCH 13/13] Update pyproject.toml --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index ea114f7b..35395dba 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -98,7 +98,7 @@ zip-safe = false [tool.setuptools.packages.find] where = ["src"] include = ["pytorch_tabular", "pytorch_tabular.*"] -namespaces = false + [tool.ruff] target-version = "py310"