Skip to main content

Wolfram|Alpha module for Sopel IRC bot framework (replaced)

Project description

Sopel Wolfram|Alpha plugin

Wolfram|Alpha plugin for Sopel IRC bot framework

Important: This package is no longer updated. Please install sopel-wolfram for use with Sopel 8.0 and higher.


  • Sopel 7.x

  • wolframalpha 3.x


This package’s full name is sopel-modules.wolfram and it is listed on PyPI under that identifier.

The only supported installation method is via pip:

pip install sopel-modules.wolfram

Use pip3 as appropriate for your Python environment.

Development versions can be installed from GitHub via pip also:

pip install git+

Note that pip does not keep track of packages obtained from sources outside of PyPI, so pip install --upgrade sopel-modules.wolfram will not work for GitHub installations. Instead, to upgrade to the latest code, do:

pip install --upgrade git+



The Wolfram|Alpha API requires a key to be added in the bot’s config. Click the “Get an AppID” button at and add your new AppID to Sopel’s configuration file:

app_id = yourappidgoeshere


  • max_public: the number of lines over which results will be sent in NOTICE instead of to the channel (default: 10)

  • units: measurement system displayed in results, either metric (the default) or nonmetric


<User> .wa 2+2
<Sopel> [W|A] 2+2 = 4

<User> .wa python language release date
<Sopel> [W|A] Python | date introduced = 1991

<User> .wa airspeed velocity of an unladen swallow
<Sopel> [W|A] estimated average cruising airspeed of an unladen European
        swallow = 25 mph  (miles per hour)(asked, but not answered, about a
        general swallow in the 1975 film Monty Python and the Holy Grail)

A Note About Reloading

Due to Python limitations, reloading a “packaged” Sopel plugin such as this one, might not actually reload all of the code. After updating sopel-wolfram, please restart the bot at your earliest convenience, rather than using Sopel’s .reload function. The last tested version was: Sopel 7.0.0


Help with installing or configuring the module is available by pinging either dgw or maxpowa in #sopel on freenode. dgw is also available in #Kaede on Rizon.

Bugs and feature requests can be submitted to the GitHub issue tracker, preferably after first bringing them up on IRC.


Ticket numbers in changelog entries can be looked up by visiting<number>

sopel-wolfram v0.5.0.post1

Metadata/description changes only. This package has been replaced by sopel-wolfram for Sopel 8+.

sopel-wolfram v0.5.0 “ALIVE”

That’s “ALIVE” as in “This project isn’t DEAD” (despite the last release being over two years old).


  • Sopel 7.x now supported & required (#23)

  • Dropped support for Sopel 6.x (#23)

  • Dropped support for wolframalpha 2.x (#23)

  • Internal refactoring to take advantage of new Sopel features (#23)


  • No more ZIP releases; PyPI only allows one file type now (#22)

sopel-wolfram v0.4.1 “Kibou ni tsuite”

This release named in memory of LuckyNumber78, who changed lives every day simply by being her excitable, fun-loving self. She is missed by many.


  • max_public setting could cause errors because it was treated as a string (#21)

sopel-wolfram v0.4.0 “Mirai no kajitsu”


  • Support for wolframalpha 3.0 with transitional fallback to 2.4 (#11, #19; see README notes)

  • New configuration option max_public, a number defining the maximum number of lines that can be sent without using NOTICEs. Default: 5 (#13)

  • New configuration option units, to specify whether the API should return metric (default) or nonmetric measurements (#18; see #16)


  • Threshold for using NOTICEs is now 5 lines, up from the previous default of 3


  • Non-ASCII text in output is no longer \:encoded (#15)

sopel-wolfram v0.3.1 “Nusumareta kuchibiru”


  • Unicode-encode query to avoid UnicodeEncodeError on non-ASCII characters (#10)

sopel-wolfram v0.3.0 “So long!”


  • Results longer than 3 lines will be sent via NOTICE instead of flooding channels (#8)

sopel-wolfram v0.2.1 “Mae shika mukanee”


  • Output now split into multiple messages when line breaks are present (#4)

  • Tell pip we do not want wolframalpha 3.0 yet (#6)

sopel-wolfram v0.2.0 “Miraibashi”


  • Try a lot harder to give useful output (#3)

  • Tell user to try again if an unspecified error occurs (empty error message)


  • Cleanup: PEP8 & unused imports

  • Refactor to make future addition of integration tests easier

sopel-wolfram v0.1.2 “Switch”


  • Shorten some error messages

  • Identify as “[W|A]” instead of “[Wolfram]” in output for brevity

  • Ensure all module output is prefixed

  • Add more examples to help output and README


  • README now includes installation instructions and where to get help/report bugs

sopel-wolfram v0.1.1 “Already”


  • Now outputs error if app_id is missing (#1)


  • README reformatted (thanks @maxpowa)

  • Begin maintaining version history in NEWS file

sopel-wolfram v0.1.0 “Beginner”

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sopel_modules_wolfram-0.5.0.post1.tar.gz (8.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page