Skip to main content

sopel-rulesof

"Rules of X" plugins for Sopel IRC bots.

Installing

Releases are hosted on PyPI, so after installing Sopel, all you need is pip:

$ pip install sopel-rulesof

Depending on your Sopel bot's configuration, you might need to enable or disable the specific rules_of_x plugins (see below) that you want your bot to use. You can do so with the sopel-plugins command, e.g.:

$ sopel-plugins enable rules_of_acquisition

Available rule collections

  • rules_of_acquisition: The Ferengi Rules of Acquisition
  • rules_of_the_internet: The Rules of the Internet (Rule 34 & friends)

Installation requirements

The sopel-rulesof package is written with Python 3 and Sopel 8.0+ in mind. Installation on Python 2, or usage with Sopel 7.x, is not supported.

Using

rules_of_acquisition

Commands:

  • .roa
    • Call without arguments to grab a random Rule of Acquisition
    • Call with a single number to print that specific Rule (e.g. .roa 153)
    • Call with a word or phrase to pick a random rule containing it (e.g. .roa justification)

rules_of_the_internet

Commands:

  • .roti
    • Call without arguments to grab a random Rule of the Internet
    • Call with a single number to print that specific Rule (e.g. .roti 34)
    • Call with a word or phrase to pick a random rule containing it (e.g. .roti talk about)

Changelog

0.1.0

First release of sopel-rulesof plugin collection.

Launch plugins are rules_of_acquisition and rules_of_the_internet.

Metadata

Release files for sopel-rulesof 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 sopel-rulesof 0.1.0
File Size Uploaded
sopel_rulesof-0.1.0.tar.gz 7.1 kB Details

Built distribution (wheel)

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

Total release size: 16.0 kB

Release files / sopel_rulesof-0.1.0.tar.gz

Download URL sopel_rulesof-0.1.0.tar.gz
Size 7.1 kB
Tags Source
SHA-256 checksum
How to use checksums
e66b464f23d0ee615f6dfa36a8efec825a70026adc4523fd4309f0af47febc60
BLAKE2b-256 checksum
How to use checksums
b80a4510b6685b9b6f5cca88d5be65ae09655d983c6e0a9372d647318e24c7c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.0.1 CPython/3.12.8

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 Feb 23, 2025.

Transparency log

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

Download URL sopel_rulesof-0.1.0-py3-none-any.whl
Size 8.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0f98c2089c29464b1da4f0332b0b278aa716903fc72c679ec8f354579bb542c6
BLAKE2b-256 checksum
How to use checksums
20c881383da565df8764fe2f965d8cc9f1f22e65b1496b6462a8350e7e6fa350
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.0.1 CPython/3.12.8

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 Feb 23, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.0 This release

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