Scripting Neovim can take various forms.
Vim can call shell commands and return a result, using !{command}.
Vim can computer arguments using exe "command" <args>
Neovim has built-in support for calling python functions
Neovim has first-class support for Lua