Incorporating Julia packages with Flask
Julia is a high-powered compiled programming language that provides mathematical and symbolic libraries. It contains simple syntax for numerical computing and provides better runtime performance for executing its applications.
Although Julia has web frameworks such as Genie, Oxygen, and Bukdu, which can implement Julia-based web applications, it is also possible that Flask applications can run and extract values from Julia functions.
But first, download the latest Julia compiler from https://julialang.org/downloads/ and install it on your system. Installing an old Julia version into an updated Windows OS will result in a system crash, as indicated in Figure 6.20.
Figure 6.20 – System crashes due to Flask running outdated Julia
Let’s now take a look at the steps involved in creating and integrating the Julia package into a Flask application.
Creating a custom Julia package
After the installation...