Skip to main content

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

Project description

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

For examples please visit the example wiki pages :-

http://code.google.com/p/netaddr/wiki/NetAddrExamples

Complete API documentation for the latest release is available online :-

http://packages.python.org/netaddr/

For details on history changes and updates see the CHANGELOG :-

http://code.google.com/p/netaddr/wiki/CHANGELOG

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

netaddr-0.7.3.zip (1.2 MB view hashes)

Uploaded Source

netaddr-0.7.3.tar.gz (1.1 MB view hashes)

Uploaded Source

Built Distributions

netaddr-0.7.3.win32.exe (1.0 MB view hashes)

Uploaded Source

netaddr-0.7.3-py2.6.egg (1.0 MB view hashes)

Uploaded Source

netaddr-0.7.3-py2.5.egg (1.0 MB view hashes)

Uploaded Source

netaddr-0.7.3-py2.4.egg (1.0 MB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page