-#!/usr/bin/python3.4
-# $Id$
-# $HeadURL$
"""This module contains code to make the access of MediaWiki tables
easy. The module uses sqlalchemy to access the database.
"""
-#!/usr/bin/python3.4
-# $Id$
-# $HeadURL$
"""For parsing MediaWiki text, we rely on the package mwparserfromhell (https://github.com/earwig/mwparserfromhell).
This module just contains a few additional useful functions.
* https://www.mediawiki.org/wiki/Alternative_parsers
"""
+
class ParseError(RuntimeError):
"""Exception used by some of the functions"""
pass
-#!/usr/bin/python3.4
-# $Id$
-# $HeadURL$
"""Contains functions that maintain/update the cache tables."""
from sqlalchemy import schema
from sqlalchemy.sql import select
-#!/usr/bin/python3.4
-# $Id$
-# $HeadURL$
"""This module contains code to make tha access of winterrodeln
tables in MediaWiki easy. The module uses sqlalchemy to access the database.
"""
-#!/usr/bin/python3.4
-# $Id$
-# $HeadURL$
"""This module contains winterrodeln specific functions that are processing the MediaWiki markup.
"""
import re
-#!/usr/bin/python3.4
-# $Id$
-# $HeadURL$
"""
This module contains functions that convert winterrodeln specific strings (like geographic coordinates) from string
to appropriate python types and the other way round.