diff --git a/LICENSE b/LICENSE index f288702..0f05f48 100644 --- a/LICENSE +++ b/LICENSE @@ -1,3 +1,11 @@ +WeatherCLI - Copyright (C) 2025 Lyxminx + +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 . + GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 diff --git a/functions.py b/functions.py index 007a97d..83139c6 100644 --- a/functions.py +++ b/functions.py @@ -1,3 +1,19 @@ +# WeatherCLI +# Copyright (C) 2025 Lyxminx +# +# 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 . + # Imports import requests from os import system, name diff --git a/main.py b/main.py index 78129ff..7b5c7b6 100644 --- a/main.py +++ b/main.py @@ -1,3 +1,19 @@ +# WeatherCLI +# Copyright (C) 2025 Lyxminx +# +# 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 . + # Imports from functions import * from possistions import * diff --git a/possistions.py b/possistions.py index 72aa380..47f0f6a 100644 --- a/possistions.py +++ b/possistions.py @@ -1,3 +1,20 @@ +# WeatherCLI +# Copyright (C) 2025 Lyxminx +# +# 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 . + + # Add your cities here, by setting latitude and longitude. cities = { "Oslo" : "https://api.met.no/weatherapi/nowcast/2.0/complete?lat=59.9333&lon=10.7166", @@ -5,4 +22,5 @@ cities = { "Skien" : "https://api.met.no/weatherapi/nowcast/2.0/complete?lat=59.2089&lon=9.606", "Tromsø" : "https://api.met.no/weatherapi/nowcast/2.0/complete?lat=69.6827&lon=18.9427", "Molde" : "https://api.met.no/weatherapi/nowcast/2.0/complete?lat=62.73724&lon=7.16073" -} \ No newline at end of file +} + diff --git a/readme.md b/readme.md index 52fb1ef..1265e3c 100644 --- a/readme.md +++ b/readme.md @@ -13,5 +13,8 @@ Contributions are welcome! Whether it's adding new cities, improving the code, o 4. **Fix Bugs & Improve Code** – Found a bug? Want to optimize something? Submit a PR. 5. **Spread the Word** – If you like this project, give it a ⭐ and share it. -**License:** This project is GPL 3.0 licensed, meaning your contributions must also be open-source. +## License + +This project is licensed under the GNU General Public License v3.0 or later - see the [LICENSE](LICENSE) file for details. +