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

Documentation: https://netaddr.readthedocs.io/en/latest/ Source code repository <https://github.com/netaddr/netaddr/> PyPI page: https://pypi.org/project/netaddr/

Share and enjoy!

Metadata

Release files for netaddr 1.1.0

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.1.0
File Size Uploaded Provenance Actions
netaddr-1.1.0.tar.gz 2.3 MB Without provenance Details for netaddr-1.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 4.5 MB

Release files / netaddr-1.1.0.tar.gz

Download URL netaddr-1.1.0.tar.gz
Size 2.3 MB
Tags Source
SHA-256 checksum
How to use checksums
eabeba62193525757ed3ab4aacc4ab8089f84e57059fd41fde58df95c128a26d
BLAKE2b-256 checksum
How to use checksums
d479a9b05aa527c0032c0eb6c20d70c0a1335d1dadf000b789d9bbfb8993168c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.12.1

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

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

Security for netaddr 1.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files No provenance

0.7.9

0.7.8

0.7.7

0.7.6

0.7.5

0.7.4

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