Script to range multiple IPs and ports
Project description
NetRange
This is a library that can load IP addresses and ports from list or file and return a list of ranges.
Installation
Run the following to install:
pip install netrange
Usage
From CLI
netrange ip --args 192.168.1.2 192.168.1.3 192.168.1.4
192.168.1.2-4
From Modual
import netrange
ips = netrange.load_ipaddrs(from_file=file)
ranged_ips netrange.dump(ips)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
netrange-0.0.10.tar.gz
(4.4 kB
view hashes)
Built Distribution
Close
Hashes for netrange-0.0.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ff38c17eff54c47d332a81c0226479d4228cd14a5a35c8de45c136361f48bf6 |
|
MD5 | 48028b2f1714f16f28ed48fd2d336e20 |
|
BLAKE2b-256 | 2f3d380c2b011b36b65bf798726a29c64ca03ad45531fcf9da7d8d128583a072 |