Py-netaddr

Jul 20, 2023

Manipulation of IPv4, IPv6, CIDR, EUI and MAC network addresses

A pure Python network address representation and manipulation library.

netaddr provides a Pythonic way of working with

  • IPv4 and IPv6 addresses and subnets
  • MAC addresses, OUI and IAB identifiers, IEEE EUI-64 identifiers
  • Arbitrary non-aligned IP address ranges and IP address sets
  • Various non-CIDR IP range formats such as nmap and glob-style formats

Included are routines for

  • Generating, sorting and summarizing IP addresses and networks
  • Performing easy conversions between address notations and formats
  • Detecting, parsing and formatting network address representations
  • Performing set-based operations on groups of IP addresses and subnets
  • Working with arbitrary IP address ranges and formats
  • Accessing OUI and IAB organisational information published by IEEE
  • Accessing IP address and block information published by IANA

API documentation for the latest release is available here

https//pythonhosted.org/netaddr/



Checkout these related ports:
  • Zyre - Framework for proximity-based peer-to-peer applications
  • Zsync - File transfer program
  • Zmap - Internet scanner
  • Zillion - Distributed computing project
  • Zerotier - Network virtualization everywhere
  • Zebra-server - Z39.50/SR server software
  • Yptransitd - Replacement for nss_ldap
  • Yggdrasil - Experimental end-to-end encrypted self-arranging IPv6 network
  • Yconalyzer - TCP Traffic Analyzer
  • Yazproxy - Powerful general purpose Z39.50/SRW/SRU proxy
  • Yaz - Z39.50/SR client and API library
  • Yaz++ - C++ toolkit for development of Z39.50v3 clients and servers
  • Yate - Yet Another Telephony Engine
  • Yaph - Yet Another Proxy Hunter (proxy scanner)
  • Yami4 - Messaging library for distributed systems