Wolfram Alpha API built for Python.
Switch branches/tags
Nothing to show
Failed to load latest commit information.
docs Fix indenttypo in docs/index.rst Nov 22, 2012
tungsten Update README.md with usage, pitch. Minor bug fix Nov 17, 2012
.gitignore Add sphinx documentation Nov 22, 2012
HISTORY.rst Change README HISTORY to .rst Nov 17, 2012
LICENSE.txt Initial Commit Nov 15, 2012
README.rst Fix code mistake in README Nov 9, 2014
setup.py Change README HISTORY to .rst Nov 17, 2012



Tungsten is a dead simple Wolfram Alpha API wrapper built for python, with all the power and none of the hassle. Check it out:

import tungsten

client = tungsten.Tungsten('appid')
result = client.query('pi')

for pod in result.pods:
    print pod.scanner

Of course, that stuff is pretty simple. Tungsten can handle a lot more.

# Query parameters
params = {'format': ['plaintext', 'image', 'minput', 'moutput'],
          'scanner': 'numeric',
          'parsetimeout': 10}
result = client.query('rref {{1,2},{3,4}}', params)

# Various formats
mathematica_input = result.pods[1].format['minput']
image = result.pods[1].format['img']

# Piping queries
piped_result = client.query(mathematica_input)

BSD licensed. Hosted on Github and available on PyPI. Documentation on Read The Docs.


pip install tungsten