Skip to main content

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

Project description

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

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

ipcalc_cli-0.1.0.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ipcalc_cli-0.1.0-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file ipcalc_cli-0.1.0.tar.gz.

File metadata

  • Download URL: ipcalc_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for ipcalc_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 56e38248349e233d760de03e6806de7ebf8653761e0c595a52f29f5568ec934b
MD5 1416210d0fd5407a7d4298b0f9c6c007
BLAKE2b-256 89d08c7b7a36892eb11d4dd06688a317f560adf2bc7ce23ee010a2093d292b26

See more details on using hashes here.

File details

Details for the file ipcalc_cli-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: ipcalc_cli-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for ipcalc_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8db248947c8dd52e7d81b9e446f46c293094497810e36f8e9cc1e04e3a0a3696
MD5 7704a613c0178746fae638a4869da2c0
BLAKE2b-256 5ade1830d0d7fb144a4fea0552c7ccee96216f39f10e54928dae6e53f88920c3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page