To prevent spam users, you can only post on this forum after registration, which is by invitation. If you want to post on the forum, please send me a mail (h DOT m DOT w DOT verbeek AT tue DOT nl) and I'll send you an invitation in return for an account.

Can we use call ProM from outside

Let's say I am working in python and I am generating many petrinet models and want to measure the complexity of the each resulting petrinet and return its result into python.
I understand I can check for other python packages but I do not want to start from scratch. Secondly my code is in python and I can not rewrite it for java.

Is there any possible solution?

Comments

  • Hi,

    There seems to be a way to call ProM plugins from Python. I do not know the full details, but a PhD student in our group has been using this. I will ask him for the details, and share them with you.

    Kind regards,
    Eric.
  • hverbeek said:
    Hi,

    There seems to be a way to call ProM plugins from Python. I do not know the full details, but a PhD student in our group has been using this. I will ask him for the details, and share them with you.

    Kind regards,
    Eric.

    I will be grateful Prof. Thanks in anticipation.

  • Hi,

    This can be done, although I am not the expert on this and cannot answer very detailed questions.

    On https://gitlab.com/dominiquesommers/prompy/-/tree/master/ you will find an overview on how this can be done. Examples can be found in examples/examples.ipynb, the required Python library can be downloaded from https://pypi.org/project/prompy/.

    Kind regards,
    Eric.



  • Thank you very much for the helpful response
Sign In or Register to comment.