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