Convert APEER plugins to WIPP
Project description
APEER to WIPP converter
Convert APEER plugins to WIPP
Both APEER developed by Zeiss and WIPP developed by NIST provide image processing tools and pipelines based on modern containers. While there are differences in the approaches and implementation, basic main components (Dockerfile with entrypoint + JSON description of the pipeline step) are similar enough that it is possible to convert one into the other. Even though in the long term it is prefered that both systems adopt the same standard for these containers, in the short term it is useful to be able to at least convert between the standards.
This repo contains the command line utility to convert the source code of APEER plugin into the source code of the WIPP plugin. Conversion is fully automatic and changes as little of the original source code as possible: - Creates a bash script that translates WIPP input parameters into APEER format in the runtime - Creates a new Dockerfile with modified ENTRYPOINT command and COPY command for bash script described above - Creates a plugin.json according to WIPP specification
Installation
pip install apeer_to_wipp_converter
Usage
a2w <path to module_specification.json in APEER module folder>
After you converted plugin, you may build the Dockerfile and try it in WIPP. Instructions for local installation are available here <https://github.com/usnistgov/WIPP/blob/master/deployment/wipp-complete-single-node/README.md>.
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
History
0.1.0 (2020-03-06)
First release on PyPI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file apeer_to_wipp_converter-0.1.0.tar.gz
.
File metadata
- Download URL: apeer_to_wipp_converter-0.1.0.tar.gz
- Upload date:
- Size: 11.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d4ae500e5f3a71edc4a56eb45bb1d0a695d7f567f981d4dbf4b9bbb32dd0f98 |
|
MD5 | df55751e792f74e3771410d402fe4287 |
|
BLAKE2b-256 | a05c38f84aff8be8aaebc6b658eddbef293cecf149aaa4f726f5192283af363e |
File details
Details for the file apeer_to_wipp_converter-0.1.0-py2.py3-none-any.whl
.
File metadata
- Download URL: apeer_to_wipp_converter-0.1.0-py2.py3-none-any.whl
- Upload date:
- Size: 6.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a5c6d55b0a3865e9a25838c8e36e5999e78f6c349ac0886f2957e704c70b992 |
|
MD5 | e2ebcd392e00cbc2094f5b021731b51d |
|
BLAKE2b-256 | 4f0402ea79fe2df48a6e6576859bf7f2586d448a9c4fae99c7997948c9b0dbca |