class documentation
class IP6Address(IPAddress):
IPv6 address class.
| Method | __init__ |
Constructor for IPv6 address. |
| Class Variable | iplen |
Undocumented |
| Class Variable | loopback |
Undocumented |
| Instance Variable | address |
Undocumented |
| Static Method | _ |
Get integer value of IPv6 address. |
Inherited from IPAddress:
| Class Method | |
Determine whether an address is within a network. |
| Class Method | |
Determine whether it is a loopback address. |
| Class Method | |
Validate a IP address. |
| Class Method | |
Check if the current host has the the given IP address. |
| Class Method | |
Validate a netmask suffix in CIDR notation. |
| Static Method | |
Get the address family of the given address. |
| Static Method | |
Convert an IP version to the corresponding IP address family. |
| Static Method | |
Return the IPAddress subclass for the given IP family. |
| Static Method | |
Return the IPAddress subclass for the given IP version. |
| Static Method | |
Convert an IP address family to the corresponding IP version. |
| Class Variable | family |
Undocumented |
Constructor for IPv6 address.
| Parameters | |
| address:str | IP address |
| Raises | |
errors.IPAddressError | if address invalid |