Skip to main content

Convert CIDR to list of IPs

Project description

# cidr-list

[![Build Status](https://travis-ci.org/mpicard/cidr_list.svg?branch=master)](https://travis-ci.org/mpicard/cidr_list)

Convert CIDR to list of IPs.

# Installation

If you don’t use pipsi, you’re missing out. Here are [installation instructions](https://github.com/mitsuhiko/pipsi#readme).

Simply run:

$ pipsi install cidr-list

Or with pip

$ pip install cidr-list

# Usage

To use it:

$ cidr-list –help $ cidr-list 10.10.10.0/30 > 10.10.10.0,10.10.10.1,10.10.10.2,10.10.10.3 $ cidr-list 10.10.10.0/30 –range > 10.10.10.0-10.10.10.3 $ cidr-list 10.10.10.0/30 –file output.txt $ cidr-list 10.10.10.0/30 –seperator : > 10.10.10.0:10.10.10.1:10.10.10.2:10.10.10.3

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

cidr-list-0.1.1.tar.gz (4.2 kB view hashes)

Uploaded source

Built Distribution

cidr_list-0.1.1-py2.py3-none-any.whl (4.0 kB view hashes)

Uploaded py2 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