Python api docs¶
Small module for use with the wake on lan protocol.
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.
Run wake on lan as a CLI application.
Wake up computers having any of the given mac addresses.
Wake on lan must be enabled on the host device.
macs (str) – One or more macaddresses of machines to wake.