# ewoksorange
*ewoksorange* provides s desktop graphical interface for [ewoks](https://ewoks.readthedocs.io/).
## Install
```bash
pip install ewoksorange[test]
```
When using Oasys instead of Orange3
```bash
pip install --no-deps ewoksorange
pip install ewokscore
pip install AnyQt
pip install oasys1
```
For the tests in an Oasys environment
```bash
pip install ewokscore[test]
pip install importlib_resources # python_version < "3.7"
```
## Test
```bash
pytest --pyargs ewoksorange.tests
```
## Getting started
Launch the Orange canvas
```bash
ewoks-canvas /path/to/orange_wf.ows
```
or for an installation with the system python
```bash
python3 -m ewoksorange.canvas
```
or when Orange3 is installed
```bash
orange-canvas /path/to/orange_wf.ows --config orangewidget.workflow.config.Config
```
or for an installation with the system python
```bash
python3 -m orangecanvas /path/to/orange_wf.ows --config orangewidget.workflow.config.Config
```
Launch the Orange canvas using the Ewoks CLI
```bash
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
```bash
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
```bash
ewoks-canvas --with-examples
```
or alternatively install the example add-ons
```bash
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
```bash
ewoks-canvas /path/to/orange_wf.ows
```
or when Orange3 is installed
```bash
orange-canvas /path/to/orange_wf.ows
```
When removing an editable install, you may need to delete one file manually:
```bash
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/
Raw data
{
"_id": null,
"home_page": "https://gitlab.esrf.fr/workflow/ewoks/ewoksorange/",
"name": "ewoksorange",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": "",
"keywords": "",
"author": "ESRF",
"author_email": "wout.de_nolf@esrf.fr",
"download_url": "https://files.pythonhosted.org/packages/3d/b5/c82da7e58c40b9a977af3aaf7db6370798117e069fe0086b206f7434814d/ewoksorange-0.6.0.tar.gz",
"platform": null,
"description": "# ewoksorange\n\n*ewoksorange* provides s desktop graphical interface for [ewoks](https://ewoks.readthedocs.io/).\n\n## Install\n\n```bash\npip install ewoksorange[test]\n```\n\nWhen using Oasys instead of Orange3\n\n```bash\npip install --no-deps ewoksorange\npip install ewokscore\npip install AnyQt\npip install oasys1\n```\n\nFor the tests in an Oasys environment\n\n```bash\npip install ewokscore[test]\npip install importlib_resources # python_version < \"3.7\"\n```\n\n## Test\n\n```bash\npytest --pyargs ewoksorange.tests\n```\n\n## Getting started\n\nLaunch the Orange canvas\n\n```bash\newoks-canvas /path/to/orange_wf.ows\n```\n\nor for an installation with the system python\n\n```bash\npython3 -m ewoksorange.canvas\n```\n\nor when Orange3 is installed\n\n```bash\norange-canvas /path/to/orange_wf.ows --config orangewidget.workflow.config.Config\n```\n\nor for an installation with the system python\n\n```bash\npython3 -m orangecanvas /path/to/orange_wf.ows --config orangewidget.workflow.config.Config\n```\n\nLaunch the Orange canvas using the Ewoks CLI\n\n```bash\newoks execute /path/to/ewoks_wf.json --engine orange\newoks execute /path/to/orange_wf.ows --engine orange\n```\n\nor for an installation with the system python\n\n```bash\npython3 -m ewoks execute /path/to/ewoks_wf.json --engine orange\npython3 -m ewoks execute /path/to/orange_wf.ows --engine orange\n```\n\nLaunch the Orange canvas with the examples add-on\n\n```bash\newoks-canvas --with-examples\n```\n\nor alternatively install the example add-ons\n\n```bash\npip install src/ewoksorange/tests/examples/ewoks_example_1_addon\npip install src/ewoksorange/tests/examples/ewoks_example_2_addon\n```\n\nand launch the Orange canvas with\n\n```bash\newoks-canvas /path/to/orange_wf.ows\n```\n\nor when Orange3 is installed\n\n```bash\norange-canvas /path/to/orange_wf.ows\n```\n\nWhen removing an editable install, you may need to delete one file manually:\n\n```bash\npip install -e src/ewoksorange/tests/examples/ewoks_example_1_addon\npip uninstall ewoks-example-1-addon\npython3 -c \"import site,os;os.unlink(os.path.join(site.getsitepackages()[0],'ewoks-example-1-addon-nspkg.pth'))\"\n```\n\n## Documentation\n\nhttps://ewoksorange.readthedocs.io/\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Orange binding for Ewoks",
"version": "0.6.0",
"project_urls": {
"Documentation": "https://ewoksorange.readthedocs.io/",
"Homepage": "https://gitlab.esrf.fr/workflow/ewoks/ewoksorange/",
"Source": "https://gitlab.esrf.fr/workflow/ewoks/ewoksorange/",
"Tracker": "https://gitlab.esrf.fr/workflow/ewoks/ewoksorange/issues/"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "3db5c82da7e58c40b9a977af3aaf7db6370798117e069fe0086b206f7434814d",
"md5": "cafbc8d160b5be34dbc064800a7f3a29",
"sha256": "49671e7e62c13e2c1874ff5fd259c591dc41d3c1570667b826df176de1885587"
},
"downloads": -1,
"filename": "ewoksorange-0.6.0.tar.gz",
"has_sig": false,
"md5_digest": "cafbc8d160b5be34dbc064800a7f3a29",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 64946,
"upload_time": "2024-02-20T10:31:09",
"upload_time_iso_8601": "2024-02-20T10:31:09.155984Z",
"url": "https://files.pythonhosted.org/packages/3d/b5/c82da7e58c40b9a977af3aaf7db6370798117e069fe0086b206f7434814d/ewoksorange-0.6.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-02-20 10:31:09",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "ewoksorange"
}