Skip to main content

Orange binding for Ewoks

Project description

ewoksorange

ewoksorange provides s desktop graphical interface for ewoks.

Install

python3 -m pip install ewoksorange[test]

When using Oasys instead of Orange3

python3 -m pip install --no-deps ewoksorange
python3 -m pip install ewokscore
python3 -m pip install AnyQt
python3 -m pip install oasys1

For the tests in an Oasys environment

python3 -m pip install ewokscore[test]
python3 -m pip install importlib_resources  # python_version < "3.7"

Test

python3 -m pytest --pyargs ewoksorange.tests

Getting started

Launch the Orange canvas

ewoks-canvas /path/to/orange_wf.ows

or for an installation with the system python

python3 -m ewoksorange.canvas

or when Orange3 is installed

orange-canvas /path/to/orange_wf.ows --config orangewidget.workflow.config.Config

or for an installation with the system python

python3 -m orangecanvas /path/to/orange_wf.ows --config orangewidget.workflow.config.Config

Launch the Orange canvas using the Ewoks CLI

ewoks execute /path/to/ewoks_wf.json --binding orange
ewoks execute /path/to/orange_wf.ows --binding orange

or for an installation with the system python

python3 -m ewoks execute /path/to/ewoks_wf.json --binding orange
python3 -m ewoks execute /path/to/orange_wf.ows --binding orange

Launch the Orange canvas with the examples add-on

ewoks-canvas --with-examples

or alternatively install the example add-ons

python3 -m pip install src/ewoksorange/tests/examples/ewoks_example_1_addon
python3 -m pip install src/ewoksorange/tests/examples/ewoks_example_2_addon

and launch the Orange canvas with

ewoks-canvas /path/to/orange_wf.ows

or when Orange3 is installed

orange-canvas /path/to/orange_wf.ows

When removing an editable install, you may need to delete one file manually:

python3 -m pip install -e src/ewoksorange/tests/examples/ewoks_example_1_addon
python3 -m pip uninstall ewoks-example-1-addon
python3 -c "import site,os;os.unlink(os.path.join(site.getsitepackages()[0],'ewoks-example-1-addon-nspkg.pth'))"

Documentation

https://ewoksorange.readthedocs.io/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ewoksorange-0.1.1.tar.gz (44.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page