A log of things made by Kunal Anand
Data visualization, interface design, programming, music, and art
I recently came across a JavaScript port of the Quicksilver autocomplete scorer and attempted to port it line for line in Python. The biggest difference is that the Python variant does not muck with the string prototype. As a caveat, I am pretty sure that the above can be written in a more idiomatic manner. If I was not pressed for time, I would take a stab at it.