Can be loaded as a Jupyter extension
%load_ext warpscript, which provides the cell magic
%%warpscript that executes WarpScript code.
Can be imported as
import warpscript, which provides
newLocalStack() that create a WarpScript execution environment (a stack).
Require Py4J and Jupyter.
To execute WarpScript code on a Warp 10 platform with this extension, the platform must embed the Py4J plugin available here. To enable
FINDSTATS functions on this platform, set
Warpscript code can also be executed locally (without a warp 10 platform) using
%%warpscript --local/-l or
pip install -e src
Or from PyPI:
pip install warp10-jupyter
1_WarpScript_example.ipynbshows how to use cell magics with WarpScript code.
2_GTS_to_DataFrame.ipynbshows how to make a Pandas DataFrame from WarpScript GTS.