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 Python 2 Python 3

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