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

  • MAC addresses, OUI and IAB identifiers, IEEE EUI-64 identifiers

  • arbitrary (non-aligned) IP address ranges and IP address sets

  • various non-CIDR IP range formats such as nmap and glob-style formats

Included are routines for :-

  • generating, sorting and summarizing IP addresses and networks

  • performing easy conversions between address notations and formats

  • detecting, parsing and formatting network address representations

  • performing set-based operations on groups of IP addresses and subnets

  • working with arbitrary IP address ranges and formats

  • accessing OUI and IAB organisational information published by IEEE

  • accessing IP address and block information published by IANA

For details on the latest updates and changes, see :-

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

API documentation for the latest release is available here :-

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

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.12.zip (1.6 MB view details)

Uploaded Source

netaddr-0.7.12.tar.gz (1.5 MB view details)

Uploaded Source

Built Distribution

netaddr-0.7.12-py2.7.egg (1.5 MB view details)

Uploaded Egg

File details

Details for the file netaddr-0.7.12.zip.

File metadata

  • Download URL: netaddr-0.7.12.zip
  • Upload date:
  • Size: 1.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for netaddr-0.7.12.zip
Algorithm Hash digest
SHA256 622b81e571fb974698d056d4825b21ee64eac96de8ef41327b03913ac4308d5b
MD5 6145afd46786ffbc6644ae1ea2bfefd7
BLAKE2b-256 f7db7821b68ceaa6c1a45e8ca111deee68fe23e1c9b33d81e1a4166d036eba92

See more details on using hashes here.

File details

Details for the file netaddr-0.7.12.tar.gz.

File metadata

  • Download URL: netaddr-0.7.12.tar.gz
  • Upload date:
  • Size: 1.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for netaddr-0.7.12.tar.gz
Algorithm Hash digest
SHA256 88bf0bff238df672b1a521cdc291db025f7462223b065405b62d58a22c0d0abe
MD5 72778f2b18fee6cc01f9fb70b4de6236
BLAKE2b-256 74fc2ece095fe51ff87b599f5f6a3e6e1f059c4d8d76ccd6c0b2ff1a925787cb

See more details on using hashes here.

File details

Details for the file netaddr-0.7.12-py2.7.egg.

File metadata

File hashes

Hashes for netaddr-0.7.12-py2.7.egg
Algorithm Hash digest
SHA256 9f8e8b75e790ff9434427e3decc2d85359fc3af54266b952c583af4321701917
MD5 c3e58b6a583c576d52c95be475965764
BLAKE2b-256 aae5d336c6d4e13ed7131beb5e7624333301a6784a95482f5a170a5f62fa4a0f

See more details on using hashes here.

Supported by

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