Python library for command-line tools