Skip to main content

Orange binding for Ewoks

Project description

ewoksorange

ewoksorange provides s desktop graphical interface for ewoks.

Install

pip install ewoksorange[test]

When using Oasys instead of Orange3

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

For the tests in an Oasys environment

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

Test

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 --engine orange
ewoks execute /path/to/orange_wf.ows --engine orange

or for an installation with the system python

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

Launch the Orange canvas with the examples add-on

ewoks-canvas --with-examples

or alternatively install the example add-ons

pip install src/ewoksorange/tests/examples/ewoks_example_1_addon
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:

pip install -e src/ewoksorange/tests/examples/ewoks_example_1_addon
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.7.tar.gz (55.1 kB view details)

Uploaded Source

File details

Details for the file ewoksorange-0.1.7.tar.gz.

File metadata

  • Download URL: ewoksorange-0.1.7.tar.gz
  • Upload date:
  • Size: 55.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.5

File hashes

Hashes for ewoksorange-0.1.7.tar.gz
Algorithm Hash digest
SHA256 b6d85fd1a67437dea0b79790da783393805019b25232c962633c0c48e5ab0bf0
MD5 5c3d479a1d38aa6d9a3d0922c5dd6446
BLAKE2b-256 d55b9f1d946dcf60e4d1fb530a08c63848f4e552e646b3c43aeb8fa7825d6323

See more details on using hashes here.

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