diff --git a/COPYRIGHT b/COPYRIGHT new file mode 100644 index 00000000..8ded39fb --- /dev/null +++ b/COPYRIGHT @@ -0,0 +1,4 @@ +Copyright (C) 2021 Matthieu Houdebine (mathoudebine) + +This project is licensed under the GNU General Public License v3.0 or later. +See https://www.gnu.org/licenses/gpl-3.0.html for details. diff --git a/configure.py b/configure.py index 386d0579..19ab8729 100755 --- a/configure.py +++ b/configure.py @@ -1,8 +1,10 @@ #!/usr/bin/env python +# SPDX-License-Identifier: GPL-3.0-or-later +# # turing-smart-screen-python - a Python system monitor and library for USB-C displays like Turing Smart Screen or XuanFang # https://github.com/mathoudebine/turing-smart-screen-python/ - -# Copyright (C) 2021-2023 Matthieu Houdebine (mathoudebine) +# +# Copyright (C) 2021 Matthieu Houdebine (mathoudebine) # # 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 diff --git a/external/LibreHardwareMonitor/test_librehardwaremonitor.py b/external/LibreHardwareMonitor/test_librehardwaremonitor.py index 9f4e8e0d..71a71ebc 100644 --- a/external/LibreHardwareMonitor/test_librehardwaremonitor.py +++ b/external/LibreHardwareMonitor/test_librehardwaremonitor.py @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: GPL-3.0-or-later +# # Use this file to display all hardware & sensors available from LibreHardwareMonitor on your computer # Windows only - needs administrative rights import ctypes diff --git a/library/config.py b/library/config.py index 9fea02aa..c8920032 100644 --- a/library/config.py +++ b/library/config.py @@ -1,9 +1,11 @@ +# SPDX-License-Identifier: GPL-3.0-or-later +# # turing-smart-screen-python - a Python system monitor and library for USB-C displays like Turing Smart Screen or XuanFang # https://github.com/mathoudebine/turing-smart-screen-python/ - -# Copyright (C) 2021-2023 Matthieu Houdebine (mathoudebine) -# Copyright (C) 2022-2023 Rollbacke -# Copyright (C) 2022-2023 Ebag333 +# +# Copyright (C) 2021 Matthieu Houdebine (mathoudebine) +# Copyright (C) 2022 Rollbacke +# Copyright (C) 2022 Ebag333 # # 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 diff --git a/library/display.py b/library/display.py index beb5287f..7aa187c9 100644 --- a/library/display.py +++ b/library/display.py @@ -1,7 +1,9 @@ +# SPDX-License-Identifier: GPL-3.0-or-later +# # turing-smart-screen-python - a Python system monitor and library for USB-C displays like Turing Smart Screen or XuanFang # https://github.com/mathoudebine/turing-smart-screen-python/ - -# Copyright (C) 2021-2023 Matthieu Houdebine (mathoudebine) +# +# Copyright (C) 2021 Matthieu Houdebine (mathoudebine) # # 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 diff --git a/library/lcd/color.py b/library/lcd/color.py index 3b38cedd..5882fdcc 100644 --- a/library/lcd/color.py +++ b/library/lcd/color.py @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-3.0-or-later from typing import Union, Tuple from PIL import ImageColor diff --git a/library/lcd/lcd_comm.py b/library/lcd/lcd_comm.py index 80cd9aa0..5487706c 100644 --- a/library/lcd/lcd_comm.py +++ b/library/lcd/lcd_comm.py @@ -1,7 +1,9 @@ +# SPDX-License-Identifier: GPL-3.0-or-later +# # turing-smart-screen-python - a Python system monitor and library for USB-C displays like Turing Smart Screen or XuanFang # https://github.com/mathoudebine/turing-smart-screen-python/ - -# Copyright (C) 2021-2023 Matthieu Houdebine (mathoudebine) +# +# Copyright (C) 2021 Matthieu Houdebine (mathoudebine) # # 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 diff --git a/library/lcd/lcd_comm_rev_a.py b/library/lcd/lcd_comm_rev_a.py index a45118bb..fd34badf 100644 --- a/library/lcd/lcd_comm_rev_a.py +++ b/library/lcd/lcd_comm_rev_a.py @@ -1,7 +1,9 @@ +# SPDX-License-Identifier: GPL-3.0-or-later +# # turing-smart-screen-python - a Python system monitor and library for USB-C displays like Turing Smart Screen or XuanFang # https://github.com/mathoudebine/turing-smart-screen-python/ - -# Copyright (C) 2021-2023 Matthieu Houdebine (mathoudebine) +# +# Copyright (C) 2021 Matthieu Houdebine (mathoudebine) # # 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 diff --git a/library/lcd/lcd_comm_rev_b.py b/library/lcd/lcd_comm_rev_b.py index bfe19c25..15ca7c55 100644 --- a/library/lcd/lcd_comm_rev_b.py +++ b/library/lcd/lcd_comm_rev_b.py @@ -1,8 +1,10 @@ +# SPDX-License-Identifier: GPL-3.0-or-later +# # turing-smart-screen-python - a Python system monitor and library for USB-C displays like Turing Smart Screen or XuanFang # https://github.com/mathoudebine/turing-smart-screen-python/ - -# Copyright (C) 2021-2023 Matthieu Houdebine (mathoudebine) -# Copyright (C) 2022-2023 Charles Ferguson (gerph) +# +# Copyright (C) 2021 Matthieu Houdebine (mathoudebine) +# Copyright (C) 2022 Charles Ferguson (gerph) # # 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 diff --git a/library/lcd/lcd_comm_rev_c.py b/library/lcd/lcd_comm_rev_c.py index 29950529..d4f9b239 100644 --- a/library/lcd/lcd_comm_rev_c.py +++ b/library/lcd/lcd_comm_rev_c.py @@ -1,9 +1,11 @@ +# SPDX-License-Identifier: GPL-3.0-or-later +# # turing-smart-screen-python - a Python system monitor and library for USB-C displays like Turing Smart Screen or XuanFang # https://github.com/mathoudebine/turing-smart-screen-python/ - -# Copyright (C) 2021-2023 Matthieu Houdebine (mathoudebine) -# Copyright (C) 2023-2023 Alex W. Baulé (alexwbaule) -# Copyright (C) 2023-2023 Arthur Ferrai (arthurferrai) +# +# Copyright (C) 2021 Matthieu Houdebine (mathoudebine) +# Copyright (C) 2023 Alex W. Baulé (alexwbaule) +# Copyright (C) 2023 Arthur Ferrai (arthurferrai) # # 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 diff --git a/library/lcd/lcd_comm_rev_d.py b/library/lcd/lcd_comm_rev_d.py index a47b7f0e..850a7726 100644 --- a/library/lcd/lcd_comm_rev_d.py +++ b/library/lcd/lcd_comm_rev_d.py @@ -1,7 +1,9 @@ +# SPDX-License-Identifier: GPL-3.0-or-later +# # turing-smart-screen-python - a Python system monitor and library for USB-C displays like Turing Smart Screen or XuanFang # https://github.com/mathoudebine/turing-smart-screen-python/ - -# Copyright (C) 2021-2023 Matthieu Houdebine (mathoudebine) +# +# Copyright (C) 2021 Matthieu Houdebine (mathoudebine) # # 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 diff --git a/library/lcd/lcd_simulated.py b/library/lcd/lcd_simulated.py index 3d0c4d40..26b11bf3 100644 --- a/library/lcd/lcd_simulated.py +++ b/library/lcd/lcd_simulated.py @@ -1,7 +1,9 @@ +# SPDX-License-Identifier: GPL-3.0-or-later +# # turing-smart-screen-python - a Python system monitor and library for USB-C displays like Turing Smart Screen or XuanFang # https://github.com/mathoudebine/turing-smart-screen-python/ - -# Copyright (C) 2021-2023 Matthieu Houdebine (mathoudebine) +# +# Copyright (C) 2021 Matthieu Houdebine (mathoudebine) # # 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 diff --git a/library/lcd/serialize.py b/library/lcd/serialize.py index 5909c185..e0c5d662 100644 --- a/library/lcd/serialize.py +++ b/library/lcd/serialize.py @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-3.0-or-later from typing import Iterator, Literal import numpy as np diff --git a/library/log.py b/library/log.py index bc11142c..7bae6045 100644 --- a/library/log.py +++ b/library/log.py @@ -1,7 +1,9 @@ +# SPDX-License-Identifier: GPL-3.0-or-later +# # turing-smart-screen-python - a Python system monitor and library for USB-C displays like Turing Smart Screen or XuanFang # https://github.com/mathoudebine/turing-smart-screen-python/ - -# Copyright (C) 2021-2023 Matthieu Houdebine (mathoudebine) +# +# Copyright (C) 2021 Matthieu Houdebine (mathoudebine) # # 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 diff --git a/library/scheduler.py b/library/scheduler.py index f64460ef..d6a1edd5 100644 --- a/library/scheduler.py +++ b/library/scheduler.py @@ -1,9 +1,11 @@ +# SPDX-License-Identifier: GPL-3.0-or-later +# # turing-smart-screen-python - a Python system monitor and library for USB-C displays like Turing Smart Screen or XuanFang # https://github.com/mathoudebine/turing-smart-screen-python/ - -# Copyright (C) 2021-2023 Matthieu Houdebine (mathoudebine) -# Copyright (C) 2022-2023 Rollbacke -# Copyright (C) 2022-2023 Ebag333 +# +# Copyright (C) 2021 Matthieu Houdebine (mathoudebine) +# Copyright (C) 2022 Rollbacke +# Copyright (C) 2022 Ebag333 # # 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 diff --git a/library/sensors/sensors.py b/library/sensors/sensors.py index 0a9ada94..5b01aa7b 100644 --- a/library/sensors/sensors.py +++ b/library/sensors/sensors.py @@ -1,7 +1,9 @@ +# SPDX-License-Identifier: GPL-3.0-or-later +# # turing-smart-screen-python - a Python system monitor and library for USB-C displays like Turing Smart Screen or XuanFang # https://github.com/mathoudebine/turing-smart-screen-python/ - -# Copyright (C) 2021-2023 Matthieu Houdebine (mathoudebine) +# +# Copyright (C) 2021 Matthieu Houdebine (mathoudebine) # # 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 diff --git a/library/sensors/sensors_custom.py b/library/sensors/sensors_custom.py index 0605f802..f621f448 100644 --- a/library/sensors/sensors_custom.py +++ b/library/sensors/sensors_custom.py @@ -1,6 +1,9 @@ +# SPDX-License-Identifier: GPL-3.0-or-later +# # turing-smart-screen-python - a Python system monitor and library for USB-C displays like Turing Smart Screen or XuanFang # https://github.com/mathoudebine/turing-smart-screen-python/ -# Copyright (C) 2021-2023 Matthieu Houdebine (mathoudebine) +# +# Copyright (C) 2021 Matthieu Houdebine (mathoudebine) # # 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 diff --git a/library/sensors/sensors_librehardwaremonitor.py b/library/sensors/sensors_librehardwaremonitor.py index f619a5b3..c6193ffe 100644 --- a/library/sensors/sensors_librehardwaremonitor.py +++ b/library/sensors/sensors_librehardwaremonitor.py @@ -1,7 +1,9 @@ +# SPDX-License-Identifier: GPL-3.0-or-later +# # turing-smart-screen-python - a Python system monitor and library for USB-C displays like Turing Smart Screen or XuanFang # https://github.com/mathoudebine/turing-smart-screen-python/ - -# Copyright (C) 2021-2023 Matthieu Houdebine (mathoudebine) +# +# Copyright (C) 2021 Matthieu Houdebine (mathoudebine) # # 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 diff --git a/library/sensors/sensors_python.py b/library/sensors/sensors_python.py index fc58d01c..fc76af1b 100644 --- a/library/sensors/sensors_python.py +++ b/library/sensors/sensors_python.py @@ -1,7 +1,9 @@ +# SPDX-License-Identifier: GPL-3.0-or-later +# # turing-smart-screen-python - a Python system monitor and library for USB-C displays like Turing Smart Screen or XuanFang # https://github.com/mathoudebine/turing-smart-screen-python/ - -# Copyright (C) 2021-2023 Matthieu Houdebine (mathoudebine) +# +# Copyright (C) 2021 Matthieu Houdebine (mathoudebine) # # 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 diff --git a/library/sensors/sensors_stub_random.py b/library/sensors/sensors_stub_random.py index 07e37748..2c3e7002 100644 --- a/library/sensors/sensors_stub_random.py +++ b/library/sensors/sensors_stub_random.py @@ -1,7 +1,9 @@ +# SPDX-License-Identifier: GPL-3.0-or-later +# # turing-smart-screen-python - a Python system monitor and library for USB-C displays like Turing Smart Screen or XuanFang # https://github.com/mathoudebine/turing-smart-screen-python/ - -# Copyright (C) 2021-2023 Matthieu Houdebine (mathoudebine) +# +# Copyright (C) 2021 Matthieu Houdebine (mathoudebine) # # 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 diff --git a/library/sensors/sensors_stub_static.py b/library/sensors/sensors_stub_static.py index 5aa16168..3ad96a62 100644 --- a/library/sensors/sensors_stub_static.py +++ b/library/sensors/sensors_stub_static.py @@ -1,7 +1,9 @@ +# SPDX-License-Identifier: GPL-3.0-or-later +# # turing-smart-screen-python - a Python system monitor and library for USB-C displays like Turing Smart Screen or XuanFang # https://github.com/mathoudebine/turing-smart-screen-python/ - -# Copyright (C) 2021-2023 Matthieu Houdebine (mathoudebine) +# +# Copyright (C) 2021 Matthieu Houdebine (mathoudebine) # # 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 diff --git a/library/stats.py b/library/stats.py index fa1e20ee..9af85060 100644 --- a/library/stats.py +++ b/library/stats.py @@ -1,11 +1,13 @@ +# SPDX-License-Identifier: GPL-3.0-or-later +# # turing-smart-screen-python - a Python system monitor and library for USB-C displays like Turing Smart Screen or XuanFang # https://github.com/mathoudebine/turing-smart-screen-python/ - -# Copyright (C) 2021-2023 Matthieu Houdebine (mathoudebine) -# Copyright (C) 2022-2023 Rollbacke -# Copyright (C) 2022-2023 Ebag333 -# Copyright (C) 2022-2023 w1ld3r -# Copyright (C) 2022-2023 Charles Ferguson (gerph) +# +# Copyright (C) 2021 Matthieu Houdebine (mathoudebine) +# Copyright (C) 2022 Rollbacke +# Copyright (C) 2022 Ebag333 +# Copyright (C) 2022 w1ld3r +# Copyright (C) 2022 Charles Ferguson (gerph) # # 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 diff --git a/main.py b/main.py index c161c8d7..fdf9951d 100755 --- a/main.py +++ b/main.py @@ -1,13 +1,15 @@ #!/usr/bin/env python +# SPDX-License-Identifier: GPL-3.0-or-later +# # turing-smart-screen-python - a Python system monitor and library for USB-C displays like Turing Smart Screen or XuanFang # https://github.com/mathoudebine/turing-smart-screen-python/ - -# Copyright (C) 2021-2023 Matthieu Houdebine (mathoudebine) -# Copyright (C) 2022-2023 Rollbacke -# Copyright (C) 2022-2023 Ebag333 -# Copyright (C) 2022-2023 w1ld3r -# Copyright (C) 2022-2023 Charles Ferguson (gerph) -# Copyright (C) 2022-2023 Russ Nelson (RussNelson) +# +# Copyright (C) 2021 Matthieu Houdebine (mathoudebine) +# Copyright (C) 2022 Rollbacke +# Copyright (C) 2022 Ebag333 +# Copyright (C) 2022 w1ld3r +# Copyright (C) 2022 Charles Ferguson (gerph) +# Copyright (C) 2022 Russ Nelson (RussNelson) # # 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 diff --git a/res/fonts/font-preview.py b/res/fonts/font-preview.py index 4e1eb43e..cf20eb2c 100644 --- a/res/fonts/font-preview.py +++ b/res/fonts/font-preview.py @@ -1,8 +1,10 @@ #!/usr/bin/env python +# SPDX-License-Identifier: GPL-3.0-or-later +# # turing-smart-screen-python - a Python system monitor and library for USB-C displays like Turing Smart Screen or XuanFang # https://github.com/mathoudebine/turing-smart-screen-python/ - -# Copyright (C) 2021-2023 Matthieu Houdebine (mathoudebine) +# +# Copyright (C) 2021 Matthieu Houdebine (mathoudebine) # # 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 diff --git a/simple-program.py b/simple-program.py index 0362e572..eb90b05e 100755 --- a/simple-program.py +++ b/simple-program.py @@ -1,8 +1,10 @@ #!/usr/bin/env python +# SPDX-License-Identifier: GPL-3.0-or-later +# # turing-smart-screen-python - a Python system monitor and library for USB-C displays like Turing Smart Screen or XuanFang # https://github.com/mathoudebine/turing-smart-screen-python/ - -# Copyright (C) 2021-2023 Matthieu Houdebine (mathoudebine) +# +# Copyright (C) 2021 Matthieu Houdebine (mathoudebine) # # 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 diff --git a/theme-editor.py b/theme-editor.py index bec917c2..b51dd96e 100755 --- a/theme-editor.py +++ b/theme-editor.py @@ -1,8 +1,10 @@ #!/usr/bin/env python +# SPDX-License-Identifier: GPL-3.0-or-later +# # turing-smart-screen-python - a Python system monitor and library for USB-C displays like Turing Smart Screen or XuanFang # https://github.com/mathoudebine/turing-smart-screen-python/ - -# Copyright (C) 2021-2023 Matthieu Houdebine (mathoudebine) +# +# Copyright (C) 2021 Matthieu Houdebine (mathoudebine) # # 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 diff --git a/tools/compare-images.py b/tools/compare-images.py index 68cb920e..92ee2772 100644 --- a/tools/compare-images.py +++ b/tools/compare-images.py @@ -1,8 +1,10 @@ #!/usr/bin/env python +# SPDX-License-Identifier: GPL-3.0-or-later +# # turing-smart-screen-python - a Python system monitor and library for USB-C displays like Turing Smart Screen or XuanFang # https://github.com/mathoudebine/turing-smart-screen-python/ - -# Copyright (C) 2021-2023 Matthieu Houdebine (mathoudebine) +# +# Copyright (C) 2021 Matthieu Houdebine (mathoudebine) # # 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 diff --git a/tools/theme-preview-generator.py b/tools/theme-preview-generator.py index 200d600b..374dea1b 100644 --- a/tools/theme-preview-generator.py +++ b/tools/theme-preview-generator.py @@ -1,8 +1,10 @@ #!/usr/bin/env python +# SPDX-License-Identifier: GPL-3.0-or-later +# # turing-smart-screen-python - a Python system monitor and library for USB-C displays like Turing Smart Screen or XuanFang # https://github.com/mathoudebine/turing-smart-screen-python/ - -# Copyright (C) 2021-2023 Matthieu Houdebine (mathoudebine) +# +# Copyright (C) 2021 Matthieu Houdebine (mathoudebine) # # 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 diff --git a/tools/turing-theme-extractor.py b/tools/turing-theme-extractor.py index e5c60d91..2114e69e 100644 --- a/tools/turing-theme-extractor.py +++ b/tools/turing-theme-extractor.py @@ -1,8 +1,10 @@ #!/usr/bin/env python +# SPDX-License-Identifier: GPL-3.0-or-later +# # turing-smart-screen-python - a Python system monitor and library for USB-C displays like Turing Smart Screen or XuanFang # https://github.com/mathoudebine/turing-smart-screen-python/ - -# Copyright (C) 2021-2023 Matthieu Houdebine (mathoudebine) +# +# Copyright (C) 2021 Matthieu Houdebine (mathoudebine) # # 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 diff --git a/tools/windows-installer/generate-version-info.py b/tools/windows-installer/generate-version-info.py index ff55a102..d6220111 100644 --- a/tools/windows-installer/generate-version-info.py +++ b/tools/windows-installer/generate-version-info.py @@ -1,8 +1,10 @@ #!/usr/bin/env python +# SPDX-License-Identifier: GPL-3.0-or-later +# # turing-smart-screen-python - a Python system monitor and library for USB-C displays like Turing Smart Screen or XuanFang # https://github.com/mathoudebine/turing-smart-screen-python/ # -# Copyright (C) 2021-2023 Matthieu Houdebine (mathoudebine) +# Copyright (C) 2021 Matthieu Houdebine (mathoudebine) # # 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