Simon Willison’s Weblog

Subscribe

1 item tagged “ipy”

2007

IPy. Handy Python module for manipulating IP addresses—use IP(ip_addr).iptype() == ’PUBLIC’ to check that an address isn’t in a private address range.

# 24th December 2007, 1:19 pm / ip, ipaddresses, ipy, networking, python, security