Pythonic manipulation of IPv4, IPv6, CIDR, EUI and MAC network addresses
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.
- Sources inherited from project devel:languages:python
- Devel package for openSUSE:Factory
-
5
derived packages
- Links to openSUSE:Factory / python-netaddr
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout home:Tomcat42/python-netaddr && cd $_
- Create Badge
Source Files
Filename | Size | Changed |
---|---|---|
_link | 0000000149 149 Bytes | |
netaddr-0.8.0.tar.gz | 0001891561 1.8 MB | |
python-netaddr.changes | 0000015256 14.9 KB | |
python-netaddr.spec | 0000002938 2.87 KB |
Revision 25 (latest revision is 35)
- Update to version 0.8.0 * Fixed weak reference support in classes with __slots__ * Added __bytes__ to IPAddress for intuitive usage * Added format() function to EUI * Added IPNetwork.netmask property setter * Added support for IABs in the 40:D8:55 OUI * Drastically optimized spanning_cidr() * Fixed "x.x.x.x/x" in IPNetwork tests * Added support for passing iterables of IPRange to IPSet and cidr_merge() Bugfixes: * N log N complexity instead of linear * Efficiently creating a large IPSet from a list of IPRanges? * Weak reference support - Run testsuite
Comments 0