ip calc
1.0.0
IP Calculator for IP RANGE, HEX, BINARY, CIDR
This quick Python script provides a command-line interface for converting IP addresses and ranges between different formats. It supports converting between decimal, hexadecimal, binary, and CIDR notation. The tool also allows for converting CIDR notation to IP ranges and finding the smallest CIDR block that encompasses a given IP range.
Run the script in your terminal, and you will be presented with a menu of options:
Menu:
Enter the number corresponding to the action you want to perform and follow the prompts.
Clone this repository to your local machine:
git clone https://github.com/Dan-Duran/ip-calc.git && cd ip-calc/
python3 ip-calc.py
If you want colored output, install the termcolor library: