wikipedia
Wikipedia API for Python
Decision gist · record as of 2026-08-14
No, unless you are working with legacy code or a frozen environment. The package is dormant (last release 2014-11-15), and its compatibility with current Python versions and the MediaWiki API is unverified. For new projects, seek a maintained alternative with active development and current API support. If you must use this library, test thoroughly in your environment first.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- The package's compatibility with current Python versions and MediaWiki API is uncertain given the maintenance gap; test against your target environment before relying on it in production.
- High install friction with no runtime dependencies.
- The package is dormant—last release was 2014-11-15, with no new releases since then.
License · maintenance · safety
MIT (permissive) — MIT licensed under permissive terms, so you may use, modify, and distribute freely with minimal restrictions. No licensing barrier to adoption.
last release 2014-11-15 (4290 days) · last repo commit 2024-05-12 · 3,004 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,024,854 downloads/mo, #4,483 on PyPI
Alternatives
Verify before relying
pip install wikipedia
import wikipedia
results = wikipedia.search("Python programming")
summary = wikipedia.summary("Python (programming language)")
page = wikipedia.page("Python (programming language)")
print(page.content)- Whether the package still works reliably against the current MediaWiki API without breaking changes.
- Confirmed compatibility with modern Python versions beyond the stated support range.
- Whether rate limiting or other infrastructure considerations have changed since the last release.
What it is and what it does
Wikipedia is a lightweight wrapper around the MediaWiki API designed to make it simple to fetch and parse Wikipedia data from Python. It lets you search for articles, retrieve summaries and full page content, extract links and images, and switch between language editions—all without writing raw API calls. The library has no runtime dependencies and is intentionally minimal, trading advanced features for ease of use.
However, the package has been dormant since 2014-11-15, with no releases for years. While the GitHub repository remains active and received a commit on 2024-05-12, the long gap between the last release and today raises serious questions about whether it still works against the current MediaWiki API, whether it handles modern Python versions correctly, and whether it respects current infrastructure expectations.
Use it for
- Quick prototyping or learning: fetch Wikipedia summaries and article text for educational scripts or demos without API overhead.
- Data collection for small projects: gather article links, references, or summaries for analysis when you don't need advanced scraping features.
- Multilingual content access: switch between language editions to retrieve the same article in different languages.
- Simple lookup tools: build a command-line or web tool that lets users search and read Wikipedia articles programmatically.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No, unless you are working with legacy code or a frozen environment.
The package is dormant (last release 2014-11-15), and its compatibility with current Python versions and the MediaWiki API is unverified. For new projects, seek a maintained alternative with active development and current API support. If you must use this library, test thoroughly in your environment first.
Install
wikipedia on PyPI
Before you install
High install friction with no runtime dependencies. The package is dormant—last release was 2014-11-15, with no new releases since then. While the repository remains on GitHub with 3004 stars and received a commit in 2024-05-12, the long gap between releases raises concerns about compatibility with modern Python versions and current MediaWiki infrastructure.
The package's compatibility with current Python versions and MediaWiki API is uncertain given the maintenance gap; test against your target environment before relying on it in production.
License in practice
MIT licensed under permissive terms, so you may use, modify, and distribute freely with minimal restrictions. No licensing barrier to adoption.
Quickstart
pip install wikipedia
import wikipedia
results = wikipedia.search("Python programming")
summary = wikipedia.summary("Python (programming language)")
page = wikipedia.page("Python (programming language)")
print(page.content)
Verify before relying
- Whether the package still works reliably against the current MediaWiki API without breaking changes.
- Confirmed compatibility with modern Python versions beyond the stated support range.
- Whether rate limiting or other infrastructure considerations have changed since the last release.
Package facts
| License | MIT permissive |
| Python support | Not specified |
| Install friction | High. Source build required |
| Runtime dependencies | None |
| Maintenance | Dormant 4,290 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,024,854 / month, #4,483 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaLicense :: OSI Approved :: MIT LicenseProgramming Language :: PythonProgramming Language :: Python :: 3Topic :: Software Development :: Libraries |
Evidence: wikipedia-1.4.0.tar.gz
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “search wikipedia articles programmatically”
- wikipediaProvides simple Python access to Wikipedia article data through the…
- trec-car-toolsProvides Python and Java bindings to read TREC Complex Answer…
- newsapi-pythonA Python client library that wraps the News API, providing methods to…
Give your agent the search over MCP, or paste the wish link into any chat.
More Libraries packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.
Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
See also mwclient · pywikibot · Wikipedia-API · lexisnexisapi · mwparserfromhell · wikipedia-mcp · mwtypes · wikitextparser · readable-content · mwxml