robustgarlic / subnetcalc-typer

Silly simple subnet calculator using Typer and ipaddress

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

subnet calculator

Tested using Python 3.10.1

This is a silly simple subnet calculator using the build in python library ipaddress and the library Typer.

Usage

  1. git clone https://github.com/robustgarlic/subnetcalc-typer.git

  2. pip -r install requirements.txt

  3. example usage: python subnetcalc.py 10.10.10.10/24

    -defaults to /32 subnet mask if none provided

  4. add argument '-- more' to display additional information about the IPv4 Address.

    -example: python subnetcalc.py 10.10.10.10/24 --more

To Do

  • Ipv6.
  • Incorporate the Library Rich and its features.
  • Better output formatting
  • Better Comments

About

Silly simple subnet calculator using Typer and ipaddress


Languages

Language:Python 100.0%