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

Edit Package python-netaddr
http://code.google.com/p/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-1.2.1.tar.gz 0002278809 2.17 MB
python-netaddr.changes 0000019178 18.7 KB
python-netaddr.spec 0000002853 2.79 KB
Latest Revision
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1160042 from Daniel Garcia's avatar Daniel Garcia (dgarcia) (revision 29)
- Update to 1.2.1:
  * Fix bad version 1.2.0 upload to PyPI – now yanked. No changes to
    the package.
- 1.2.0:
  * Add CLI tool subcommand to display cli-network-info.
  * Support running interactive-shell without IPython installed.
  * Explicitly raise TypeError is a non-string value is passed to
    valid_ipv4 or valid_ipv6.
- 1.1.0:
  * Add the required Python version to the package metadata (#365).
  * Add expand_partial_ipv4_address to the public API.
  * Fix IPNetwork(...) in IPRange(...) false negatives (#157).
  * Fix a few IPNetwork slicing edge cases (#214).
  * Fix support for partial IP addresses accidentally left in IPNetwork in 1.0.0.
  * Fixed an incorrect license classifier in the package metadata.
- 1.0.0:
  * Removed:
    * Drop support for Python versions lower than 3.7.
    * Remove the flag shorthands: N, P and Z. Use NOHOST, INET_PTON
      and ZEROFILL instead.
    * Remove abbreviated CIDR format support in IPNetwork (implicit_prefix=True),
      use cidr_abbrev_to_verbose if you need this behavior.
    * Remove the IPAddress.is_private method.
  * Changed:
    * Stop accepting leading zeros when parsing IPv4 addresses in INET_PTON mode
      (it's been allowed on some platforms).
    * Stop parsing IPv4 addresses permissively (inet_aton()-like) by default.
    * Apply the two changes above to valid_ipv4 as well.
    * Update the address databases to the 2024-02-10 versions.
  * Fixed:
Comments 0
openSUSE Build Service is sponsored by