Added the skeleton of a python library to make the interaction with "winterrodeln...
authorphilipp <philipp@7aebc617-e5e2-0310-91dc-80fb5f6d2477>
Mon, 31 Jan 2011 19:44:58 +0000 (19:44 +0000)
committerphilipp <philipp@7aebc617-e5e2-0310-91dc-80fb5f6d2477>
Mon, 31 Jan 2011 19:44:58 +0000 (19:44 +0000)
git-svn-id: http://www.winterrodeln.org/svn/servermediawiki/trunk/wrpylib@752 7aebc617-e5e2-0310-91dc-80fb5f6d2477

setup.py [new file with mode: 0644]
src/__init__.py [new file with mode: 0644]
src/mwapi.py [new file with mode: 0644]
src/mwmarkup.py [new file with mode: 0644]
src/wrmwmarkup.py [new file with mode: 0644]
src/wrvalidators.py [new file with mode: 0644]

diff --git a/setup.py b/setup.py
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/src/__init__.py b/src/__init__.py
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/src/mwapi.py b/src/mwapi.py
new file mode 100644 (file)
index 0000000..5e23fec
--- /dev/null
@@ -0,0 +1,12 @@
+#!/usr/bin/python2.6
+# -*- coding: iso-8859-15 -*-
+# $Id$
+# $HeadURL$
+"""This module contains general functions for using the MediaWiki API. There is one very
+good Python wrapper implementation of the MediaWiki API:
+* wikitools http://code.google.com/p/python-wikitools/
+
+Therefore this module doesn't need to have much content.
+"""
+
+
diff --git a/src/mwmarkup.py b/src/mwmarkup.py
new file mode 100644 (file)
index 0000000..11d1596
--- /dev/null
@@ -0,0 +1,13 @@
+#!/usr/bin/python2.6
+# -*- coding: iso-8859-15 -*-
+# $Id$
+# $HeadURL$
+"""This module contains general functions that help parsing the mediawiki markup.
+I looked for an already existing MediaWiki parser in Python but I didn't find anything 
+that convinced me. However, here are the links:
+
+* py-wikimarkup https://github.com/dcramer/py-wikimarkup
+* mwlib http://code.pediapress.com/wiki/wiki
+"""
+
+
diff --git a/src/wrmwmarkup.py b/src/wrmwmarkup.py
new file mode 100644 (file)
index 0000000..26c833b
--- /dev/null
@@ -0,0 +1,7 @@
+#!/usr/bin/python2.6
+# -*- coding: iso-8859-15 -*-
+# $Id$
+# $HeadURL$
+"""This module contains winterrodeln specific functions that are prcocessing the MediaWiki markup.
+"""
+
diff --git a/src/wrvalidators.py b/src/wrvalidators.py
new file mode 100644 (file)
index 0000000..84e9680
--- /dev/null
@@ -0,0 +1,13 @@
+#!/usr/bin/python2.6
+# -*- coding: iso-8859-15 -*-
+# $Id$
+# $HeadURL$
+"""This module contains general functions for using the MediaWiki API. There is one very
+good Python wrapper implementation of the MediaWiki API:
+* wikitools http://code.google.com/p/python-wikitools/
+
+Therefore this module doesn't need to have much content.
+"""
+
+
+