This command works like AWK in one liners. It enables you to use Python modules on CLI. This is an example.

$ seq 3 | opy '[math.log(F1)]'

Restriction: this snap version works with a python in the snap environment. Therefore, we cannot use the python in /bin and modules in$PYTHONPATH. When you want to use opy with the modules you installed, please install opy from GitHub ( with the commands below. I would appreciate it if you could click the star on the repository page.

$ git clone
$ cd opy
$ sudo make install

Get it from the Snap Store

Search for another snap, or go back to the homepage.