Skip to main content

PyWake

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

Features

  • 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

Locations

PyWake packages are available from Cheese shop (PyPI) at https://pypi.python.org/pypi/pywake

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 <devel@beli.sk>.

How to use

Install

pip install pywake

Examples

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 192.168.1.255 00:11:22:33:44:55

License

Copyright 2013 Michal Belica <devel@beli.sk>

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
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
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 < http://www.gnu.org/licenses/ >.

Metadata

Release files for pywake 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pywake 0.1.3
File Size Uploaded
pywake-0.1.3.tar.gz 15.2 kB Details

Release files / pywake-0.1.3.tar.gz

Download URL pywake-0.1.3.tar.gz
Size 15.2 kB
Tags Source
SHA-256 checksum
How to use checksums
917e861ade6a2d3559d62de1cb715c42d89d9789cc5518a11386130bf959203d
BLAKE2b-256 checksum
How to use checksums
b3664df0dbff93d15fd0fffc4c89be61163aef2c8a5b3cf83a55e27dbdaacb8d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.3 This release

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page