Skip to main content

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


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 details)

Uploaded Source

Built Distribution

netrange-0.0.10-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file netrange-0.0.10.tar.gz.

File metadata

  • Download URL: netrange-0.0.10.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for netrange-0.0.10.tar.gz
Algorithm Hash digest
SHA256 a8fa8e16d715a6613307f76d024634a844e880c73727555238a71e9153dea9f5
MD5 3b757a2186395d760b977dbe1adc51c5
BLAKE2b-256 a73f1ce66e743efbd45a8199d4ca17d85e86d2c4e573aef90fd2c069d7b1d538

See more details on using hashes here.

File details

Details for the file netrange-0.0.10-py3-none-any.whl.

File metadata

  • Download URL: netrange-0.0.10-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for netrange-0.0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 4ff38c17eff54c47d332a81c0226479d4228cd14a5a35c8de45c136361f48bf6
MD5 48028b2f1714f16f28ed48fd2d336e20
BLAKE2b-256 2f3d380c2b011b36b65bf798726a29c64ca03ad45531fcf9da7d8d128583a072

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page