Unique is a free and open source tool that will find patterns in source code. Unique helps you build better software by finding pieces of code that could benefit from a refactoring.
Usage:
To be able to run Unique on Python 2.6 based systems you first need to run the following command to force Python to run in 32-bit mode: