jupyter-xeus / xeus-robot

Jupyter kernel for Robot Framework
BSD 3-Clause "New" or "Revised" License
31 stars 11 forks source link

xeus-robot

Azure Pipelines Binder

xeus-robot is a Jupyter kernel for Robot Framework based on the native implementation of the Jupyter protocol xeus.

Installation

Using mamba (or conda)

mamba install -c conda-forge xeus-robot

Using pip

Depending on the platform, PyPI wheels may be available for xeus-robot.

pip install xeus-robot

Installing from source

You can install xeus-robot from the sources, you first need to install its dependencies:

mamba install -c conda-forge xeus-python xtl cmake cppzmq nlohmann_json pybind11 pybind11_json robotframework-interpreter ipywidgets jupyterlab_robotmode

Then you can compile the sources (replace $CONDA_PREFIX with a custom installation prefix if need be)

mkdir build && cd build
cmake .. -D CMAKE_PREFIX_PATH=$CONDA_PREFIX -D CMAKE_INSTALL_PREFIX=$CONDA_PREFIX -D CMAKE_INSTALL_LIBDIR=lib -D PYTHON_EXECUTABLE=`which python`
make install

Install the syntax highlighting and widgets for JupyterLab 1 and 2 (It is automatically installed for JupyterLab 3)

jupyter labextension install @marketsquare/jupyterlab_robotmode @jupyter-widgets/jupyterlab-manager

Dependencies

xeus-robot depends on

xeus-robot xeus-python xtl cppzmq nlohmann_json pybind11 pybind11_json robotframework-interpreter robotframework-lsp
master >=0.15.2,<0.16 >=0.7.0,<0.8 ~4.7.1 >=3.6.1,<4.0 >=2.6.1,<3.0 >=0.2.6,<0.3 >=0.7.4,<0.8 >=1.7.0,<2
0.5.0 >=0.15.2,<0.16 >=0.7.0,<0.8 ~4.7.1 >=3.6.1,<4.0 >=2.6.1,<3.0 >=0.2.6,<0.3 >=0.7.4,<0.8 >=1.7.0,<2
0.4.4 >=0.13.5,<0.14 >=0.7.0,<0.8 ~4.7.1 >=3.6.1,<4.0 >=2.6.1,<3.0 >=0.2.6,<0.3 >=0.7.4,<0.8 >=0.14.0,<0.15.0
0.4.3 >=0.13.1,<0.14 >=0.7.0,<0.8 ~4.7.1 >=3.6.1,<4.0 >=2.6.1,<3.0 >=0.2.6,<0.3 >=0.7.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 >=3.6.1,<4.0 >=2.2.4,<3.0 >=0.2.6,<0.3 >=0.6.6,<0.7 >=0.4.2,<0.5
0.3.1 >=0.11.3,<0.12 >=0.7.0,<0.8 ~4.7.1 >=3.6.1,<4.0 >=2.2.4,<3.0 >=0.2.6,<0.3 >=0.6.3,<0.7 >=0.4.2,<0.5
0.3.0 >=0.11.1,<0.12 >=0.7.0,<0.8 ~4.7.1 >=3.6.1,<4.0 >=2.2.4,<3.0 >=0.2.6,<0.3 >=0.6.3,<0.7 >=0.4.2,<0.5
0.2.2 >=0.10.2,<0.11 >=0.7.0,<0.8 ~4.7.1 >=3.6.1,<4.0 >=2.2.4,<3.0 >=0.2.6,<0.3 >=0.6.2,<0.7 >=0.4.2,<0.5
0.2.1 >=0.10.2,<0.11 >=0.7.0,<0.8 ~4.7.1 >=3.6.1,<4.0 >=2.2.4,<3.0 >=0.2.6,<0.3 >=0.6.2,<0.7 >=0.4.2,<0.5
0.2.0 >=0.10.0,<0.11 >=0.7.0,<0.8 ~4.7.1 >=3.6.1,<4.0 >=2.2.4,<3.0 >=0.2.6,<0.3 >=0.6.2,<0.7 >=0.4.2,<0.5

Examples

Code completion

Code completion

Code completion using Selenium selectors

Code completion with selenium

Custom RobotFramework library in Python

Custom Python library

Debugger support in JupyterLab 3

Debugger

Custom Keywords testing

Test Keyword