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