A Parinfer implementation written in Python.
There are several text editors where Python is the best - or only - choice for extensions. Having a Parinfer implementation in Python allows Parinfer to reach more editors.
This is basically a 1-to-1 copy of parinfer.js.
I am a very novice Python developer. There is likely lots of room for improvement in this implementation. PR's welcome :)
sudo pip install unittest2 python tests.py
To run a performance stress test: