How to Setup Jython

We’re talkin’ Jython 2.7! You could try newer, but the rule engine may need some tweaking. There’s a short comparison at the bottom of this page… https://wiki.python.org/jython/WhyJython.

https://wiki.python.org/jython/JythonFaq/JythonModules#What_parts_of_the_Python_library_are_supported.3F

This one is a little dated… http://www.jython.org/docs/library/indexprogress.html.

So, yes… you can import Python 2.7 libraries in your scripts and modules. The best part is that you can also import Java libraries, like I did here with org.eclipse.smarthome.core.items.Metadata.