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.

It takes the hassle out of dealing with a variety of common layer 2 and layer 3 network addressing formats and operations performed on them, presented in a consistent, easy to use and extensible Pythonic API.

The netaddr library allows you to work with :-

  • IPv4 and IPv6 addresses and subnets (including CIDR notation)

  • MAC (Media Access Control) addresses (and its many variant formats)

  • IEEE OUI, IAB, EUI-48 and EUI-64 identifiers

  • arbitary IP address ranges and user-friendly glob style IP ranges

Included are routines for :-

  • generating, sorting, summarizing and excluding IP addresses and ranges

  • converting IP addresses and ranges from one notation to another

  • querying OUI and IAB organisational information published by the IEEE

  • querying information on IP standards published by IANA

Online resources :-

  • Examples and tutorials

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

  • API documentation

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

  • Changes and updates for all previous and current releases

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

Uploaded Source

netaddr-0.6.4.tar.gz (1.2 MB view details)

Uploaded Source

Built Distributions

netaddr-0.6.4.win32.exe (979.1 kB view details)

Uploaded Source

netaddr-0.6.4-py2.6.egg (970.3 kB view details)

Uploaded Egg

netaddr-0.6.4-py2.5.egg (970.5 kB view details)

Uploaded Egg

netaddr-0.6.4-py2.4.egg (971.6 kB view details)

Uploaded Egg

File details

Details for the file netaddr-0.6.4.zip.

File metadata

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

File hashes

Hashes for netaddr-0.6.4.zip
Algorithm Hash digest
SHA256 246dd392e56a4407d83589284d41c730953e500451daf8f0793a75e18726cc58
MD5 78779f51f450655478d2f88ae1b443d3
BLAKE2b-256 0f836fd11e55356d88a2fe1bb0973f608e73287d1d94441e2c25a863c6e3d11c

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for netaddr-0.6.4.tar.gz
Algorithm Hash digest
SHA256 d1d1ecd741d1c74ee9aaf3a4670ae98d981b021adc40ed18c074302d3b27e51b
MD5 1626bb4765e0da323e0aea6db9510969
BLAKE2b-256 e46e115cfd3b699b43e41dac3512f0c004c7369a5c42906d76c2adf2e4898a47

See more details on using hashes here.

File details

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

File metadata

  • Download URL: netaddr-0.6.4.win32.exe
  • Upload date:
  • Size: 979.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for netaddr-0.6.4.win32.exe
Algorithm Hash digest
SHA256 ba1b924090362bdbf44eacb27f6d8f4276b337bf9c0beb9e272e987a7d4275b9
MD5 def0ed068e17e1c26e1edaf99c4822b7
BLAKE2b-256 30c3d1677f6f7b348bd75edfaa1e1626fd74df5f58c2ad972bacfd31c30eff0c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: netaddr-0.6.4-py2.6.egg
  • Upload date:
  • Size: 970.3 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for netaddr-0.6.4-py2.6.egg
Algorithm Hash digest
SHA256 479b1fd20344739352421ee06deafe6c1a326d4abd3708e04e83a37c3c0f3fdd
MD5 9fdf08f65f7cb237a1a875df3d731ad1
BLAKE2b-256 6ec5da97512f8188f8e28f603aa94cf74d82204c634798060fb978b50b7f8cbd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: netaddr-0.6.4-py2.5.egg
  • Upload date:
  • Size: 970.5 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for netaddr-0.6.4-py2.5.egg
Algorithm Hash digest
SHA256 e5a91788135423f90675b14cd4f9de922b19e5b16c357c280b16ddce4411f08b
MD5 31ccdd882dabcbcce3b7958279874949
BLAKE2b-256 7f6544942cb0ee441e332caa3494501022acf7bf4f77030bd8d7eac0645a5f66

See more details on using hashes here.

File details

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

File metadata

  • Download URL: netaddr-0.6.4-py2.4.egg
  • Upload date:
  • Size: 971.6 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for netaddr-0.6.4-py2.4.egg
Algorithm Hash digest
SHA256 1f9cd4947bdb4e4a0c322b235aeef9852b2ac42ec6a5838f9a50c28bca0b1b64
MD5 fcb0ad02f0238775799f1b52cf11044b
BLAKE2b-256 151dd52a44094c14d309601cd3c9cb655dd99f6eca6f5804c0820b0a82f2c833

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 Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page