Addr
The addr module provides functionality for manipulating IP addresses.
- addr.extract_bits — Extract a sequence of bits from an IP address
- addr.is_ipv4 — True if an IP address is IPv4
- addr.is_ipv6 — True if an IP address is IPv6
The addr module provides functionality for manipulating IP addresses.