python-threatexchange
A Python Library to simplify the exchange and use of trust & safety information, especially media hash exchanges. It also contains a CLI called threatexchange to demonstrate the functionality.
python-threatexchange is designed to be extensible and comes with a simple model of adding new functionality.
To get similar functionality in a deployable service, check out hasher-matcher-actioner.