A simple package for reading and ranging IPs and ports.
Run the following to install:
pip install netrange
$ netrange --help
usage: IP Range [-h] [--version] [--verbose] {ip,port} ...
A simple package for reading and ranging IPs and ports.
positional arguments:
{ip,port} choose one option
optional arguments:
-h, --help show this help message and exit
--version show program's version number and exit
--verbose
import netrange
ips = ip.load(from_file=file)
ranged_ips = ip.dump(ips)