Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 452 Bytes

README.md

File metadata and controls

17 lines (11 loc) · 452 Bytes

geoipgen

Generator of valid IPs by country

Using subnet-calculator-cidr


geoipgen.generate.IP(cidr)

Returns a random ip from a CIDR

geoipgen.generate.rangeIP(cidr)

Returns a list of all hosts in a CIDR range passed as an argument

geoipgen.generate.randomCIDR(country_code)

Returns a random CIDR from country_code

screenshot