Python Libraries

What python libraries are available with the the Comodo scripting implementation of python?
Is there a way to add extra packages/libraries to the existing implementation?

Hi @rockowwc

What python libraries are available with the the Comodo scripting implementation of python?

The Python version used in the procedures / scripts in the ITSM is v2.7.13. The libraries used are the ones that are part of the Python v2.7 Standard Library.

Is there a way to add extra packages/libraries to the existing implementation?

Currently, there is none. A feature request has been submitted to the product development team for further review.

Thank you.

Any update on this? Is there a forum thread regarding this feature request?

Also, any chance python3 will be offered / available in the future?
I tried to search the forums a bit, but didn’t see anything regarding this…

Hi @RoninMedia
A similar discussion can be found in this post.

Hello @RoninMedia ,

I am Ayhan, product manager of Endpoint Manager. We added support for python3 in our roadmap. We are currently investigating the task. Support team will inform you with the timeline of the release of this feature.

In addition to that, we are preparing a wiki for adding custom libraries. This will be published in next week and we will inform you from here.

Feel free to add comments and questions you have.

Regards
Ayhan Epik, Product Manager
Endpoint Manager
ITarian

Thank you, both Python3 and additional package imports would be extremely helpful.
Even with just packages, we’d be able to use backports such as pathlib2 that will make our lives a lot easier.

'Hi @RoninMedia

We have an update regarding your query related to supporting custom python library.

As a workaround, we can add a custom library package within the Endpoint Manager library folder and import the function within the script. The good thing about the workaround solution is that it does not require manual operations but hosting the library for the script to download it.

To help you better wiki article has been created here https://wiki.itarian.com/frontend/web/topic/custom-module-documentation. It has been explained for adding custom module ‘PATHLIB’.

This solution also has the limitations mentioned at the bottom of the article.

Please provide your feedback.

Thanks,
Kannan

What’s the timeline for Python 3 support? It was added to the roadmap over a year and a half ago, any update? Python 2 has been END OF LIFE for almost 6 months now!