Install latest/stable of opy

Ubuntu 16.04 or later?

Make sure snap support is enabled in your Desktop store.

Install using the command line

sudo snap install opy

Don't have snapd? Get set up for snaps.

Channel Version Published

Onelinerers' Python, which works like AWK

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

Details for opy

  • MIT

Last updated
  • 7 February 2021 - latest/stable
  • 8 February 2021 - latest/beta



Share this snap

Generate an embeddable card to be shared on external websites.

Install opy on your Linux distribution

Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the installing snapd documentation.

Where people are using opy

Users by distribution (log)

Ubuntu 22.04
Ubuntu 20.04

Is there a problem with opy? Report this app