You can also use prettymapp without the webapp, directly in Python. This lets you customize the functionality or build your own application.
This Python script converts IP2Location CSV data file, that contains the IP address in numeric notation, into dot-decimal notation (such as x.x.x.x) or CIDR notation (x.x.x.x/24). It supports both the ...