Rasterio

CLI

rio info f.geotiff

Python

import rasterio

with rasterio.open("f.geotiff") as arr:

print(arr.meta)

print(arr.tags(0))