Skip to main content

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

Project description

A Python library for representing and manipulating network addresses.

Provides support for:

Layer 3 addresses

  • IPv4 and IPv6 addresses, subnets, masks, prefixes
  • iterating, slicing, sorting, summarizing and classifying IP networks
  • dealing with various ranges formats (CIDR, arbitrary ranges and globs, nmap)
  • set based operations (unions, intersections etc) over IP addresses and subnets
  • parsing a large variety of different formats and notations
  • looking up IANA IP block information
  • generating DNS reverse lookups
  • supernetting and subnetting

Layer 2 addresses

  • representation and manipulation MAC addresses and EUI-64 identifiers
  • looking up IEEE organisational information (OUI, IAB)
  • generating derived IPv6 addresses

Changes

For details on the latest updates and changes, see

https://github.com/drkjam/netaddr/blob/rel-0.7.x/CHANGELOG

Project details


Download files

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

Files for netaddr, version 0.7.15
Filename, size File type Python version Upload date Hashes
Filename, size netaddr-0.7.15-py2.7.egg (1.6 MB) File type Egg Python version any Upload date Hashes View hashes
Filename, size netaddr-0.7.15-py2.py3-none-any.whl (1.5 MB) File type Wheel Python version any Upload date Hashes View hashes
Filename, size netaddr-0.7.15.tar.gz (1.5 MB) File type Source Python version None Upload date Hashes View hashes
Filename, size netaddr-0.7.15.zip (1.6 MB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page