A network address manipulation library for Python
Project description
A system-independent network address manipulation library for Python 2.7 and 3.5+. (Python 2.7 and 3.5 support is deprecated).
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
Starting with Python 3.3 there’s an ipaddress module in the Python standard library which provides layer 3 address manipulation capabilities overlapping netaddr.
Documentation
Latest documentation https://netaddr.readthedocs.io/en/latest/
Share and enjoy!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for netaddr-0.8.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9666d0232c32d2656e5e5f8d735f58fd6c7457ce52fc21c98d45f2af78f990ac |
|
MD5 | 38d40334dccad71981633375a653571c |
|
BLAKE2b-256 | ffcd9cdfea8fc45c56680b798db6a55fa60a22e2d3d3ccf54fc729d083b50ce4 |