pypath command-line interface in pypath-magic v0.3

pypath-magic provides a simple interface for adding modules and packages to your Python path.

Unlike modifications to sys.path , this allows you to easily modify your Python path across sessions. Unlike modifications to environment variables, this doesn't require you to explain to users, students, and colleagues how to modify environment variables.

In addition to the namesake IPython magic, version 0.3 of pypath-magic adds a command-line interface (CLI) that resembles the IPython interface. After installing the latest version ( pip install pypath_magic ), you'll have access to a pypath command in your favorite terminal/shell.

You might also want to take a look at the original quick-start article for version 0.2. The rest of this article just translates the IPython workflow from that article to the new CLI.