new: add a Python virtualenv script and history analyzer