Skip to main content

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

Project description

netaddr is a Python library for the representation and manipulation
of various common network address formats and notations.

It takes the hassle out of fiddling with innumerable variations of
network addresses, presenting a consistent, extensible, easy-to-use
and above all Pythonic API.

With it you can represent, validate, convert, categorize, iterate,
generate, slice (and dice) :-

* IP version 4
* IP version 6
* CIDR (Classless Inter-Domain Routing) both IPv4 and IPv6
* MAC (Media Access Control) and IEEE EUI-48 and EUI-64
* Support for arbitrary IP address ranges with CIDR interoperability
* User friendly alternative IPv4 range syntax using netaddr's glob-style
Wildcard addresses

For examples see the project wiki :-

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

API documentation (auto-generated with epydoc) :-

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

For details on latest changes and updates in the current and previous
releases 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.6.1.zip (1.2 MB view details)

Uploaded Source

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

Uploaded Source

Built Distributions

netaddr-0.6.1.win32.exe (905.1 kB view details)

Uploaded Source

netaddr-0.6.1-py2.6.egg (895.8 kB view details)

Uploaded Source

netaddr-0.6.1-py2.5.egg (896.0 kB view details)

Uploaded Source

netaddr-0.6.1-py2.4.egg (897.0 kB view details)

Uploaded Source

File details

Details for the file netaddr-0.6.1.zip.

File metadata

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

File hashes

Hashes for netaddr-0.6.1.zip
Algorithm Hash digest
SHA256 c9901e11bc04a0cb7d39311d22deb39827d11fa605d8a99b54ff59f8eee3f07a
MD5 3abe326f6336ae2a710c3d36067cd62f
BLAKE2b-256 81bfdf4b89fdd07e4df23bafa4293564b1431c88bf8b139b71366bfe51c50dee

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for netaddr-0.6.1.tar.gz
Algorithm Hash digest
SHA256 68e747558a66af7ac29fc214ec1cfb4fdfa62b7a17537cd107d0d2bfce64eecb
MD5 029bbcd05dfb06056fa141cf3634b68f
BLAKE2b-256 afdefaea5d864c2cbb939f3532216f06dad871f6d4ad7293c1ca8b5aed1f751b

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for netaddr-0.6.1.win32.exe
Algorithm Hash digest
SHA256 fe8fc39e3c35f90ee6c3bc10c79a4713d9958a5ac6dd51ed598e69eb27a911f0
MD5 d6c06de8abf708cf0b04504d4c406053
BLAKE2b-256 37dec2ebda251106f9dc98d88bb00fafa34d6863209f03dcabe723f8698dfef1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: netaddr-0.6.1-py2.6.egg
  • Upload date:
  • Size: 895.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for netaddr-0.6.1-py2.6.egg
Algorithm Hash digest
SHA256 89d85200311d1423f0df01938f745ef28aa90b439a431f219478751062e6347e
MD5 02e37eb1c6cd898429d7cce605b86915
BLAKE2b-256 9ba98859158294fd6315744958d38b0f75c45402ff4d75045cbe74f4bd923aed

See more details on using hashes here.

File details

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

File metadata

  • Download URL: netaddr-0.6.1-py2.5.egg
  • Upload date:
  • Size: 896.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for netaddr-0.6.1-py2.5.egg
Algorithm Hash digest
SHA256 205c6fab0f023e2fa39e52ca2234b8b23816fae48f1b4165555a919ccdb47103
MD5 0d5b217823131909c673fd13b69d9b66
BLAKE2b-256 ffee74591dcd600928580d14c19553d71a613c0163d36a91039cbc512cfc0d92

See more details on using hashes here.

File details

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

File metadata

  • Download URL: netaddr-0.6.1-py2.4.egg
  • Upload date:
  • Size: 897.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for netaddr-0.6.1-py2.4.egg
Algorithm Hash digest
SHA256 0895126eee32f28815be575616c0222fc537f971933e9e6075c3bb87e0e2d6d6
MD5 313ca4d9c4373d960209b922c7606eee
BLAKE2b-256 0373a8230ac8912c67090984b52984e48ab872c99707a43cf174e1447f2514c8

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