Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fetch_wolfram

If you have a number and want to have a guess at its possible closed form expressions via CLI.

I'm a lazy lazy man. I don't like manually copying and pasting a number into WolframAlpha via the browser. This allows you to just do this via the terminal.

I find myself doing this often when I am trying to characterize floating point numbers into concise mathematical expressions. If this is you as well, hopefully this helps you as well!

Installation

Ideally, create a virtual environment. Then:

pip install requirements.txt

Example

python src/fetch_wolfram/fetch.py 3.14159

which yields

π≈3.1415926535
sqrt(6 ζ(2))≈3.1415926535
π^2/31^(1/3)≈3.14180466

About

CLI for fetching a list of possible closed-form expressions of a number from WolframAlpha.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages