diff --git a/README.md b/README.md index 0fc01b3..ed7aaef 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# mediawiki_dump_tools +# wikiq Tools for converting MediaWiki XML database dumps—the "history" dumps that include every revision of every page—into tabular datasets for @@ -12,8 +12,8 @@ optional computed columns. wikiq requires Python 3.11 or later. Install it with pip from a clone of this repository: - git clone https://gitea.communitydata.science/collective/mediawiki_dump_tools.git - cd mediawiki_dump_tools + git clone https://gitea.communitydata.science/collective/wikiq.git + cd wikiq pip install . [uv](https://docs.astral.sh/uv/) works too (`uv sync`) and is convenient diff --git a/pyproject.toml b/pyproject.toml index d56d85a..8f16667 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [project] -name = "mediawiki-dump-tools" +name = "wikiq" version = "0.3.0" description = "Convert MediaWiki XML database dumps into tabular datasets for research" readme = "README.md" @@ -61,7 +61,7 @@ dev = [ [project.urls] Homepage = "https://wiki.communitydata.science/" -Repository = "https://gitea.communitydata.science/collective/mediawiki_dump_tools" +Repository = "https://gitea.communitydata.science/collective/wikiq" [project.scripts] wikiq = "wikiq:main" diff --git a/src/wikiq/__init__.py b/src/wikiq/__init__.py index b4f53b2..27a2735 100755 --- a/src/wikiq/__init__.py +++ b/src/wikiq/__init__.py @@ -49,7 +49,7 @@ from wikiq.resume import get_resume_point try: from importlib.metadata import PackageNotFoundError from importlib.metadata import version as _package_version - __version__ = _package_version("mediawiki-dump-tools") + __version__ = _package_version("wikiq") except PackageNotFoundError: __version__ = "unknown" @@ -99,7 +99,7 @@ def require_mw_persistence(): "-p legacy requires mediawiki-utilities, which wikiq no longer " "installs by default.\n" "Install it with:\n" - " pip install 'mediawiki-dump-tools[legacy]'\n" + " pip install 'wikiq[legacy]'\n" "This method exists to reproduce results from older research " "projects; -p sequence is the current equivalent." )