A lightweight, Pythonic client for the MediaWiki API. Version 0.11.0. Active development, irregular releases.
pip install mwclientNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Connect to Wikipedia and fetch page text.
Update credentials format: `site = mwclient.Site('en.wikipedia.org', clients_useragent=('MyBot',))`After creating a Site object, call `site.login(username, password)`.
Use Python 3 string handling and avoid reliance on `six` internals.
Ensure you are using a bot password (not your main password) and double-check credentials.
Use `import mwclient; site = mwclient.Site(...)` instead of `from mwclient import client`.
Verify site URL (e.g., 'en.wikipedia.org') and internet connection.