Skip to main content
a library providing Pythonic manipulation, validation and classification of

common networking address notations, including :-

  • IPv4

  • IPv6

  • CIDR (Classless Inter-Domain Routing)

  • IEEE EUI-48, EUI-64 and MAC (Media Access Control)

Each object represents an individual address or address range and behaves as you would expect when treated like standard Python types. For example :-

If you call list() on a CIDR object, it provides an iterator yielding IP addresses.

Calling len() returns the number of addresses found within the range.

Indexing and/or slicing returns the addresses you’d expect. int() and hex() return the numerical value of an address in network byte order in the respective formats.

Release files for netaddr 0.5.2

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.5.2
File Size Uploaded
netaddr-0.5.2.zip 213.3 kB Details
netaddr-0.5.2.tar.gz 158.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for netaddr 0.5.2
File Interpreter ABI Platform
netaddr-0.5.2.win32.exe Details

Total release size: 456.1 kB

Release files / netaddr-0.5.2.zip

Download URL netaddr-0.5.2.zip
Size 213.3 kB
Tags Source
SHA-256 checksum
How to use checksums
ca735e2f592bf8bdcb44caca4dffe8c9723431f4358ffcc932cd5913bf2cb973
BLAKE2b-256 checksum
How to use checksums
fae9e9fdba56c32abc2ca03e02a5136bc91feafe6a8f6958300b9fe59b476b39
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / netaddr-0.5.2.tar.gz

Download URL netaddr-0.5.2.tar.gz
Size 158.7 kB
Tags Source
SHA-256 checksum
How to use checksums
ae48c99818195e04ff1e2167212da3c9e9f3cf465379114e13cd7a972844c86c
BLAKE2b-256 checksum
How to use checksums
3edf2173a9ebc3db21b7238fd7b54d33396d38e55c9775ca2b09ff78f4ffd345
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / netaddr-0.5.2.win32.exe

Download URL netaddr-0.5.2.win32.exe
Size 84.1 kB
Tags Source
SHA-256 checksum
How to use checksums
f0baa605a9e40a93c2eece35e07d231b38963ffc31d4c36b87518ee3eecf5b6f
BLAKE2b-256 checksum
How to use checksums
2149e6ce79a0b14d12da25646190a9999976bb3284ddc0b8a0f41a056ead1852
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

0.6.4

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

This release

0.5.2 This release

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