Skip to main content

Wolfram Alpha API built for Python.

Project description

Tungsten

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 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.

Installation:

pip install tungsten

History

0.1.1 (2012-11-15)

  • Bug fixes

  • README.md update

0.1.0 (2012-11-15)

  • Initial Release

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

Tungsten-0.1.1.tar.gz (3.9 kB view details)

Uploaded Source

File details

Details for the file Tungsten-0.1.1.tar.gz.

File metadata

  • Download URL: Tungsten-0.1.1.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for Tungsten-0.1.1.tar.gz
Algorithm Hash digest
SHA256 4f1db7574bb2a1b01fd8978e492ec2dd734d7915a7985c4a03ba2e25f81c779d
MD5 ec8bf4a35c3ad464909fefc8e90298be
BLAKE2b-256 50df02e483734a6487290da297b08df09da8c40c77f00c762e360b1536336a82

See more details on using hashes here.

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