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.
- Developed at devel:languages:python
- Sources inherited from project openSUSE:Factory
-
4
derived packages
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Factory:zSystems/python-netaddr && cd $_
- Create Badge
Source Files
Filename | Size | Changed |
---|---|---|
netaddr-0.7.19.tar.gz | 0001622835 1.55 MB | |
python-netaddr.changes | 0000014041 13.7 KB | |
python-netaddr.spec | 0000002599 2.54 KB |
Revision 20 (latest revision is 29)
- update to 0.7.19: * added a new SubnetSplitter class for those looking to divide up subnets. Thanks alanwill and RyPeck and those on (Stack Overflow discussion). * removed bundled pytest dependency code for "python setup.py test". * setup.py now uses setuptools only (no more distutils) and setup_egg.py removed. * cleaned up INSTALL docs so they accurately reflect current Python packaging. * fixed broken parsing, generating and reading of IEEE index files when switching between Python 2.x and 3.x. FIXED Issue 133: https://github.com/drkjam/netaddr/issues/133 - Splitting a single network into multiple prefixed networks FIXED Issue 129: https://github.com/drkjam/netaddr/issues/129 - fix IPAddress().netmask_bits to return 0 for 0.0.0.0 and [::] addresses FIXED Issue 117: https://github.com/drkjam/netaddr/issues/117 - (python setup.py test) failing with python3 >= 3.5 FIXED Issue 137: https://github.com/drkjam/netaddr/issues/137 - API reference is broken on ReadTheDocs FIXED Issue 143: https://github.com/drkjam/netaddr/issues/143 - Please refresh the bundled IANA and IEEE databases
Comments 0