0xflotus / ip2d-py

A converter for IP addresses

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ip2d-py

A CLI to convert IP addresses to integers and vice versa

Install

pip install ip2d-py

Usage

> ip2dpy ::3 --hex
3
> ip2dpy 8.8.8.8
134744072
> ip2dpy -i 51092 --hex -c
::c794
> ip2dpy ff:fe20::67 --hex -o oct
0o7777704000000000000000000000000000000147

About

A converter for IP addresses

License:MIT License


Languages

Language:Python 100.0%