Skip to main content

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

Release files for netaddr 0.6.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distributions (sdists)

Source distribution for netaddr 0.6.4
File Size Uploaded
netaddr-0.6.4.zip 1.3 MB Details
netaddr-0.6.4.tar.gz 1.2 MB Details

Built distributions (wheels)

Table of built distributions (wheels) for netaddr 0.6.4
File
netaddr-0.6.4.win32.exe Details
netaddr-0.6.4-py2.6.egg Legacy Egg format - - Details
netaddr-0.6.4-py2.5.egg Legacy Egg format - - Details
netaddr-0.6.4-py2.4.egg Legacy Egg format - - Details

Total release size: 6.3 MB

Release files / netaddr-0.6.4.zip

Download URL netaddr-0.6.4.zip
Size 1.3 MB
Tags Source
SHA-256 checksum
How to use checksums
246dd392e56a4407d83589284d41c730953e500451daf8f0793a75e18726cc58
BLAKE2b-256 checksum
How to use checksums
0f836fd11e55356d88a2fe1bb0973f608e73287d1d94441e2c25a863c6e3d11c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / netaddr-0.6.4.tar.gz

Download URL netaddr-0.6.4.tar.gz
Size 1.2 MB
Tags Source
SHA-256 checksum
How to use checksums
d1d1ecd741d1c74ee9aaf3a4670ae98d981b021adc40ed18c074302d3b27e51b
BLAKE2b-256 checksum
How to use checksums
e46e115cfd3b699b43e41dac3512f0c004c7369a5c42906d76c2adf2e4898a47
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / netaddr-0.6.4.win32.exe

Download URL netaddr-0.6.4.win32.exe
Size 979.1 kB
Tags Source
SHA-256 checksum
How to use checksums
ba1b924090362bdbf44eacb27f6d8f4276b337bf9c0beb9e272e987a7d4275b9
BLAKE2b-256 checksum
How to use checksums
30c3d1677f6f7b348bd75edfaa1e1626fd74df5f58c2ad972bacfd31c30eff0c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / netaddr-0.6.4-py2.6.egg

Download URL netaddr-0.6.4-py2.6.egg
Size 970.3 kB
Tags Egg
SHA-256 checksum
How to use checksums
479b1fd20344739352421ee06deafe6c1a326d4abd3708e04e83a37c3c0f3fdd
BLAKE2b-256 checksum
How to use checksums
6ec5da97512f8188f8e28f603aa94cf74d82204c634798060fb978b50b7f8cbd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / netaddr-0.6.4-py2.5.egg

Download URL netaddr-0.6.4-py2.5.egg
Size 970.5 kB
Tags Egg
SHA-256 checksum
How to use checksums
e5a91788135423f90675b14cd4f9de922b19e5b16c357c280b16ddce4411f08b
BLAKE2b-256 checksum
How to use checksums
7f6544942cb0ee441e332caa3494501022acf7bf4f77030bd8d7eac0645a5f66
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / netaddr-0.6.4-py2.4.egg

Download URL netaddr-0.6.4-py2.4.egg
Size 971.6 kB
Tags Egg
SHA-256 checksum
How to use checksums
1f9cd4947bdb4e4a0c322b235aeef9852b2ac42ec6a5838f9a50c28bca0b1b64
BLAKE2b-256 checksum
How to use checksums
151dd52a44094c14d309601cd3c9cb655dd99f6eca6f5804c0820b0a82f2c833
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

1.3.0

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.0

2 release files

0.10.0

2 release files

0.9.0

2 release files

0.8.0

2 release files

0.7.20

2 release files

0.7.19

2 release files

0.7.17

4 release files

0.7.16

4 release files

0.7.15

4 release files

0.7.14

4 release files

0.7.13

4 release files

0.7.11

3 release files

0.7.9

0.7.8

0.7.7

0.7.6

0.7.5

0.7.4

0.7.3

6 release files

0.7.2

6 release files

0.7.1

6 release files

0.7

6 release files

This release

0.6.4 This release

6 release files

0.6.3

6 release files

0.6.2

6 release files

0.6.1

6 release files

0.6

4 release files

0.5.2

3 release files

0.5.1

3 release files

0.5

3 release files

0.4

3 release files

0.3.1

3 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page