From: groceryheist Date: Sat, 2 Jun 2018 21:56:49 +0000 (-0700) Subject: add copyright notice X-Git-Url: https://code.communitydata.science/wikia_userroles_scraper.git/commitdiff_plain/29337a8e2f301af84ba20f8b5089477138dcb33d?ds=sidebyside add copyright notice --- diff --git a/scrape_list.sh b/scrape_list.sh index 4df2a88..ada076e 100755 --- a/scrape_list.sh +++ b/scrape_list.sh @@ -1,5 +1,13 @@ #!/usr/bin/env bash +# Run userroles_from_listusers.py +# Copyright (C) 2018 Nathan TeBlunthuis + +# 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. + # you specify a csv file that has a list of wikis wikilist=example/wikiList.csv diff --git a/scrape_log.sh b/scrape_log.sh index a9178be..675ba3e 100755 --- a/scrape_log.sh +++ b/scrape_log.sh @@ -1,5 +1,13 @@ #!/usr/bin/env bash +# Run userroles_from_logevents.py +# Copyright (C) 2018 Nathan TeBlunthuis + +# 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. + # you specify a csv file that has a list of wikis wikilist=example/wikiList.csv diff --git a/scraper_utils.py b/scraper_utils.py index 0844b0b..76016e3 100644 --- a/scraper_utils.py +++ b/scraper_utils.py @@ -1,3 +1,11 @@ +# Functions common to both scrapers +# Copyright (C) 2018 Nathan TeBlunthuis + +# 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. + # returns an iterator of wiki,url tuples import pandas as pd from os import makedirs, path diff --git a/setup.py b/setup.py index fd1f81e..5ca888f 100755 --- a/setup.py +++ b/setup.py @@ -1,3 +1,12 @@ +# configuration for the python package +# Copyright (C) 2018 Nathan TeBlunthuis + +# 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. + + #!/usr/bin/env python3 from setuptools import setup diff --git a/userroles_from_listusers.py b/userroles_from_listusers.py index 8a46728..3378d28 100755 --- a/userroles_from_listusers.py +++ b/userroles_from_listusers.py @@ -1,4 +1,13 @@ #!/usr/bin/env python3 + +# Scrape the Wikia userroles api +# Copyright (C) 2018 Nathan TeBlunthuis + +# 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. + import argparse import csv import json diff --git a/userroles_from_logevents.py b/userroles_from_logevents.py index 9af87d4..8c28cc3 100755 --- a/userroles_from_logevents.py +++ b/userroles_from_logevents.py @@ -1,4 +1,14 @@ #!/usr/bin/env python3 + +# Obtain user roles data from the Wikia logevents api +# Copyright (C) 2018 Nathan TeBlunthuis + +# 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. + + from os import path import argparse import time