{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/2"},{"label":"Email","url":"https://skillfed.io/packages/category/communications-email"}],"enrichment":{"capability":"Wikipedia-API is a Python wrapper for Wikipedia's MediaWiki API that retrieves page content, sections, links, categories, and metadata in both synchronous and asynchronous modes.","skillfed_tags":["wikipedia-integration","async-support","web-scraping"],"use_cases":["Scrape Wikipedia summaries and full article text for knowledge base or research tools","Build a chatbot or Q&A system that retrieves Wikipedia content to answer user queries","Extract page sections and structure for content analysis or document processing pipelines","Fetch Wikipedia links and categories to build knowledge graphs or topic relationship maps","Integrate Wikipedia data into async applications without blocking the event loop"],"what_it_does":"Wikipedia-API wraps Wikipedia's MediaWiki API to let you programmatically fetch and parse Wikipedia pages. It provides both a synchronous Wikipedia client and an asynchronous AsyncWikipedia client, so you can choose blocking or non-blocking I/O depending on your application's needs. You initialize a client with a user-agent string and language code, then call .page() to retrieve a page object. From there you can access the page's summary, full text, sections with recursion support, links, categories, translations, and metadata like URLs and page IDs. The library handles underlying HTTP requests via httpx and uses tenacity for retry logic.\n\nThe synchronous API returns data directly from properties like page.summary and page.text, while the async API makes those same properties awaitable coroutines. Both APIs support extracting text in wiki markup or HTML format. The library is actively maintained, supports Python 3.10 and later, and has no known security vulnerabilities.","worth_installing":"Yes. The package is actively maintained, has no security vulnerabilities, uses a permissive MIT license, and installs with low friction. It's well-suited for any project that needs to programmatically access Wikipedia content. The dual sync/async API design makes it flexible for both simple scripts and production async applications."},"id":"wikipedia-api","links":{"html":"https://skillfed.io/packages/wikipedia-api","md":"https://skillfed.io/packages/wikipedia-api.md","pypi":"https://pypi.org/project/wikipedia-api/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-05-26","license_spdx":null,"license_treatment":"permissive","name":"Wikipedia-API","python_support":"supports_current","summary":"Python Wrapper for Wikipedia"},"popularity":{"monthly_downloads":19140409,"position":1073,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.15.0"}
