Wolfram Engine for Developers Now "Free"
Written by Nikos Vaggalis   
Friday, 24 May 2019

The Wolfram Engine, which powers the Language as well as Wolfram's desktop and cloud products, is being released as free for developers (with limitations) so that it can be tried out and bundled into their software engineering projects. 


 

The range of the software projects into which the Engine can be bundled and the environments it runs is outstanding. It can run on Linux, Mac, Windows, desktop, server.It can be called from scripts or programming languages such as Python or Java, and can inter-operate with sockets, ZeroMQ and MQTT amongst others.

Hooking into the engine gives you access to the full Wolfram language, which in turn hands over access to its computational intelligence, used in all sort of domains such as Machine Learning, Graphs and Networks, Data Manipulation and Analysis or Visualization and Graphics.

The engine's launch goes hand in hand with the recent announcement of the Wolfram Client Library for Python, so that you can use the Wolfram Language from Python.

But in order to do that you have to first initialize an instance of the Engine:

>from wolframclient.evaluation import WolframLanguageSession
>session=WolframLanguageSession()

then import the `wl` factory which bundles all the Language's functions:
>from wolframclient.language import wl

to finally be able to call the Languge from Python.

For example to:

Evaluate StringReverse[“abc”] from Python using evaluate()
>session.evaluate(wl.StringReverse('abc'))
'cba'

Evaluate MinMax[{1, 5, -3, 9}], using the Wolfram Language function MinMax on a Python list:
>session.evaluate(wl.MinMax([1, 5, -3, 9]))
[-3, 9]

Query WolframAlpha for the distance between the Earth and the Sun using WolframAlpha.:
>distance = session.evaluate(wl.WolframAlpha("Earth distance from Sun", "Result"))
Quantity[1.008045994315923, AstronomicalUnit]

Convert the unit to kilometers:
>d_km = session.evaluate(wl.UnitConvert(distance, "Kilometers"))
Quantity[150801534.3173264, Kilometers]

Now let's define what "free" means in this context. The Engine is free for devs and software houses as long as it is used in the pre-production stage. When the project moves to production then a Production License needs to be acquired in order to distribute the Engine with it. But fortunately if you’re making a free, open-source system, you can apply for a Free Production License.

 

wolflogo

More Information

Wolfram Engine

Wolfram Client library for Python Github repo

Launching Today: Free Wolfram Engine for Developers

Announcing the Wolfram Client Library for Python 

Related Articles

Major New Release of Wolfram Language and Mathematica 

Wolfram Mathematica 11

Mathematica 10 Released

Wolfram Language Cloud Launched   

Demo Of Wolfram Language      

Wolfram Language The Key To The Future?

What To Call A Language - Mathematica Has a Problem

Buy A Pi For $25 And Get Mathematica Free   

To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.

 

Banner


52nd Mersenne Prime Found
27/10/2024

It has been nearly six years since the last Mersenne prime was discovered. Now, at last, we have Mersenne prime number 52 and it has 41,024,320 digits!



Amazon Adds AWS Lambda Code Editing Tool
04/11/2024

Amazon has added a new code editing option for AWS Lambda in the AWS console based on the Code-OSS, Visual Studio Code Open Source code editor.


More News

 

espbook

 

Comments




or email your comment to: comments@i-programmer.info

Last Updated ( Friday, 24 May 2019 )