Pythonic manipulation of IPv4, IPv6, CIDR, EUI and MAC network addresses

Edit Package python-netaddr

A pure Python network address representation and manipulation library.

netaddr provides a Pythonic way of working with:
- IPv4 and IPv6 addresses and subnets (including CIDR notation);
- MAC (Media Access Control) addresses in multiple formats;
- IEEE EUI-64, OUI and IAB identifiers;
- a user friendly IP glob-style format.

Included are routines for:
- generating, sorting and summarizing IP addresses;
- converting IP addresses and ranges between various different formats;
- performing set based operations on groups of IP addresses and subnets;
- arbitrary IP address range calculations and conversions;
- querying IEEE OUI and IAB organisational information;
- querying of IP standards related data from key IANA data sources.

Refresh
Refresh
Source Files
Filename Size Changed
netaddr-0.7.5.tar.bz2 0000922309 901 KB
python-netaddr.changes 0000002553 2.49 KB
python-netaddr.spec 0000002384 2.33 KB
Revision 2 (latest revision is 35)
Alexandre Rogoski's avatar Alexandre Rogoski (aledr) committed (revision 2)
- Update to 0.7.5:
  * Python 3.x is now fully supported. The paint is still drying on this so
    please help with testing and raise bug tickets when you find any issues!
  * Moved code hosting to github. All history ported thanks to the most
    excellent tool, svn2git (http://github.com/nirvdrum/svn2git).
  * All netaddr objects now use approx. 65% less memory due to the use of
    __slots__ in classes throughout the codebase. Thanks to Stefan Nordhausen
   and his Python guru for this suggestion!
  * Applied many optimisations and speedups throughout the codebase.
  * Fixed the behaviour of the IPNetwork constructor so it now behaves in
    a much more sensible and expected way (i.e. no longer uses inet_aton
    semantics which is just plain odd for network addresses).
  * One minor change to behaviour in this version is that the .value property
    on IPAddress and IPNetwork objects no longer support assignment using a
    string IP address. Only integer value assignments are now valid. The impact
    of this change should be minimal for the majority of users.
  * FIXED Issue 49 - http://code.google.com/p/netaddr/issues/detail?id=49
    - Incorrect IP range recognition on IPs with leading zeros
  * FIXED Issue 50 - http://code.google.com/p/netaddr/issues/detail?id=50
    - CIDR block parsing
  * FIXED Issue 52 - http://code.google.com/p/netaddr/issues/detail?id=52
    - ipv6 cidr matches incorrectly match ipv4 [sic]
  * FIXED Issue 53 - http://code.google.com/p/netaddr/issues/detail?id=53
    - Error in online documentation
  * FIXED Issue 54 - http://code.google.com/p/netaddr/issues/detail?id=54
    - IP recognition failure 
  * FIXED Issue 55 - http://code.google.com/p/netaddr/issues/detail?id=55
    - Support for Python 3.x
 * FIXED Issue 56 - http://code.google.com/p/netaddr/issues/detail?id=56
Comments 0
openSUSE Build Service is sponsored by