Skip to content

KvaytG/ru-wiki-search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ru-wiki-search

US English | RU Русский

Python 3.10 PolyForm License Sponsor

A lightweight library for high-speed local searching through Russian Wikipedia titles, featuring fuzzy matching and automatic summary extraction.

📚 Usage

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"]}')  # Всероссийская политическая партия «Единая Россия»...

📥 Installation

pip install git+https://github.com/KvaytG/ru-wiki-search.git

📝 License

Licensed under the PolyForm Noncommercial license.

This project uses open-source components. For license details see pyproject.toml and dependencies' official websites.