SoS extension for Bash scripts. Please refer to SoS Homepage for details.
-
If you are using conda, you can install
sos-bashwith commandconda install sos-bash -c conda-forgeThis will install
sos-bash(andsos-notebookif needed),bash(linux and Mac) orm2-bash(windows), andcalysto_bashkernel. Thecalysto_bashkernel is used instead ofbash_kernelbecause the former supports all operating systems includingwindows. -
If you are not using conda, you can install
sos-bashwith commandpip install sos-bashbut you will have to make sure that your system has
bash, and a Jupyter kernel forbash.sos-bashcurrently supportsbash_kernelandcalysto_bashkernel.
In a SoS notebook, you should be able to see Bash in the drop down box, and execute bash commands in it. You can use magics %get and %put to exchange variables between bash and other kernels but all variables will be converted to string because bash only supports strings.