diff --git a/docs/conf.py b/docs/conf.py
index 1d7bd26..ffb516d 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -1,3 +1,7 @@
+# SPDX-License-Identifier: GPL-3.0-or-later
+# SPDX-FileCopyrightText: 2025 Yakau Bubnou
+# SPDX-FileType: SOURCE
+
import inspect
import sys
import warnings
diff --git a/include/torch_geopooling/embedding.h b/include/torch_geopooling/embedding.h
index 453fa5b..41189ec 100644
--- a/include/torch_geopooling/embedding.h
+++ b/include/torch_geopooling/embedding.h
@@ -1,17 +1,6 @@
-/// Copyright (C) 2024, Yakau Bubnou
-///
-/// This program is free software: you can redistribute it and/or modify
-/// it under the terms of the GNU General Public License as published by
-/// the Free Software Foundation, either version 3 of the License, or
-/// (at your option) any later version.
-///
-/// This program is distributed in the hope that it will be useful,
-/// but WITHOUT ANY WARRANTY; without even the implied warranty of
-/// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-/// GNU General Public License for more details.
-///
-/// You should have received a copy of the GNU General Public License
-/// along with this program. If not, see .
+// SPDX-License-Identifier: GPL-3.0-or-later
+// SPDX-FileCopyrightText: 2025 Yakau Bubnou
+// SPDX-FileType: SOURCE
#pragma once
diff --git a/include/torch_geopooling/exception.h b/include/torch_geopooling/exception.h
index 890b8e1..ab03cef 100644
--- a/include/torch_geopooling/exception.h
+++ b/include/torch_geopooling/exception.h
@@ -1,17 +1,6 @@
-/// Copyright (C) 2024, Yakau Bubnou
-///
-/// This program is free software: you can redistribute it and/or modify
-/// it under the terms of the GNU General Public License as published by
-/// the Free Software Foundation, either version 3 of the License, or
-/// (at your option) any later version.
-///
-/// This program is distributed in the hope that it will be useful,
-/// but WITHOUT ANY WARRANTY; without even the implied warranty of
-/// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-/// GNU General Public License for more details.
-///
-/// You should have received a copy of the GNU General Public License
-/// along with this program. If not, see .
+// SPDX-License-Identifier: GPL-3.0-or-later
+// SPDX-FileCopyrightText: 2025 Yakau Bubnou
+// SPDX-FileType: SOURCE
#pragma once
diff --git a/include/torch_geopooling/formatting.h b/include/torch_geopooling/formatting.h
index 174ef10..7674f1f 100644
--- a/include/torch_geopooling/formatting.h
+++ b/include/torch_geopooling/formatting.h
@@ -1,17 +1,6 @@
-/// Copyright (C) 2024, Yakau Bubnou
-///
-/// This program is free software: you can redistribute it and/or modify
-/// it under the terms of the GNU General Public License as published by
-/// the Free Software Foundation, either version 3 of the License, or
-/// (at your option) any later version.
-///
-/// This program is distributed in the hope that it will be useful,
-/// but WITHOUT ANY WARRANTY; without even the implied warranty of
-/// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-/// GNU General Public License for more details.
-///
-/// You should have received a copy of the GNU General Public License
-/// along with this program. If not, see .
+// SPDX-License-Identifier: GPL-3.0-or-later
+// SPDX-FileCopyrightText: 2025 Yakau Bubnou
+// SPDX-FileType: SOURCE
#pragma once
diff --git a/include/torch_geopooling/functional.h b/include/torch_geopooling/functional.h
index 4858b76..06d9d63 100644
--- a/include/torch_geopooling/functional.h
+++ b/include/torch_geopooling/functional.h
@@ -1,17 +1,6 @@
-/// Copyright (C) 2024, Yakau Bubnou
-///
-/// This program is free software: you can redistribute it and/or modify
-/// it under the terms of the GNU General Public License as published by
-/// the Free Software Foundation, either version 3 of the License, or
-/// (at your option) any later version.
-///
-/// This program is distributed in the hope that it will be useful,
-/// but WITHOUT ANY WARRANTY; without even the implied warranty of
-/// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-/// GNU General Public License for more details.
-///
-/// You should have received a copy of the GNU General Public License
-/// along with this program. If not, see .
+// SPDX-License-Identifier: GPL-3.0-or-later
+// SPDX-FileCopyrightText: 2025 Yakau Bubnou
+// SPDX-FileType: SOURCE
#pragma once
diff --git a/include/torch_geopooling/quadpool.h b/include/torch_geopooling/quadpool.h
index 22f1f6c..c6604ba 100644
--- a/include/torch_geopooling/quadpool.h
+++ b/include/torch_geopooling/quadpool.h
@@ -1,17 +1,6 @@
-/// Copyright (C) 2024, Yakau Bubnou
-///
-/// This program is free software: you can redistribute it and/or modify
-/// it under the terms of the GNU General Public License as published by
-/// the Free Software Foundation, either version 3 of the License, or
-/// (at your option) any later version.
-///
-/// This program is distributed in the hope that it will be useful,
-/// but WITHOUT ANY WARRANTY; without even the implied warranty of
-/// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-/// GNU General Public License for more details.
-///
-/// You should have received a copy of the GNU General Public License
-/// along with this program. If not, see .
+// SPDX-License-Identifier: GPL-3.0-or-later
+// SPDX-FileCopyrightText: 2025 Yakau Bubnou
+// SPDX-FileType: SOURCE
#pragma once
diff --git a/include/torch_geopooling/quadrect.h b/include/torch_geopooling/quadrect.h
index 33c9180..7e2cb80 100644
--- a/include/torch_geopooling/quadrect.h
+++ b/include/torch_geopooling/quadrect.h
@@ -1,17 +1,6 @@
-/// Copyright (C) 2024, Yakau Bubnou
-///
-/// This program is free software: you can redistribute it and/or modify
-/// it under the terms of the GNU General Public License as published by
-/// the Free Software Foundation, either version 3 of the License, or
-/// (at your option) any later version.
-///
-/// This program is distributed in the hope that it will be useful,
-/// but WITHOUT ANY WARRANTY; without even the implied warranty of
-/// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-/// GNU General Public License for more details.
-///
-/// You should have received a copy of the GNU General Public License
-/// along with this program. If not, see .
+// SPDX-License-Identifier: GPL-3.0-or-later
+// SPDX-FileCopyrightText: 2025 Yakau Bubnou
+// SPDX-FileType: SOURCE
#pragma once
diff --git a/include/torch_geopooling/quadtree.h b/include/torch_geopooling/quadtree.h
index 1b96b88..b1d4821 100644
--- a/include/torch_geopooling/quadtree.h
+++ b/include/torch_geopooling/quadtree.h
@@ -1,17 +1,6 @@
-/// Copyright (C) 2024, Yakau Bubnou
-///
-/// This program is free software: you can redistribute it and/or modify
-/// it under the terms of the GNU General Public License as published by
-/// the Free Software Foundation, either version 3 of the License, or
-/// (at your option) any later version.
-///
-/// This program is distributed in the hope that it will be useful,
-/// but WITHOUT ANY WARRANTY; without even the implied warranty of
-/// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-/// GNU General Public License for more details.
-///
-/// You should have received a copy of the GNU General Public License
-/// along with this program. If not, see .
+// SPDX-License-Identifier: GPL-3.0-or-later
+// SPDX-FileCopyrightText: 2025 Yakau Bubnou
+// SPDX-FileType: SOURCE
#pragma once
diff --git a/include/torch_geopooling/quadtree_node.h b/include/torch_geopooling/quadtree_node.h
index ae481e3..674eea7 100644
--- a/include/torch_geopooling/quadtree_node.h
+++ b/include/torch_geopooling/quadtree_node.h
@@ -1,17 +1,6 @@
-/// Copyright (C) 2024, Yakau Bubnou
-///
-/// This program is free software: you can redistribute it and/or modify
-/// it under the terms of the GNU General Public License as published by
-/// the Free Software Foundation, either version 3 of the License, or
-/// (at your option) any later version.
-///
-/// This program is distributed in the hope that it will be useful,
-/// but WITHOUT ANY WARRANTY; without even the implied warranty of
-/// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-/// GNU General Public License for more details.
-///
-/// You should have received a copy of the GNU General Public License
-/// along with this program. If not, see .
+// SPDX-License-Identifier: GPL-3.0-or-later
+// SPDX-FileCopyrightText: 2025 Yakau Bubnou
+// SPDX-FileType: SOURCE
#pragma once
diff --git a/include/torch_geopooling/quadtree_options.h b/include/torch_geopooling/quadtree_options.h
index 1117b54..ae4e506 100644
--- a/include/torch_geopooling/quadtree_options.h
+++ b/include/torch_geopooling/quadtree_options.h
@@ -1,17 +1,6 @@
-/// Copyright (C) 2024, Yakau Bubnou
-///
-/// This program is free software: you can redistribute it and/or modify
-/// it under the terms of the GNU General Public License as published by
-/// the Free Software Foundation, either version 3 of the License, or
-/// (at your option) any later version.
-///
-/// This program is distributed in the hope that it will be useful,
-/// but WITHOUT ANY WARRANTY; without even the implied warranty of
-/// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-/// GNU General Public License for more details.
-///
-/// You should have received a copy of the GNU General Public License
-/// along with this program. If not, see .
+// SPDX-License-Identifier: GPL-3.0-or-later
+// SPDX-FileCopyrightText: 2025 Yakau Bubnou
+// SPDX-FileType: SOURCE
#pragma once
diff --git a/include/torch_geopooling/quadtree_set.h b/include/torch_geopooling/quadtree_set.h
index 6f51ae2..095399d 100644
--- a/include/torch_geopooling/quadtree_set.h
+++ b/include/torch_geopooling/quadtree_set.h
@@ -1,17 +1,6 @@
-/// Copyright (C) 2024, Yakau Bubnou
-///
-/// This program is free software: you can redistribute it and/or modify
-/// it under the terms of the GNU General Public License as published by
-/// the Free Software Foundation, either version 3 of the License, or
-/// (at your option) any later version.
-///
-/// This program is distributed in the hope that it will be useful,
-/// but WITHOUT ANY WARRANTY; without even the implied warranty of
-/// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-/// GNU General Public License for more details.
-///
-/// You should have received a copy of the GNU General Public License
-/// along with this program. If not, see .
+// SPDX-License-Identifier: GPL-3.0-or-later
+// SPDX-FileCopyrightText: 2025 Yakau Bubnou
+// SPDX-FileType: SOURCE
#pragma once
diff --git a/include/torch_geopooling/tile.h b/include/torch_geopooling/tile.h
index 7f28865..ef50a48 100644
--- a/include/torch_geopooling/tile.h
+++ b/include/torch_geopooling/tile.h
@@ -1,17 +1,6 @@
-/// Copyright (C) 2024, Yakau Bubnou
-///
-/// This program is free software: you can redistribute it and/or modify
-/// it under the terms of the GNU General Public License as published by
-/// the Free Software Foundation, either version 3 of the License, or
-/// (at your option) any later version.
-///
-/// This program is distributed in the hope that it will be useful,
-/// but WITHOUT ANY WARRANTY; without even the implied warranty of
-/// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-/// GNU General Public License for more details.
-///
-/// You should have received a copy of the GNU General Public License
-/// along with this program. If not, see .
+// SPDX-License-Identifier: GPL-3.0-or-later
+// SPDX-FileCopyrightText: 2025 Yakau Bubnou
+// SPDX-FileType: SOURCE
#pragma once
diff --git a/include/torch_geopooling/torch_geopooling.h b/include/torch_geopooling/torch_geopooling.h
index fb7d6ac..a65dd60 100644
--- a/include/torch_geopooling/torch_geopooling.h
+++ b/include/torch_geopooling/torch_geopooling.h
@@ -1,3 +1,7 @@
+// SPDX-License-Identifier: GPL-3.0-or-later
+// SPDX-FileCopyrightText: 2025 Yakau Bubnou
+// SPDX-FileType: SOURCE
+
#pragma once
#include
diff --git a/setup.py b/setup.py
index 7b1a4e4..03e2f9d 100644
--- a/setup.py
+++ b/setup.py
@@ -1,3 +1,7 @@
+# SPDX-License-Identifier: GPL-3.0-or-later
+# SPDX-FileCopyrightText: 2025 Yakau Bubnou
+# SPDX-FileType: SOURCE
+
from __future__ import annotations
import re
diff --git a/setuptools_cxx/__init__.py b/setuptools_cxx/__init__.py
index e69de29..88c39ed 100644
--- a/setuptools_cxx/__init__.py
+++ b/setuptools_cxx/__init__.py
@@ -0,0 +1,3 @@
+# SPDX-License-Identifier: GPL-3.0-or-later
+# SPDX-FileCopyrightText: 2025 Yakau Bubnou
+# SPDX-FileType: SOURCE
diff --git a/setuptools_cxx/build_ext.py b/setuptools_cxx/build_ext.py
index e1309a3..7b2f175 100644
--- a/setuptools_cxx/build_ext.py
+++ b/setuptools_cxx/build_ext.py
@@ -1,17 +1,6 @@
-# Copyright (C) 2024, Yakau Bubnou
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see .
+# SPDX-License-Identifier: GPL-3.0-or-later
+# SPDX-FileCopyrightText: 2025 Yakau Bubnou
+# SPDX-FileType: SOURCE
import os
import platform
diff --git a/setuptools_cxx/build_meta.py b/setuptools_cxx/build_meta.py
index 1813a82..5a5a81f 100644
--- a/setuptools_cxx/build_meta.py
+++ b/setuptools_cxx/build_meta.py
@@ -1,17 +1,6 @@
-# Copyright (C) 2024, Yakau Bubnou
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see .
+# SPDX-License-Identifier: GPL-3.0-or-later
+# SPDX-FileCopyrightText: 2025 Yakau Bubnou
+# SPDX-FileType: SOURCE
from setuptools import build_meta as _build_meta
from setuptools.build_meta import * # noqa
diff --git a/torch_geopooling/__bind__/python_module.cc b/torch_geopooling/__bind__/python_module.cc
index 0b87fd1..bd26b78 100644
--- a/torch_geopooling/__bind__/python_module.cc
+++ b/torch_geopooling/__bind__/python_module.cc
@@ -1,3 +1,7 @@
+// SPDX-License-Identifier: GPL-3.0-or-later
+// SPDX-FileCopyrightText: 2025 Yakau Bubnou
+// SPDX-FileType: SOURCE
+
#include
#include
diff --git a/torch_geopooling/__bind__/python_tuples.h b/torch_geopooling/__bind__/python_tuples.h
index 5e25d1a..e04d0c2 100644
--- a/torch_geopooling/__bind__/python_tuples.h
+++ b/torch_geopooling/__bind__/python_tuples.h
@@ -1,3 +1,7 @@
+// SPDX-License-Identifier: GPL-3.0-or-later
+// SPDX-FileCopyrightText: 2025 Yakau Bubnou
+// SPDX-FileType: SOURCE
+
#pragma once
#include
diff --git a/torch_geopooling/__init__.py b/torch_geopooling/__init__.py
index e24aa7f..b198ccc 100644
--- a/torch_geopooling/__init__.py
+++ b/torch_geopooling/__init__.py
@@ -1,3 +1,7 @@
+# SPDX-License-Identifier: GPL-3.0-or-later
+# SPDX-FileCopyrightText: 2025 Yakau Bubnou
+# SPDX-FileType: SOURCE
+
from typing import Final
__version__: Final[str] = "1.2.0"
diff --git a/torch_geopooling/functional/__init__.py b/torch_geopooling/functional/__init__.py
index 96536a0..b790dff 100644
--- a/torch_geopooling/functional/__init__.py
+++ b/torch_geopooling/functional/__init__.py
@@ -1,2 +1,6 @@
+# SPDX-License-Identifier: GPL-3.0-or-later
+# SPDX-FileCopyrightText: 2025 Yakau Bubnou
+# SPDX-FileType: SOURCE
+
from torch_geopooling.functional.embedding import * # noqa
from torch_geopooling.functional.pooling import * # noqa
diff --git a/torch_geopooling/functional/embedding.py b/torch_geopooling/functional/embedding.py
index d78347a..93200ac 100644
--- a/torch_geopooling/functional/embedding.py
+++ b/torch_geopooling/functional/embedding.py
@@ -1,17 +1,6 @@
-# Copyright (C) 2024, Yakau Bubnou
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see .
+# SPDX-License-Identifier: GPL-3.0-or-later
+# SPDX-FileCopyrightText: 2025 Yakau Bubnou
+# SPDX-FileType: SOURCE
from typing import Optional, Tuple
diff --git a/torch_geopooling/functional/embedding_test.py b/torch_geopooling/functional/embedding_test.py
index db2963b..3750c93 100644
--- a/torch_geopooling/functional/embedding_test.py
+++ b/torch_geopooling/functional/embedding_test.py
@@ -1,17 +1,6 @@
-# Copyright (C) 2024, Yakau Bubnou
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see .
+# SPDX-License-Identifier: GPL-3.0-or-later
+# SPDX-FileCopyrightText: 2025 Yakau Bubnou
+# SPDX-FileType: SOURCE
import torch
from torch_geopooling.functional.embedding import embedding2d
diff --git a/torch_geopooling/functional/pooling.py b/torch_geopooling/functional/pooling.py
index 3401e73..8fa8b7f 100644
--- a/torch_geopooling/functional/pooling.py
+++ b/torch_geopooling/functional/pooling.py
@@ -1,17 +1,6 @@
-# Copyright (C) 2024, Yakau Bubnou
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see .
+# SPDX-License-Identifier: GPL-3.0-or-later
+# SPDX-FileCopyrightText: 2025 Yakau Bubnou
+# SPDX-FileType: SOURCE
from textwrap import dedent, indent
from functools import partial
diff --git a/torch_geopooling/functional/pooling_test.py b/torch_geopooling/functional/pooling_test.py
index f947ede..d86386d 100644
--- a/torch_geopooling/functional/pooling_test.py
+++ b/torch_geopooling/functional/pooling_test.py
@@ -1,17 +1,6 @@
-# Copyright (C) 2024, Yakau Bubnou
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see .
+# SPDX-License-Identifier: GPL-3.0-or-later
+# SPDX-FileCopyrightText: 2025 Yakau Bubnou
+# SPDX-FileType: SOURCE
import pytest
import torch
diff --git a/torch_geopooling/nn/__init__.py b/torch_geopooling/nn/__init__.py
index dd3a807..6759622 100644
--- a/torch_geopooling/nn/__init__.py
+++ b/torch_geopooling/nn/__init__.py
@@ -1,2 +1,6 @@
+# SPDX-License-Identifier: GPL-3.0-or-later
+# SPDX-FileCopyrightText: 2025 Yakau Bubnou
+# SPDX-FileType: SOURCE
+
from torch_geopooling.nn.embedding import * # noqa
from torch_geopooling.nn.pooling import * # noqa
diff --git a/torch_geopooling/nn/embedding.py b/torch_geopooling/nn/embedding.py
index d678fb2..5bb4b18 100644
--- a/torch_geopooling/nn/embedding.py
+++ b/torch_geopooling/nn/embedding.py
@@ -1,17 +1,6 @@
-# Copyright (C) 2024, Yakau Bubnou
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see .
+# SPDX-License-Identifier: GPL-3.0-or-later
+# SPDX-FileCopyrightText: 2025 Yakau Bubnou
+# SPDX-FileType: SOURCE
from typing import Union, Tuple, cast
diff --git a/torch_geopooling/nn/embedding_test.py b/torch_geopooling/nn/embedding_test.py
index 2e5bdc8..1703dac 100644
--- a/torch_geopooling/nn/embedding_test.py
+++ b/torch_geopooling/nn/embedding_test.py
@@ -1,17 +1,6 @@
-# Copyright (C) 2024, Yakau Bubnou
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see .
+# SPDX-License-Identifier: GPL-3.0-or-later
+# SPDX-FileCopyrightText: 2025 Yakau Bubnou
+# SPDX-FileType: SOURCE
import pytest
import torch
diff --git a/torch_geopooling/nn/pooling.py b/torch_geopooling/nn/pooling.py
index b646a68..35e98a2 100644
--- a/torch_geopooling/nn/pooling.py
+++ b/torch_geopooling/nn/pooling.py
@@ -1,17 +1,6 @@
-# Copyright (C) 2024, Yakau Bubnou
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see .
+# SPDX-License-Identifier: GPL-3.0-or-later
+# SPDX-FileCopyrightText: 2025 Yakau Bubnou
+# SPDX-FileType: SOURCE
from typing import Optional, Union
diff --git a/torch_geopooling/nn/pooling_test.py b/torch_geopooling/nn/pooling_test.py
index 7bbb3ce..f9b4915 100644
--- a/torch_geopooling/nn/pooling_test.py
+++ b/torch_geopooling/nn/pooling_test.py
@@ -1,17 +1,6 @@
-# Copyright (C) 2024, Yakau Bubnou
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see .
+# SPDX-License-Identifier: GPL-3.0-or-later
+# SPDX-FileCopyrightText: 2025 Yakau Bubnou
+# SPDX-FileType: SOURCE
from typing import Type
diff --git a/torch_geopooling/return_types.py b/torch_geopooling/return_types.py
index dcd34c9..a7f2bc6 100644
--- a/torch_geopooling/return_types.py
+++ b/torch_geopooling/return_types.py
@@ -1,17 +1,6 @@
-# Copyright (C) 2024, Yakau Bubnou
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see .
+# SPDX-License-Identifier: GPL-3.0-or-later
+# SPDX-FileCopyrightText: 2025 Yakau Bubnou
+# SPDX-FileType: SOURCE
from typing import NamedTuple
diff --git a/torch_geopooling/tiling.py b/torch_geopooling/tiling.py
index 47d7639..3e04bbe 100644
--- a/torch_geopooling/tiling.py
+++ b/torch_geopooling/tiling.py
@@ -1,3 +1,7 @@
+# SPDX-License-Identifier: GPL-3.0-or-later
+# SPDX-FileCopyrightText: 2025 Yakau Bubnou
+# SPDX-FileType: SOURCE
+
from __future__ import annotations
from collections import deque
diff --git a/torch_geopooling/transforms.py b/torch_geopooling/transforms.py
index 38ae536..11cc7a2 100644
--- a/torch_geopooling/transforms.py
+++ b/torch_geopooling/transforms.py
@@ -1,17 +1,6 @@
-# Copyright (C) 2024, Yakau Bubnou
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see .
+# SPDX-License-Identifier: GPL-3.0-or-later
+# SPDX-FileCopyrightText: 2025 Yakau Bubnou
+# SPDX-FileType: SOURCE
from __future__ import annotations
diff --git a/torch_geopooling/transforms_test.py b/torch_geopooling/transforms_test.py
index 4446dd0..8ff4856 100644
--- a/torch_geopooling/transforms_test.py
+++ b/torch_geopooling/transforms_test.py
@@ -1,17 +1,6 @@
-# Copyright (C) 2024, Yakau Bubnou
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see .
+# SPDX-License-Identifier: GPL-3.0-or-later
+# SPDX-FileCopyrightText: 2025 Yakau Bubnou
+# SPDX-FileType: SOURCE
import torch