Repository navigation
v0.1.0
First release of vgi-wikipedia — Wikipedia / MediaWiki full-text search and page retrieval as VGI DuckDB SQL functions over the free official MediaWiki API (no key).
Install
- Container:
docker run -p 8000:8000 ghcr.io/query-farm/vgi-wikipedia:0.1.0(HTTP;stdioarg for the DuckDB-spawned transport) - Python wheel/sdist attached below (
pip install vgi_wikipedia-0.1.0-*.whl)
Functions
wiki_search(query, lang :=, count :=, max_pages :=, api_url :=)— ranked full-text search (table function)wiki_page(title[, lang])— a page's plain-text summary extract (scalar)wiki_page_summary(title, lang :=, api_url :=)— a page's rich summary row (table function)
Retrieved article content is CC-BY-SA; attribution and share-alike are the caller's responsibility.