typing-inspection provides tools to inspect type annotations at runtime.