Python interface to iTerm2's scripting API
Actively maintained. Last release 2 days ago, commits in 26 of the last 26 weeks. A safe choice.
$
pip install iterm2iTerm2
------
iTerm2 has a scripting API. It uses Google Protocol Buffers to allow programs written in any language to communicate with iTerm2. Most users will prefer an interface in a high-level language. This library offers a Python interface to iTerm2. Please note that Prefs > General > Magic > Enable Python API server must be enabled in iTerm2 for this library to work.