jython

Python implementation written in Java that runs on the JVM

brewmacoslinux
Try with needOr install directly
Source

About

Python implementation written in Java (successor to JPython)

Commands

jython

Examples

Start an interactive Jython Python shell$ jython
Execute a Python script using Jython$ jython script.py
Run Python code with arguments$ jython -c "print('Hello from Jython')"