Skip to main content

A simple package for reading and ranging IPs and ports.

Project description

NetRange

A simple package for reading and ranging IPs and ports.

PyPI Travis (.org) PyPI - Downloads GitHub PyPI - Python Version PyPI - Wheel

Installation

Run the following to install:

pip install netrange

Usage

From CLI

$ 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

From Module

import netrange


ips = ip.load(from_file=file)
ranged_ips = ip.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.19.tar.gz (8.0 kB view hashes)

Uploaded source

Built Distribution

netrange-0.0.19-py3-none-any.whl (8.0 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page