Skip to main content

A calculator that uses words

Project description

Math-Words

Most people use words. Many people also use calculators. It seems logical, then, that calculators should also be able to use words. This project is aimed at working in that direction.

To launch in interactive mode (with a really crappy REPL), use python -m mathwords.

Sample queries:

  • twelve plus three -> fifteen
  • six raised to the power of three -> two hundred sixteen
  • eight minus a billion -> negative nine hundred ninety nine million nine hundred ninety nine thousand nine hundred ninety two
  • one hundred and forty four divided by two to the three -> eighteen
  • eight divided by five -> one point six
  • square root of the common log of ten quadrillion -> four

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

mathwords-0.0.1.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

mathwords-0.0.1-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file mathwords-0.0.1.tar.gz.

File metadata

  • Download URL: mathwords-0.0.1.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.5.2

File hashes

Hashes for mathwords-0.0.1.tar.gz
Algorithm Hash digest
SHA256 2d9df019df0afcf93c1baf3a652c011748a58a9a6ba794c111d3c1713f8627a6
MD5 a1aa965765fe87c57ac1bd2aa5d63ed3
BLAKE2b-256 773eabcaa129b91a9a80fa7b9c2878f2127fe29a8b8c768b9a887d0ef9558e66

See more details on using hashes here.

File details

Details for the file mathwords-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: mathwords-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 5.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.5.2

File hashes

Hashes for mathwords-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 98110c3948468f79085697bd307b7225ba8d6bf70087f81eec9b6f791b272c69
MD5 d4f8b67331cd64c06bbef135b2208893
BLAKE2b-256 67379bb15258f8709a3a50895a2b8e4b134bac93bc202d60d32787c654106228

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