Skip to main content

A network address manipulation library for Python

Project description

https://circleci.com/gh/drkjam/netaddr.png?style=shield https://readthedocs.org/projects/netaddr/badge/?version=latest

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

Changes

For details on the latest changes and updates, see :-

https://netaddr.readthedocs.org/en/latest/changes.html

Requirements

https://img.shields.io/pypi/pyversions/netaddr.svg

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 Distributions

netaddr-0.7.18.zip (1.8 MB view hashes)

Uploaded Source

netaddr-0.7.18.tar.gz (1.7 MB view hashes)

Uploaded Source

Built Distributions

netaddr-0.7.18-py3.4.egg (1.6 MB view hashes)

Uploaded Source

netaddr-0.7.18-py2.py3-none-any.whl (1.5 MB view hashes)

Uploaded Python 2 Python 3

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