MCPcopy
hub / github.com/biolab/orange3

github.com/biolab/orange3 @3.40.0 sqlite

repository ↗ · DeepWiki ↗ · release 3.40.0 ↗
16,906 symbols 67,314 edges 744 files 2,789 documented · 16%
README

Orange development

The source code of Orange is versioned in Git and hosted on GitHub. If you want to contribute to this open-source project you will have to use git. However, for minor experimentation with the source code you can also get by without.

Prerequisites

Orange is written mostly in Python, therefore you'll need Python 3 version 3.6 or newer.

You will also need a C/C++ compiler. On Windows, you can get one by installing Visual Studio. A slightly more "minimalistic" option is to install only its Build Tools.

Source code

Get the source code by cloning the git repository

git clone https://github.com/biolab/orange3.git

or, alternatively, download and unpack the ZIP archive of the source code from GitHub.

Building

Consider using virtual environments to avoid package conflicts.

Install the required Python packages

pip install -r requirements.txt

and run the setup script with a development option, which will link to the source code instead of creating a new package in Python's site-packages.

python setup.py develop

Verify the installation by importing the Orange package from Python and loading an example Iris dataset.

>>> import Orange
>>> print(Orange.data.Table("iris")[0])
[5.1, 3.5, 1.4, 0.2 | Iris-setosa]

Using the graphic user interface requires some additional packages.

pip install -r requirements-gui.txt

To start Orange GUI from the command line, run:

python3 -m Orange.canvas

Contributing

If you've made improvements that you want to contribute, you'll need your own fork of the GitHub repository. After committing and pushing changes to your fork, you can create a pull request. We will review your contribution and hopefully merge it after any potential corrections.

You can view the list of open pull requests and known issues on GitHub.

Core symbols most depended-on inside this repo

connect
called by 588
Orange/widgets/utils/owbasesql.py
index
called by 560
Orange/widgets/data/utils/models.py
model
called by 422
Orange/widgets/data/utils/preprocess.py
addWidget
called by 401
Orange/widgets/data/utils/preprocess.py
join
called by 380
Orange/data/io_base.py
sum
called by 333
Orange/statistics/distribution.py
from_numpy
called by 321
Orange/data/table.py
unlocked
called by 311
Orange/data/table.py

Shape

Method 13,009
Class 2,480
Function 921
Route 496

Languages

Python100%

Modules by API surface

Orange/tests/test_table.py256 symbols
Orange/widgets/data/oweditdomain.py232 symbols
Orange/data/table.py151 symbols
Orange/tests/sql/test_filter.py143 symbols
Orange/widgets/data/owpreprocess.py137 symbols
Orange/widgets/evaluate/owpredictions.py134 symbols
Orange/widgets/visualize/utils/heatmap.py129 symbols
Orange/widgets/data/utils/pythoneditor/editor.py129 symbols
Orange/widgets/data/owpaintdata.py125 symbols
Orange/widgets/data/owcsvimport.py123 symbols
Orange/tests/sql/test_sql_table.py121 symbols
Orange/widgets/visualize/owlineplot.py118 symbols

Dependencies from manifests, versioned

AnyQt0.2.0 · 1×
PyQt66.5 · 1×
PyQt6-WebEngine6.5 · 1×
Sphinx4.2.0 · 1×
baycomp1.0.2 · 1×
bottleneck1.3.4 · 1×
chardet3.0.2 · 1×
httpx0.21.0 · 1×
joblib1.2.0 · 1×
matplotlib3.2.0 · 1×
numpy1.21.0 · 1×
openTSNE0.6.2 · 1×

For agents

$ claude mcp add orange3 \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact