pyasn 1.5.0b6

Current state and Historical lookups can be done, based on the BGP / MRT file used as input. pyasn is different from other ASN lookup tools in that it providers offline and historical lookups.

Source: Tech