1 2 3 4 5
from subprocess import check_output def get_pass(name): return check_output(["pass", "show", name]).split("\n")[0].strip()