diff --git a/csv_manipulation.py b/csv_manipulation.py index 001400a..f043b0e 100755 --- a/csv_manipulation.py +++ b/csv_manipulation.py @@ -1,4 +1,19 @@ #!/usr/bin/env python + +########################################################################## +# # +# 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; version 2 of the License. # +# # +# 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. # +# # +########################################################################## + + """ Simple script useful to cut or extract only specific pages from the output of revisions_page.py diff --git a/download_current_events.py b/download_current_events.py index d921350..287cb23 100755 --- a/download_current_events.py +++ b/download_current_events.py @@ -1,3 +1,19 @@ +#!/usr/bin/env python + +########################################################################## +# # +# 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; version 2 of the License. # +# # +# 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. # +# # +########################################################################## + + import simplejson import logging import urllib diff --git a/download_page.py b/download_page.py index 887df28..dff0bf9 100755 --- a/download_page.py +++ b/download_page.py @@ -1,3 +1,18 @@ +#!/usr/bin/env python + +########################################################################## +# # +# 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; version 2 of the License. # +# # +# 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. # +# # +########################################################################## + import simplejson import urllib import sys diff --git a/graph_analysis.py b/graph_analysis.py index 168bcb0..a3c58b5 100755 --- a/graph_analysis.py +++ b/graph_analysis.py @@ -1,5 +1,18 @@ #!/usr/bin/env python +########################################################################## +# # +# 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; version 2 of the License. # +# # +# 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. # +# # +########################################################################## + ## SYSTEM import os import sys diff --git a/graph_enrich.py b/graph_enrich.py index 9e748a7..696153a 100755 --- a/graph_enrich.py +++ b/graph_enrich.py @@ -12,6 +12,7 @@ # GNU General Public License for more details. # # # ########################################################################## + import igraph as ig from sonet.mediawiki import addGroupAttribute, addBlockedAttribute, isip, \ explode_dump_filename diff --git a/graph_longitudinal_analysis.py b/graph_longitudinal_analysis.py index baef977..5ece57b 100755 --- a/graph_longitudinal_analysis.py +++ b/graph_longitudinal_analysis.py @@ -1,5 +1,18 @@ #!/usr/bin/env python +########################################################################## +# # +# 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; version 2 of the License. # +# # +# 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. # +# # +########################################################################## + ## SYSTEM import sys import gc diff --git a/pywc_plot.py b/pywc_plot.py index acf6299..c7c808c 100755 --- a/pywc_plot.py +++ b/pywc_plot.py @@ -1,5 +1,18 @@ #!/usr/bin/env python +########################################################################## +# # +# 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; version 2 of the License. # +# # +# 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. # +# # +########################################################################## + import matplotlib matplotlib.use("pdf") from matplotlib.backends.backend_pdf import PdfPages