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
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
Built Distribution
File details
Details for the file cidr-list-0.1.1.tar.gz
.
File metadata
- Download URL: cidr-list-0.1.1.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e65c6dc34f03d0bdfd2f51148f58b8f97ead01f656328615e4ceb5ec8ce3363 |
|
MD5 | b5825ef682989497361db6cebfe111d1 |
|
BLAKE2b-256 | e3c54ead08ab316c1b95b8fd92e4bf37a8dc528a37116f83eb607708329b6d34 |
File details
Details for the file cidr_list-0.1.1-py2.py3-none-any.whl
.
File metadata
- Download URL: cidr_list-0.1.1-py2.py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 233f463c708109fde44f20366e3104938b88571186af3f2680c5d85993b73ecb |
|
MD5 | 1f59adf55538ca6ecc409a79ae0628e3 |
|
BLAKE2b-256 | 6d2c4974b9b32adadf4f00779c7810a5852c31792579fd40a9b5b5e58af3c8d1 |