GeoIP2FastReverse is a Python package designed for fast reverse lookups: you provide a country/ASN/city code and we return the corresponding IPv4/IPv6 networks. Useful for firewall rules. It uses the Maxmind database, updated twice a week. Fast as always, and in pure Python!.
Scheduled for release on July 31, 2025