English |
Русский
A lightweight library for high-speed local searching through Russian Wikipedia titles, featuring fuzzy matching and automatic summary extraction.
from wiki_search import WikiSearcher
searcher = WikiSearcher('your-email@example.com')
result = searcher.search('Единой России')
if result:
print(f'Title: {result["title"]}') # Единая Россия
print(f'URL: {result["url"]}') # https://ru.wikipedia.org/wiki/Единая_Россия
print(f'Summary: {result["summary"]}') # Всероссийская политическая партия «Единая Россия»...pip install git+https://github.com/KvaytG/ru-wiki-search.gitLicensed under the PolyForm Noncommercial license.
This project uses open-source components. For license details see pyproject.toml and dependencies' official websites.