duphunter is a tool that helps you find pieces of Python code that look very similar. It uses a smart method that looks at the structure of your code to spot copies or parts that might need cleaning ...