Python api docs¶
Small module for use with the wake on lan protocol.
-
wakeonlan.
create_magic_packet
(macaddress)¶ Create a magic packet.
A magic packet is a packet that can be used with the for wake on lan protocol to wake up a computer. The packet is constructed from the mac address given as a parameter.
Parameters: macaddress (str) – the mac address that should be parsed into a magic packet.
-
wakeonlan.
main
(argv=None)¶ Run wake on lan as a CLI application.