FIDO Python workflow implementation tips

Skip to end of metadata
Go to start of metadata

Introduction

FIDO does not (yet) have an API which can be called for implementation in workflow systems. Although there is a FIDO class which could be called after import of fido.py, it is not recommended to use it. This has to do with the fact the class was not designed to be instantiated from outside scripts.

This does not mean you can not integrate FIDO into your workflows. FIDO has a main() function which accepts the same parameters as the command line interface which you have to pass as a list. You also need to catch the STDOUT and STDERR streams from FIDO in order to do usefull things with them, otherwise FIDO will just happily print to the STDOUT and STDERR streams of the calling script.

Below are simple examples for integration into Python worklow applications.

Implementation when fido.py is on the same path as your worklow.py

Implementation when fido.py is on a different path than your worklow.py

Labels:
fido fido Delete
example example Delete
workflow workflow Delete
implementation implementation Delete
python python Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.