This is a simple to use library in C#, Python, and Objective-C. This can perform calculations on IPv4 and IPv6.
Example:
C#:
1 2 3 4 5 | IP range = new IP("192.168.128.0/25"); foreach ( string ip in range.getIPv4Range()) { Console.WriteLine(ip); } |
Python:
1 2 | ipobj = IP(" 192.168 . 128.0 / 25 ") print ipobj.getIPv4Range() |