Projects / IPy


IPy is a Python class and tools for handling IPv4 and IPv6 addresses and networks. The IP class provides comfortable parsing and handling for most notations in use for IPv4 and IPv6 addresses and networks. It was greatly inspired by the interface of the RIPE Perl module NET::IP, but it doesn't share the implementation. It doesn't share non-CIDR netmasks, so funky stuff like a netmask of 0xffffff0f can't be done here.

Operating Systems

Recent releases

  •  12 Jun 2008 12:34

    Release Notes: Version 0.60 is "major" version and breaks compatibility with the previous version (0.56). The global and ugly check_addr_prefixlen option has been removed and replaced by the make_net constructor argument. The default string formatter, str(ip), is now strCompressed() instead of strFullsize() for smarter formatting of IPv6 addresses. strCompressed() now formats "::ffff:a.b.c.d" correctly. Version 0.61 allows the [-1] operator to work with an IP object of size 1.

    •  16 Aug 2007 15:47

      Release Notes: This release is able to parse any IPv4 and IPv6 address in many formats with or without netmask.


      Project Spotlight


      A Fluent OpenStack client API for Java.


      Project Spotlight

      TurnKey TWiki Appliance

      A TWiki appliance that is easy to use and lightweight.