Skip to main content

Python Wake-On-LAN client

Project description

Python Wake-On-LAN client with advanced options and IPv6 capability.


  • No privileges required (sending UDP packets)

  • Advanced configuration options
    • source IP address

    • destination IP address

    • destination UDP port

    • target MAC address

  • IPv6 by default (who uses IPv4 these days anyway)

  • Contains re-usable module for use in other scripts


PyWake packages are available from Cheese shop (PyPI) at

The project page is hosted on Github.

If you’ve never worked with git or contributed to a project on Github, there is a quick start guide.

If you find something wrong or know of a missing feature, please create an issue on the project page. If you find that inconvenient or have some security concerns, you could also drop me a line at <>.

How to use


pip install pywake


Wake up a MAC with default settings (IPv6 UDP packet to “all nodes” multicast address ff02::1 and port 9 - discard):

pywake 00:11:22:33:44:55

You may need to specify a source interface (or scope) for the multicast packets if there are more possibilities:

pywake -d ff02::1%eth0 00:11:22:33:44:55

Or use a plain old IPv4 UDP subnet directed broadcast:

pywake -4 -d 00:11:22:33:44:55


Copyright 2013 Michal Belica <>

PyWake is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

PyWake is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with PyWake.  If not, see < >.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pywake-0.1.3.tar.gz (15.2 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page