Skip to content

simudream/IP-Range-Calculator-API-for-Python

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

# IP-Range-Calculator-API-for-Python
This is a very simple module that allows you to calculate the IPrange of a given network IP/CIDR

HOWTO:
>>> from IPCalc import IPCalc
>>> cidr = "172.16.122.2/25"
>>> IPCalc(cidr)
Program started!
Calculating the IP Range of 172.16.122.2/25
NETWORK ID: 172.16.122.0
NET MASK: 255.255.255.128
BROADCAST: 172.16.122.127
First IP: 172.16.122.1
LAST IP: 172.16.122.126
>>> 

About

This is a very simple module that allows you to calculate the IPrange of a given network IP/CIDR

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%