Sopel plugin for interacting with Wikimedia projects like Wikipedia and Wiktionary
Looking up Wikipedia articles, either using the .wp command or an in-message URL:
<SnoopJ> .wp ichiju sansai
<terribot> [wikipedia] Ichijū-sansai | "Ichijū-sansai (Japanese: 一汁三菜)
'one soup, three dishes' is a traditional Japanese dining format
of a bowl of rice, soup, a main dish, and two side dishes. It is
a key component of kaiseki cuisine and reflects the aesthetic and
nutritional principles of Japanese meals." |
https://en.wikipedia.org/wiki/Ichij%C5%AB-sansai
<SnoopJ> https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes
<terribot> [wikipedia] List of ISO 639 language codes | "ISO 639 is a
standardized nomenclature used to classify languages. Each
language is assigned a two-letter (set 1) and three-letter
lowercase abbreviation (sets 2–5). Part 1 of the standard, ISO
639-1 defines the two-letter codes, and Part 3 (2007), ISO 639-3,
defines the three-letter codes, aiming to cover all known natural
languages, largely superseding the ISO 639-2 three-letter code
standard. "
Looking up Wiktionary definitions and etymologies using the .wt and .ety commands:
<SnoopJ> .wt schnozz
<terribot> [wiktionary] schnozz — noun: 1. (slang) Nose
<SnoopJ> .ety windfall
<terribot> [wiktionary] windfall: From Middle English windfal, wyndfall,
equivalent to wind + fall. Cognate with Middle High German
wintval, wintfal, German Windfall.
Install
The recommended way to install this plugin is to use pip:
$ pip install sopel-wikimedia
Note that this plugin requires Python 3.8+ and Sopel 7.1+. It won’t work on Python versions that are not supported by the version of Sopel you are using.
Configure
sopel-wikimedia can be configured by invoking Sopel’s interactive wizard:
$ sopel-plugins configure wikipedia Configure wikipedia.py - Sopel Wikipedia Plugin Enter the default language to find articles from. [en]
The [bot database](https://sopel.chat/docs/package/db) also supports the per-nick (for PMs) and per-channel value wikipedia_lang.
Changelog
1.0.0
Initial release. Replaces wikipedia and wiktionary plugins from sopel core.
Metadata
Release files for sopel-wikimedia 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sopel_wikimedia-1.0.0.tar.gz | 12.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sopel_wikimedia-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 25.0 kB
Release files / sopel_wikimedia-1.0.0.tar.gz
| Download URL | sopel_wikimedia-1.0.0.tar.gz |
|---|---|
| Size | 12.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4acddb5e4e209f58edaec4288654a7f30a78b78530cfecf210ff843fbe46cb60
|
|
BLAKE2b-256 checksum How to use checksums |
ba24cb3ff89eafac24d917d3ba830cf1d48de0c23d300ea590b2d934a6377aaf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 14, 2025.
Transparency logRelease files / sopel_wikimedia-1.0.0-py3-none-any.whl
| Download URL | sopel_wikimedia-1.0.0-py3-none-any.whl |
|---|---|
| Size | 12.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5b4e43e4e20131e486ef61d4fbf7ff862ba288a05845bfbe6d1bef542260d48e
|
|
BLAKE2b-256 checksum How to use checksums |
fcd922077b1b227f3171f5d39e03d044b2ac90eed40984c184e7b002b4ec6b01
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 14, 2025.
Transparency log