Skip to main content Switch to mobile version wikivectors 0.3.0 Fresh English Wikipedia for AI apps: search, answers, pages, facts and a change feed. LangChain and LlamaIndex retrievers included.
pip install wikivectors==0.3.0 Copy PIP instructions
Fresh English Wikipedia for AI apps. Ask in plain English and get the right paragraphs, each with its link and revision, updated within the hour. Also short cited answers, whole pages, infobox facts and a change feed.
Free key (1,000 searches a month): https://wikivectors.com/account · Docs: https://wikivectors.com/docs
pip install wikivectors export WIKIVECTORS_KEY=wv_live_... Search
from wikivectors import WikiVectors wv = WikiVectors() # reads WIKIVECTORS_KEY for p in wv.search("who won the 2026 FIFA World Cup", limit=3): print(p["title"], p["permalink"]) print(p["text"]) Everything else
wv.answer("who won the 2026 FIFA World Cup") # short answer + sources, or answered=False wv.pages(["Ada Lovelace", "Alan Turing"]) # whole pages wv.facts("Ada Lovelace") # infobox as JSON: born, died, known for... wv.identify("Michael Jordan", hint="professor, machine learning") wv.similar("Ada Lovelace", limit=5) # pages most like this one wv.titles(prefix="2025 in ") wv.changes(pages=["Ada Lovelace"]) # recent edits; pass next_after back as after= wv.watch(page="Ada Lovelace", callback_url="https://example.com/hook") Let your app or AI get its own key
No key yet? Ask for one by email. The person gets a code and an Approve button; the key comes back once they click it.
pip install "wikivectors[langchain]" from wikivectors.langchain import WikiVectorsRetriever retriever = WikiVectorsRetriever(k=3) for doc in retriever.invoke("who won the 2026 FIFA World Cup"): print(doc.metadata["title"], doc.metadata["permalink"]) LlamaIndex
pip install "wikivectors[llamaindex]" from wikivectors.llamaindex import WikiVectorsRetriever for n in WikiVectorsRetriever(k=3).retrieve("who won the 2026 FIFA World Cup"): print(n.node.metadata["title"], n.node.metadata["permalink"]) License
The client is MIT. Wikipedia text is CC BY-SA 4.0: show the attribution line, or at least the link, wherever you show the text.
Released: Nov 30, 2026
MIT View SPDX License List
langchain llamaindex
grounding langchain llamaindex llm rag retrieval search wikipedia
Intended Audience Developers
Programming Language Python :: 3
Topic Scientific/Engineering :: Artificial Intelligence
Release files for wikivectors 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
Built distribution (wheel)
Total release size: 474.1 kB
Release files / wikivectors-0.3.0.tar.gz
Release files / wikivectors-0.3.0-py3-none-any.whl
Security for wikivectors 0.3.0
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.
Release history Release notifications | RSS feed
Nov 30, 2026 2 release files No provenance
Nov 29, 2026 2 release files No provenance
"PyPI", "Python Package Index", and the blocks logos are registered trademarks of the Python Software Foundation.
© 2026 Python Software Foundation
Deployed from fc0d8e6











