I made a little (unpretty) edit to allow execution of the script both in 2.x and 3.x - the only conflict in the whole package was in the iteritems() VS items(), so an external if solved it.
I also added colorama to make the terminal colors work in Windows (both cmd and ps), because the ANSI sequences made the outputs unreadable. If you accept the proposal, please add the library to the requirements - it is not normally included in 2.x distributions AFAIK.
I made a little (unpretty) edit to allow execution of the script both in 2.x and 3.x - the only conflict in the whole package was in the iteritems() VS items(), so an external if solved it.
I also added colorama to make the terminal colors work in Windows (both cmd and ps), because the ANSI sequences made the outputs unreadable. If you accept the proposal, please add the library to the requirements - it is not normally included in 2.x distributions AFAIK.