Remove duplicate entries from nested dictionary, if two values are the same, in Python.
Consider this dictionary format.

    {1:{'name':'chrome', 'author':'google', 'url':'http://www.google.com/' },
     2:{'name':'firefox','author':'mozilla','url':'http://www.mozilla.com/'}}

I want to remove all items which have the same name and author.

I can easily remove duplicate entries based on keys by putting all keys in a set, and maybe expand this to work on a specific value, but this seems like a costly operation which iterates over a dictionary multiple times. I wouldn't know how to do this with two values in an efficient way. It's a dictionary with thousands of items.
Remove duplicate entries from nested dictionary, if two values are the same, in Python.
===

Consider this dictionary format.

    {1:{'name':'chrome', 'author':'google', 'url':'http://www.google.com/' },
     2:{'name':'firefox','author':'mozilla','url':'http://www.mozilla.com/'}}

I want to remove all items which have the same name and author.

I can easily remove duplicate entries based on keys by putting all keys in a set, and maybe expand this to work on a specific value, but this seems like a costly operation which iterates over a dictionary multiple times. I wouldn't know how to do this with two values in an efficient way. It's a dictionary with thousands of items.