Skip to main content

netaddr

https://codecov.io/gh/netaddr/netaddr/branch/master/graph/badge.svg https://github.com/netaddr/netaddr/workflows/CI/badge.svg https://img.shields.io/pypi/v/netaddr.svg https://img.shields.io/pypi/pyversions/netaddr.svg

A Python library for representing and manipulating network addresses.

Provides support for:

Layer 3 addresses

  • IPv4 and IPv6 addresses, subnets, masks, prefixes

  • iterating, slicing, sorting, summarizing and classifying IP networks

  • dealing with various ranges formats (CIDR, arbitrary ranges and globs, nmap)

  • set based operations (unions, intersections etc) over IP addresses and subnets

  • parsing a large variety of different formats and notations

  • looking up IANA IP block information

  • generating DNS reverse lookups

  • supernetting and subnetting

Layer 2 addresses

  • representation and manipulation MAC addresses and EUI-64 identifiers

  • looking up IEEE organisational information (OUI, IAB)

  • generating derived IPv6 addresses

Source code repository: https://github.com/netaddr/netaddr/

PyPI page: https://pypi.org/project/netaddr/

Share and enjoy!

Metadata

Release files for netaddr 1.2.1

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

Source distribution (sdist)

Source distribution for netaddr 1.2.1
File Size Uploaded
netaddr-1.2.1.tar.gz 2.3 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for netaddr 1.2.1
File Interpreter ABI Platform
netaddr-1.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 4.5 MB

Release files / netaddr-1.2.1.tar.gz

Download URL netaddr-1.2.1.tar.gz
Size 2.3 MB
Tags Source
SHA-256 checksum
How to use checksums
6eb8fedf0412c6d294d06885c110de945cf4d22d2b510d0404f4e06950857987
BLAKE2b-256 checksum
How to use checksums
54e60308695af3bd001c7ce503b3a8628a001841fe1def19374c06d4bce9089b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.12.2

Release files / netaddr-1.2.1-py3-none-any.whl

Download URL netaddr-1.2.1-py3-none-any.whl
Size 2.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
bd9e9534b0d46af328cf64f0e5a23a5a43fca292df221c85580b27394793496e
BLAKE2b-256 checksum
How to use checksums
d0e4a57d2ad0c1381d6304c7eb3aed7c1a415c5b443e71d7e5c88378ac60d1ef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.12.2

Release history Release notifications | RSS feed

1.3.0

2 release files

This release

1.2.1 This release

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

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