Python port of Kristian Høgsberg's nosy-dump