Skip to main content

sopel-xkcd

xkcd plugin for Sopel IRC bots.

Features & Usage

This plugin provides lookup commands and automatic URL expansion for xkcd comics in Sopel IRC bots.

  • .xkcd — Get a random comic
  • .xkcd <number> — Get a specific comic by number (e.g., .xkcd 303)
  • .xkcd 0 — Get the most recent comic
  • .xkcd -<n> — Get the nth-latest comic (e.g., .xkcd -1 for the previous comic)
  • .xkcd <keywords> — Search for a comic by keywords (e.g., .xkcd battery staple)
  • Posting an xkcd.com URL in chat will fetch the comic's title and alt-text

Installation

After installing Sopel, install this plugin with pip:

pip install sopel-xkcd

Configuration

No configuration is required.

Credits

This is a continuation of Sopel 8.0's built-in xkcd plugin. You can find the original file in Sopel's history.

Changelog

1.1.0

Replaced defunct search backend with a new one.

1.0.0

Initial release. Straight copy of Sopel 8.0's version (with minor tweaks to make it behave correctly outside of sopel.builtins).

Metadata

Release files for sopel-xkcd 1.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 sopel-xkcd 1.1.0
File Size Uploaded
sopel_xkcd-1.1.0.tar.gz 5.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sopel-xkcd 1.1.0
File Interpreter ABI Platform
sopel_xkcd-1.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 11.3 kB

Release files / sopel_xkcd-1.1.0.tar.gz

Download URL sopel_xkcd-1.1.0.tar.gz
Size 5.5 kB
Tags Source
SHA-256 checksum
How to use checksums
3a07affb0ac912a213cc6c76c5172386c72bcf5abcf05673498097cbc419bb17
BLAKE2b-256 checksum
How to use checksums
e8cafa4b550c6ce85409179b99bd4b60a160f389440b1023f81ef4340a6fa380
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 6, 2026.

Transparency log

Release files / sopel_xkcd-1.1.0-py3-none-any.whl

Download URL sopel_xkcd-1.1.0-py3-none-any.whl
Size 5.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c8ccf856663ec57a6e95a76b3fa69ac390315d89ea99e5a58228fd72cbc782b2
BLAKE2b-256 checksum
How to use checksums
11669e0b75cbe7f6f32581eb534fa344fa9e1cae5c00cfe130d3bcd3613f2b24
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 6, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files

1.0.0

2 release files

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