Merge back branch 'test-v4' into develop

This commit is contained in:
2017-09-23 23:48:25 +02:00
2 changed files with 74 additions and 0 deletions

51
README.md Normal file
View File

@@ -0,0 +1,51 @@
jogobot-red
===========
Dependencies
------------
* pywikibot-core
* mwparserfromhell
The libraries above need to be installed and configured manualy considering [documentation of pywikibot-core](https://www.mediawiki.org/wiki/Manual:Pywikibot).
* SQLAlchemy
* PyMySQL
Those can be installed using pip and the _requirements.txt_ file provided with this packet
pip install -r requirements.txt
Versions
--------
* test-v4
- Feature _markpages_ working in semi-automatic mode using command
python red.py -task:markpages -family:wikipedia
- Work on specific redfam using param
-famhash:[sha1-famhash]
- Use _PyMySQL_ instead of _OurSQL_
- Correctly parse redfams with articles with leading small character or spaces in wikilink
* test-v3
* test-v2
* test-v1
License
-------
GPLv3
Author Information
------------------
Copyright 2017 Jonathan Golder jonathan@golderweb.de https://golderweb.de/
alias Wikipedia.org-User _Jogo.obb_ (https://de.wikipedia.org/Benutzer:Jogo.obb)

23
requirements.txt Normal file
View File

@@ -0,0 +1,23 @@
# This is a PIP 6+ requirements file for using jogobot-red
#
# All dependencies can be installed using:
# $ sudo pip install -r requirements.txt
#
# It is good practise to install packages using the system
# package manager if it has a packaged version. If you are
# unsure, please use pip as described at the top of the file.
#
# To get a list of potential matches, use
#
# $ awk -F '[#>=]' '{print $1}' requirements.txt | xargs yum search
# or
# $ awk -F '[#>=]' '{print $1}' requirements.txt | xargs apt-cache search
# Needed for Database-Connection
# SQLAlchemy Python ORM-Framework
SQLAlchemy>=1.1
# PyMySQL DB-Connector
PyMySQL>=0.7
# Also needed, but not covered here, is a working copy of pywikibot-core
# which also brings mwparserfromhell