Simon Willison’s Weblog

Subscribe
Atom feed for ipaddresses

1 item tagged “ipaddresses”

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