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 to work with :-

  • IPv4 and IPv6 addresses and subnet (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

  • arbitrary IP address range calculations and conversions

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

  • 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

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

Uploaded Source

netaddr-0.7.tar.gz (1.1 MB view details)

Uploaded Source

Built Distributions

netaddr-0.7.win32.exe (1.0 MB view details)

Uploaded Source

netaddr-0.7-py2.6.egg (1.0 MB view details)

Uploaded Source

netaddr-0.7-py2.5.egg (1.0 MB view details)

Uploaded Source

netaddr-0.7-py2.4.egg (1.0 MB view details)

Uploaded Source

File details

Details for the file netaddr-0.7.zip.

File metadata

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

File hashes

Hashes for netaddr-0.7.zip
Algorithm Hash digest
SHA256 92aa8a2dcaa6b09086bd4e39463ef242f45fd1d58eabbb7d2026332ec6c07893
MD5 b52cdb0d766e75561001c2d801b93556
BLAKE2b-256 d3f5d5d02856a93b743114778cddace96a373ddb9777f2f2e711d5533fd0c553

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for netaddr-0.7.tar.gz
Algorithm Hash digest
SHA256 2500ba5f225551168858b96fd96bc09086da748c5441dd13fd8479002800f6f2
MD5 55827ec4397f6e25919bcc5aa6bd0f71
BLAKE2b-256 e7365ccbfddf474a755ec47542c5658d97047699bea5770879b8cad12db2908a

See more details on using hashes here.

File details

Details for the file netaddr-0.7.win32.exe.

File metadata

  • Download URL: netaddr-0.7.win32.exe
  • Upload date:
  • Size: 1.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for netaddr-0.7.win32.exe
Algorithm Hash digest
SHA256 3df16f40132e3af8e3771e3f70101d788ef7d9ce27a9aa000d5941263f500365
MD5 0fc721bffdf5d36a4d586fff12bee586
BLAKE2b-256 853a7979b78579fdbb369c4350b4718793a0afeb26d7216b15f2c6cb1d80e7c5

See more details on using hashes here.

File details

Details for the file netaddr-0.7-py2.6.egg.

File metadata

  • Download URL: netaddr-0.7-py2.6.egg
  • Upload date:
  • Size: 1.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for netaddr-0.7-py2.6.egg
Algorithm Hash digest
SHA256 e51437bea09d141d07b7b2db1ecff1a8188b72bc7ffe2337cfafc35c95400477
MD5 93b0bf5ee7d4dcf4a2b0ddc08b741ba7
BLAKE2b-256 5fd71386b4d2465065e7d25e95edf7168487e52b8bc355b4c2d6439e877f1614

See more details on using hashes here.

File details

Details for the file netaddr-0.7-py2.5.egg.

File metadata

  • Download URL: netaddr-0.7-py2.5.egg
  • Upload date:
  • Size: 1.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for netaddr-0.7-py2.5.egg
Algorithm Hash digest
SHA256 c5db93201fb1914f1072c1b8d61afedba7dbfa6dca89eb2ae22c505fe7d60549
MD5 be71832dbc06eead4f7717be25dae01a
BLAKE2b-256 892aed0e1ffcfdf784648245de582d63f2bc691f13fa433c922efcd8853b6732

See more details on using hashes here.

File details

Details for the file netaddr-0.7-py2.4.egg.

File metadata

  • Download URL: netaddr-0.7-py2.4.egg
  • Upload date:
  • Size: 1.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for netaddr-0.7-py2.4.egg
Algorithm Hash digest
SHA256 a6aea87fceb56524c8da89194180f6bb289de8883099f18b98ba352863304c1e
MD5 92c255d554c74fb4ba613c4f05859823
BLAKE2b-256 301eedf0d274938ea41805f906b4416ab2f32398cb3c054ea6f8ee524df8c6ed

See more details on using hashes here.

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