An open API service indexing awesome lists of open source software.

https://github.com/gosecure/orange-code-widget

:orange: Widget for Orange to visualize code sample
https://github.com/gosecure/orange-code-widget

add-on code data-science data-visualization machine-learning orange widget

Last synced: 10 months ago
JSON representation

:orange: Widget for Orange to visualize code sample

Awesome Lists containing this project

README

          

# Code Viewer

## Install

1. Get the code of this widget

```
git clone https://github.com/GoSecure/orange-code-widget
```

2. Open Orange CLI python environment. (On Windows : `C:\Program Files (x86)\Orange\Orange Command Prompt.lnk`)

```
cd [...]/orange-code-widget
pip install -e .
```

3. Open Orange

## Usage

Prepare the workspace with the **Code Viewer** widget connected to a data source that has file names and optionnaly line numbers.

![Orange Workspace with Code Viewer Widget](images/workspace.png)

To enter in interactive mode, place a table view before the widget and open both the **Data Table** and **Code Viewer** widget. The selection of the **Data Table** will instantly be reflected in the **Code Viewer** window.

![Orange Code Viewer Widget](images/workflow.png)

## License

SVG code icon taken from [Font Awesome](https://fontawesome.com/) (CC BY 4.0 License)