Skip to content

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.