From fc2b1622f165cbfadc4bd8200c689d59522c7a97 Mon Sep 17 00:00:00 2001 From: gry <guppy@123mail.org> Date: Tue, 2 Aug 2011 10:26:38 +0930 Subject: [PATCH] gplv3 --- README | 1 + guppy | 26 ++++++-------------------- irc.py | 6 ++++++ plugins/__init__.py | 6 ++++++ plugins/admintools.py | 5 +++++ plugins/auth.py | 6 ++++++ plugins/blockbot.py | 6 ++++++ plugins/ddg.py | 6 ++++++ plugins/dns.py | 6 ++++++ plugins/dynacode.py | 6 ++++++ plugins/games.py | 6 ++++++ plugins/info.py | 6 ++++++ plugins/isitup.py | 6 ++++++ plugins/karma.py | 6 ++++++ plugins/ping.py | 5 +++++ plugins/plugintools.py | 6 ++++++ plugins/printer.py | 5 +++++ plugins/rpn.py | 6 ++++++ plugins/sed.py | 6 ++++++ plugins/smack.py | 6 ++++++ plugins/tinyurl.py | 6 ++++++ plugins/wikipedia.py | 6 ++++++ plugins/yt.py | 6 ++++++ 23 files changed, 130 insertions(+), 20 deletions(-) diff --git a/README b/README index 23c3192..964ec97 100644 --- a/README +++ b/README @@ -1,3 +1,4 @@ Source: http://repo.or.cz/w/guppy.git +License: GPLv3. Website: http://guppy.gshellz.org - has links to bugs and wiki Channel: irc://irc.freenode.net/guppy diff --git a/guppy b/guppy index 2309f73..4af76ef 100755 --- a/guppy +++ b/guppy @@ -1,23 +1,9 @@ #!/usr/bin/env python3 +# guppy Copyright (C) 2010-2011 guppy team members. # -# Copyright 2010, 2011 G24 -# -# This file is part of guppy. -# -# guppy 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. -# -# guppy 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 guppy. If not, see <http://www.gnu.org/licenses/>. - - +# This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. +# This is free software, and you are welcome to redistribute it +# under certain conditions; type `show c' for details. import sys @@ -38,8 +24,8 @@ class main(object): self.homedir = os.path.abspath(os.path.dirname(__file__)) print(" __ _ _ _ _ __ _ __ _ _ ") print(" / _` | | | | '_ \| '_ \| | | | http://repo.or.cz/w/guppy.git/summary") - print("| (_| | |_| | |_) | |_) | |_| |") - print(" \__, |\__,_| .__/| .__/ \__, |") + print("| (_| | |_| | |_) | |_) | |_| | irc://irc.freenode.net/guppy") + print(" \__, |\__,_| .__/| .__/ \__, | http://guppy.gshellz.org") print((" |___/ |_| |_| |___/ version "+self.version)) print("") self.directory = self.homedir + '/conf/' diff --git a/irc.py b/irc.py index 1821986..49a8e0f 100644 --- a/irc.py +++ b/irc.py @@ -1,3 +1,9 @@ +# guppy Copyright (C) 2010-2011 guppy team members. +# +# This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. +# This is free software, and you are welcome to redistribute it +# under certain conditions; type `show c' for details. + import socket, os, threading, re, asynchat, traceback, ssl import plugins diff --git a/plugins/__init__.py b/plugins/__init__.py index f56ea6d..eb6230e 100644 --- a/plugins/__init__.py +++ b/plugins/__init__.py @@ -1,3 +1,9 @@ +# guppy Copyright (C) 2010-2011 guppy team members. +# +# This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. +# This is free software, and you are welcome to redistribute it +# under certain conditions; type `show c' for details. + import os, inspect, collections pList = { } diff --git a/plugins/admintools.py b/plugins/admintools.py index 7ce8ade..83d3f4a 100644 --- a/plugins/admintools.py +++ b/plugins/admintools.py @@ -1,3 +1,8 @@ +# guppy Copyright (C) 2010-2011 guppy team members. +# +# This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. +# This is free software, and you are welcome to redistribute it +# under certain conditions; type `show c' for details. @plugin class AdminTools(object): diff --git a/plugins/auth.py b/plugins/auth.py index 554efe7..bb2a97b 100644 --- a/plugins/auth.py +++ b/plugins/auth.py @@ -1,3 +1,9 @@ +# guppy Copyright (C) 2010-2011 guppy team members. +# +# This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. +# This is free software, and you are welcome to redistribute it +# under certain conditions; type `show c' for details. + import os, configparser @plugin diff --git a/plugins/blockbot.py b/plugins/blockbot.py index d47230c..7adff82 100644 --- a/plugins/blockbot.py +++ b/plugins/blockbot.py @@ -1,3 +1,9 @@ +# guppy Copyright (C) 2010-2011 guppy team members. +# +# This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. +# This is free software, and you are welcome to redistribute it +# under certain conditions; type `show c' for details. + import re import time diff --git a/plugins/ddg.py b/plugins/ddg.py index 0ebfa35..fd121e8 100644 --- a/plugins/ddg.py +++ b/plugins/ddg.py @@ -1,3 +1,9 @@ +# guppy Copyright (C) 2010-2011 guppy team members. +# +# This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. +# This is free software, and you are welcome to redistribute it +# under certain conditions; type `show c' for details. + # ddg module # --gry diff --git a/plugins/dns.py b/plugins/dns.py index 7220b19..0dc8263 100644 --- a/plugins/dns.py +++ b/plugins/dns.py @@ -1,3 +1,9 @@ +# guppy Copyright (C) 2010-2011 guppy team members. +# +# This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. +# This is free software, and you are welcome to redistribute it +# under certain conditions; type `show c' for details. + # dns module # --gry diff --git a/plugins/dynacode.py b/plugins/dynacode.py index 4fb700a..e0ad6bf 100644 --- a/plugins/dynacode.py +++ b/plugins/dynacode.py @@ -1,3 +1,9 @@ +# guppy Copyright (C) 2010-2011 guppy team members. +# +# This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. +# This is free software, and you are welcome to redistribute it +# under certain conditions; type `show c' for details. + import sys @plugin diff --git a/plugins/games.py b/plugins/games.py index 0955a4d..79ebc6d 100644 --- a/plugins/games.py +++ b/plugins/games.py @@ -1,3 +1,9 @@ +# guppy Copyright (C) 2010-2011 guppy team members. +# +# This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. +# This is free software, and you are welcome to redistribute it +# under certain conditions; type `show c' for details. + import random UNODECK = ['b0', 'b1', 'b2', 'b3', 'b4', 'b5', 'b6', 'b7', 'b8', 'b9', 'b1', 'b2', 'b3', 'b4', 'b5', 'b6', 'b7', 'b8', 'b9', 'g0', 'g1', 'g2', 'g3', 'g4', 'g5', 'g6', 'g7', 'g8', 'g9', 'g1', 'g2', 'g3', 'g4', 'g5', 'g6', 'g7', 'g8', 'g9', 'y0', 'y1', 'y2', 'y3', 'y4', 'y5', 'y6', 'y7', 'y8', 'y9', 'y1', 'y2', 'y3', 'y4', 'y5', 'y6', 'y7', 'y8', 'y9', 'r0', 'r1', 'r2', 'r3', 'r4', 'r5', 'r6', 'r7', 'r8', 'r9', 'r1', 'r2', 'r3', 'r4', 'r5', 'r6', 'r7', 'r8', 'r9', 'rS', 'gS', 'bS', 'yS', 'rD2', 'gD2', 'bD2', 'yD2', 'rR', 'gR', 'bR', 'yR', 'wW', 'wW', 'wW', 'wW', 'wWD4', 'wWD4', 'wWD4', 'wWD4', 'rS', 'gS', 'bS', 'yS', 'rD2', 'gD2', 'bD2', 'yD2', 'rR', 'gR', 'bR', 'yR'] diff --git a/plugins/info.py b/plugins/info.py index ae8b0d2..73008dc 100644 --- a/plugins/info.py +++ b/plugins/info.py @@ -1,3 +1,9 @@ +# guppy Copyright (C) 2010-2011 guppy team members. +# +# This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. +# This is free software, and you are welcome to redistribute it +# under certain conditions; type `show c' for details. + import os, re import configparser diff --git a/plugins/isitup.py b/plugins/isitup.py index 19c8837..e6aa756 100644 --- a/plugins/isitup.py +++ b/plugins/isitup.py @@ -1,3 +1,9 @@ +# guppy Copyright (C) 2010-2011 guppy team members. +# +# This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. +# This is free software, and you are welcome to redistribute it +# under certain conditions; type `show c' for details. + # isitup.org domain lookup. # --Kudu, Kays. diff --git a/plugins/karma.py b/plugins/karma.py index b3ad57a..860897e 100644 --- a/plugins/karma.py +++ b/plugins/karma.py @@ -1,3 +1,9 @@ +# guppy Copyright (C) 2010-2011 guppy team members. +# +# This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. +# This is free software, and you are welcome to redistribute it +# under certain conditions; type `show c' for details. + import re, configparser, os @plugin diff --git a/plugins/ping.py b/plugins/ping.py index ce16deb..af12869 100644 --- a/plugins/ping.py +++ b/plugins/ping.py @@ -1,3 +1,8 @@ +# guppy Copyright (C) 2010-2011 guppy team members. +# +# This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. +# This is free software, and you are welcome to redistribute it +# under certain conditions; type `show c' for details. @plugin class Ping(object): diff --git a/plugins/plugintools.py b/plugins/plugintools.py index 4cca91c..47fd697 100644 --- a/plugins/plugintools.py +++ b/plugins/plugintools.py @@ -1,3 +1,9 @@ +# guppy Copyright (C) 2010-2011 guppy team members. +# +# This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. +# This is free software, and you are welcome to redistribute it +# under certain conditions; type `show c' for details. + import sys @plugin diff --git a/plugins/printer.py b/plugins/printer.py index 6708bb8..f67882c 100644 --- a/plugins/printer.py +++ b/plugins/printer.py @@ -1,3 +1,8 @@ +# guppy Copyright (C) 2010-2011 guppy team members. +# +# This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. +# This is free software, and you are welcome to redistribute it +# under certain conditions; type `show c' for details. @plugin class Printer(object): diff --git a/plugins/rpn.py b/plugins/rpn.py index e8bf27b..d8353f2 100644 --- a/plugins/rpn.py +++ b/plugins/rpn.py @@ -1,3 +1,9 @@ +# guppy Copyright (C) 2010-2011 guppy team members. +# +# This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. +# This is free software, and you are welcome to redistribute it +# under certain conditions; type `show c' for details. + # rpn module # --gry diff --git a/plugins/sed.py b/plugins/sed.py index 3667871..b4d2c70 100644 --- a/plugins/sed.py +++ b/plugins/sed.py @@ -1,3 +1,9 @@ +# guppy Copyright (C) 2010-2011 guppy team members. +# +# This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. +# This is free software, and you are welcome to redistribute it +# under certain conditions; type `show c' for details. + # sed module # <Kays> test # <Kays> s/^t/b/g diff --git a/plugins/smack.py b/plugins/smack.py index f4b33b7..ce0f1c1 100644 --- a/plugins/smack.py +++ b/plugins/smack.py @@ -1,3 +1,9 @@ +# guppy Copyright (C) 2010-2011 guppy team members. +# +# This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. +# This is free software, and you are welcome to redistribute it +# under certain conditions; type `show c' for details. + import random @plugin diff --git a/plugins/tinyurl.py b/plugins/tinyurl.py index a228540..60f9426 100644 --- a/plugins/tinyurl.py +++ b/plugins/tinyurl.py @@ -1,3 +1,9 @@ +# guppy Copyright (C) 2010-2011 guppy team members. +# +# This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. +# This is free software, and you are welcome to redistribute it +# under certain conditions; type `show c' for details. + import urllib.request, urllib.parse, urllib.error @plugin diff --git a/plugins/wikipedia.py b/plugins/wikipedia.py index 0c1046a..f6df698 100644 --- a/plugins/wikipedia.py +++ b/plugins/wikipedia.py @@ -1,3 +1,9 @@ +# guppy Copyright (C) 2010-2011 guppy team members. +# +# This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. +# This is free software, and you are welcome to redistribute it +# under certain conditions; type `show c' for details. + import xml.etree.ElementTree import urllib.request, urllib.parse diff --git a/plugins/yt.py b/plugins/yt.py index 8f8b74c..ad949df 100644 --- a/plugins/yt.py +++ b/plugins/yt.py @@ -1,3 +1,9 @@ +# guppy Copyright (C) 2010-2011 guppy team members. +# +# This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. +# This is free software, and you are welcome to redistribute it +# under certain conditions; type `show c' for details. + # yt module # --gry -- GitLab