diff options
author | Yuchen Pei <hi@ypei.me> | 2022-04-15 18:04:36 +1000 |
---|---|---|
committer | Yuchen Pei <hi@ypei.me> | 2022-04-15 18:04:36 +1000 |
commit | 999a1b6cf6553b44e924eeccd90f243504bab2c1 (patch) | |
tree | d7c75a5727bf2f7f6ade5973903061e9dea957c1 | |
parent | 60415a2d640364ff7348d4580995494479203f59 (diff) |
Added copyright and licensing notices.
-rw-r--r-- | cli_view.py | 17 | ||||
-rw-r--r-- | html_view.py | 17 | ||||
-rwxr-xr-x | ptv.py | 17 | ||||
-rw-r--r-- | ptv_client.py | 21 | ||||
-rw-r--r-- | server.py | 17 | ||||
-rw-r--r-- | util.py | 17 |
6 files changed, 95 insertions, 11 deletions
diff --git a/cli_view.py b/cli_view.py index 9c022f9..53e1360 100644 --- a/cli_view.py +++ b/cli_view.py @@ -1,3 +1,20 @@ +# Copyright (C) 2022 Yuchen Pei. +# +# This file is part of ptvtt. +# +# ptvtt is free software: you can redistribute it and/or modify it under +# the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. + +# ptvtt 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 Affero General +# Public License for more details. + +# You should have received a copy of the GNU Affero General Public +# License along with ptvtt. If not, see <https://www.gnu.org/licenses/>. + import util import ptv_client diff --git a/html_view.py b/html_view.py index 98306cb..038b047 100644 --- a/html_view.py +++ b/html_view.py @@ -1,3 +1,20 @@ +# Copyright (C) 2022 Yuchen Pei. +# +# This file is part of ptvtt. +# +# ptvtt is free software: you can redistribute it and/or modify it under +# the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. + +# ptvtt 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 Affero General +# Public License for more details. + +# You should have received a copy of the GNU Affero General Public +# License along with ptvtt. If not, see <https://www.gnu.org/licenses/>. + from urllib import parse import util import ptv_client @@ -1,4 +1,19 @@ -#!/usr/bin/python +# Copyright (C) 2022 Yuchen Pei. +# +# This file is part of ptvtt. +# +# ptvtt is free software: you can redistribute it and/or modify it under +# the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. + +# ptvtt 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 Affero General +# Public License for more details. + +# You should have received a copy of the GNU Affero General Public +# License along with ptvtt. If not, see <https://www.gnu.org/licenses/>. import ptv_client import cli_view diff --git a/ptv_client.py b/ptv_client.py index ec89134..180399c 100644 --- a/ptv_client.py +++ b/ptv_client.py @@ -1,18 +1,19 @@ # Copyright (C) 2022 Yuchen Pei. # -# ptv.py is free software: you can redistribute it and/or modify it -# under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. +# This file is part of ptvtt. +# +# ptvtt is free software: you can redistribute it and/or modify it under +# the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. -# ptv.py 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 -# Affero General Public License for more details. +# ptvtt 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 Affero General +# Public License for more details. # You should have received a copy of the GNU Affero General Public -# License along with ptv.py. If not, see -# <https://www.gnu.org/licenses/>. +# License along with ptvtt. If not, see <https://www.gnu.org/licenses/>. from hashlib import sha1 from urllib import request, error, parse @@ -1,3 +1,20 @@ +# Copyright (C) 2022 Yuchen Pei. +# +# This file is part of ptvtt. +# +# ptvtt is free software: you can redistribute it and/or modify it under +# the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. + +# ptvtt 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 Affero General +# Public License for more details. + +# You should have received a copy of the GNU Affero General Public +# License along with ptvtt. If not, see <https://www.gnu.org/licenses/>. + from wsgiref.simple_server import make_server from urllib.parse import parse_qs import ptv_client @@ -1,3 +1,20 @@ +# Copyright (C) 2022 Yuchen Pei. +# +# This file is part of ptvtt. +# +# ptvtt is free software: you can redistribute it and/or modify it under +# the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. + +# ptvtt 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 Affero General +# Public License for more details. + +# You should have received a copy of the GNU Affero General Public +# License along with ptvtt. If not, see <https://www.gnu.org/licenses/>. + from datetime import datetime, timezone from zoneinfo import ZoneInfo |