Skip to main content

A network address manipulation library for Python

Project description

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



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


    Supports Python versions 2.5 through 3.6

    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

netaddr2-0.7.19.tar.gz (1.6 MB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page