-
Notifications
You must be signed in to change notification settings - Fork 29
/
__init__.py
41 lines (39 loc) · 1000 Bytes
/
__init__.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
"""
mediawiki module initialization
"""
from mediawiki.configuraton import URL, VERSION
from mediawiki.exceptions import (
DisambiguationError,
HTTPTimeoutError,
MediaWikiAPIURLError,
MediaWikiCategoryTreeError,
MediaWikiException,
MediaWikiGeoCoordError,
MediaWikiLoginError,
PageError,
RedirectError,
)
from mediawiki.mediawiki import MediaWiki
from mediawiki.mediawikipage import MediaWikiPage
__author__ = "Tyler Barrus"
__maintainer__ = "Tyler Barrus"
__email__ = "barrust@gmail.com"
__license__ = "MIT"
__version__ = VERSION
__credits__ = ["Jonathan Goldsmith"]
__url__ = URL
__bugtrack_url__ = f"{__url__}/issues"
__download_url__ = f"{__url__}/tarball/v{__version__}"
__all__ = [
"MediaWiki",
"MediaWikiPage",
"PageError",
"RedirectError",
"MediaWikiException",
"DisambiguationError",
"MediaWikiAPIURLError",
"HTTPTimeoutError",
"MediaWikiGeoCoordError",
"MediaWikiCategoryTreeError",
"MediaWikiLoginError",
]