ipCalc-cli

IP address calculator — subnets, CIDR, ranges, conversions, and network info from the command line.


Keywords
ip, subnet, cidr, network, calculator, cli, devtools
License
MIT
Install
pip install ipCalc-cli==0.1.0

Documentation

ipCalc-cli

IP address calculator — subnets, CIDR, ranges, conversions, and network info from the command line.

Install

pip install ipcalc-cli

Usage

# Network info
ipcalc info 192.168.1.0/24

# Convert IP formats
ipcalc convert 192.168.1.1

# Subnet division
ipcalc subnet 10.0.0.0/16 -p 24

# Check if IP is in network
ipcalc contains 192.168.1.0/24 192.168.1.50

# IP range to CIDR
ipcalc range-to-cidr 192.168.0.0 192.168.3.255

# Merge overlapping CIDRs
ipcalc merge 192.168.0.0/25 192.168.0.128/25

# List hosts
ipcalc list 192.168.1.0/28

All commands support --json for machine-readable output.

For AI Agents

See SKILL.md for agent-optimized documentation.

License

MIT