use the pip package ipasn-redis