Skip to main content

A network address manipulation library for Python

Reason this release was yanked:

Installable but not importable on Python < 3.7

Project description

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/

Share and enjoy!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

netaddr-1.0.0.tar.gz (2.2 MB view details)

Uploaded Source

Built Distribution

netaddr-1.0.0-py3-none-any.whl (2.3 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: netaddr-1.0.0.tar.gz
  • Upload date:
  • Size: 2.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.1

File hashes

Hashes for netaddr-1.0.0.tar.gz
Algorithm Hash digest
SHA256 eb046b55354e7a5bf801c04902ae923bd699190242d89b099e896f9b2724b4d3
MD5 06b9a278cbe3ac3e13d441e21405029f
BLAKE2b-256 d56d44808ee3665af5bd036249578d55d9a4a280cc43122b42a42cb3676b5109

See more details on using hashes here.

File details

Details for the file netaddr-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: netaddr-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 2.3 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.1

File hashes

Hashes for netaddr-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0dbf1263166c8daec9a6c990a9ae32804657963a1bba1387a755a4edf5ef93bc
MD5 a14ae2d5b4cea61a749588cc48927817
BLAKE2b-256 b285542d19806490c65d92f880e49d0182bf356e5e07955bef3cf2ad7544a971

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