skillfed

wolframalpha

Wolfram|Alpha 2.0 API client

wolframalpha v5.1.3 302.4K downloads/30d#7,823 on PyPI154
Permissive license Active released

What it is and what it does

This is a straightforward wrapper around the Wolfram|Alpha v2.0 REST API that lets you send computational queries from Python and get back structured results. It handles the HTTP communication, XML parsing (via xmltodict), and result formatting so you don't have to deal with raw API responses. The package depends on httpx for HTTP requests and several utility libraries (more-itertools, jaraco.context, multidict) for data handling.

You'll use it when you need to integrate Wolfram|Alpha's computational knowledge into a Python application—asking questions like 'what is the weather in London' or 'solve x^2 + 3x + 2' and getting back parsed, usable answers. It's been in active development since 2012 and maintains compatibility with modern Python versions (3.8+).

Use it for:

  • Embed computational queries into a chatbot or assistant application that needs real-time answers.
  • Build a data pipeline that enriches datasets with Wolfram|Alpha calculations or knowledge lookups.
  • Create a command-line tool that queries Wolfram|Alpha without opening a browser.
  • Integrate mathematical problem-solving into an educational or tutoring application.
  • Automate fact-checking or knowledge verification tasks in a larger workflow.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Provides a Python client for querying the Wolfram|Alpha v2.0 API, allowing you to send questions and retrieve structured computational answers.

Yes. The package has low install friction, active maintenance, a permissive MIT license, no known vulnerabilities, and a clear use case for anyone needing programmatic access to Wolfram|Alpha. The main prerequisite is obtaining an API key, which is straightforward. Install it if you need to query Wolfram|Alpha from Python.

Install

wolframalpha on PyPI

pip

pip install wolframalpha

uv

uv add wolframalpha

poetry

poetry add wolframalpha

Installing wolframalpha

Before you install

Low install friction with a pure-Python wheel distribution. Actively maintained with recent commits and stable production status since 2012.

License in practice

MIT license (permissive) means you can use, modify, and distribute this package freely in commercial and open-source projects with minimal restrictions.

Quickstart

pip install wolframalpha

import wolframalpha

client = wolframalpha.Client('YOUR_APP_ID')
result = client.query('2+2')

You must obtain a Wolfram|Alpha API key (app ID) from https://developer.wolframalpha.com to authenticate requests.

Verify before relying

  • Whether the package handles rate limiting or quota management for API calls.
  • What response formats are supported beyond the default XML-to-dict conversion.
  • Whether offline caching or result memoization is built in.

Package facts

License not declared (permissive)
Python support supports the current Python release (>=3.8)
Install friction low — pure-Python wheel
Runtime dependencies 5 — xmltodict, more-itertools, jaraco.context, httpx, multidict
Maintenance actively maintained — 804 days since the last release
Last repo commit
First released
Downloads 302,377/month — #7,823 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: wolframalpha-5.1.3-py3-none-any.whl

Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: Only

Tags

wolfram alpha api clientcomputational knowledge querieswolfram alpha pythonquery wolfram alpha programmaticallywolfram api wrapper
api-clientcomputational-knowledgeexternal-service

More WWW/HTTP packages