Skip to main content

wikivectors

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_...
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.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")

Errors raise WikiVectorsError with .status, .code, .message and .request_id.

LangChain

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.

Metadata

Release files for wikivectors 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wikivectors 0.1.0
File Size Uploaded Provenance Actions
wikivectors-0.1.0.tar.gz 7.2 kB Without provenance Details for wikivectors-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for wikivectors 0.1.0
File Interpreter ABI Platform Actions
wikivectors-0.1.0-py3-none-any.whl Python 3 none any Details for wikivectors-0.1.0-py3-none-any.whl

Total release size: 14.1 kB

Release files / wikivectors-0.1.0.tar.gz

Download URL wikivectors-0.1.0.tar.gz
Size 7.2 kB
Tags Source
SHA-256 checksum
How to use checksums
2e362846cd4f5eee670c017ff34b8262a218e4b0a97b159542f78d2ff4e2133d
BLAKE2b-256 checksum
How to use checksums
cb3af562c1975924e6709324ba10e904f8cf540c41734f221adbfbb6c7caa61f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

Release files / wikivectors-0.1.0-py3-none-any.whl

Download URL wikivectors-0.1.0-py3-none-any.whl
Size 6.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f73e384a752d59bdf8b8bd00e01ecb23a45ecaf7583a58622356d82088f3be08
BLAKE2b-256 checksum
How to use checksums
b12a781b461ecc65c5b9263db4d5a6c6bbf313c694c2ee740f47b64d4b16c101
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

Security for wikivectors 0.1.0

Provenance

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.

No provenance found

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page