{"id":15416572,"url":"https://github.com/remcohaszing/pywakeonlan","last_synced_at":"2025-05-15T03:06:39.630Z","repository":{"id":4770547,"uuid":"5921815","full_name":"remcohaszing/pywakeonlan","owner":"remcohaszing","description":"A small python module for wake on lan.","archived":false,"fork":false,"pushed_at":"2024-07-13T00:11:51.000Z","size":189,"stargazers_count":300,"open_issues_count":1,"forks_count":70,"subscribers_count":9,"default_branch":"main","last_synced_at":"2025-05-11T22:03:34.264Z","etag":null,"topics":["python","wakeonlan"],"latest_commit_sha":null,"homepage":"https://pywakeonlan.readthedocs.io","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/remcohaszing.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.rst","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2012-09-23T12:15:33.000Z","updated_at":"2025-05-06T13:32:15.000Z","dependencies_parsed_at":"2024-10-21T15:59:57.664Z","dependency_job_id":null,"html_url":"https://github.com/remcohaszing/pywakeonlan","commit_stats":{"total_commits":125,"total_committers":9,"mean_commits":13.88888888888889,"dds":"0.11199999999999999","last_synced_commit":"1accff751a4d82be0ada0a4909cb8ec91bfe54b1"},"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remcohaszing%2Fpywakeonlan","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remcohaszing%2Fpywakeonlan/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remcohaszing%2Fpywakeonlan/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remcohaszing%2Fpywakeonlan/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/remcohaszing","download_url":"https://codeload.github.com/remcohaszing/pywakeonlan/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254264766,"owners_count":22041793,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["python","wakeonlan"],"created_at":"2024-10-01T17:12:27.746Z","updated_at":"2025-05-15T03:06:34.617Z","avatar_url":"https://github.com/remcohaszing.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"#########\nwakeonlan\n#########\n\n.. image:: https://img.shields.io/pypi/v/wakeonlan.svg\n   :target: https://pypi.org/project/wakeonlan/\n   :alt: Pypi version\n\n.. image:: https://img.shields.io/pypi/pyversions/wakeonlan.svg\n   :target: https://pypi.org/project/wakeonlan/#files\n   :alt: Supported Python versions\n\n.. image:: https://github.com/remcohaszing/pywakeonlan/actions/workflows/ci.yaml/badge.svg\n   :target: https://github.com/remcohaszing/pywakeonlan/actions/workflows/ci.yaml\n   :alt: Build Status\n\n.. image:: https://readthedocs.org/projects/pywakeonlan/badge/?version=latest\n   :target: https://pywakeonlan.readthedocs.io/en/latest\n   :alt: Documentation Status\n\n.. image:: https://codecov.io/gh/remcohaszing/pywakeonlan/branch/master/graph/badge.svg\n   :target: https://codecov.io/gh/remcohaszing/pywakeonlan\n   :alt: Code coverage\n\nA small python module for wake on lan.\n\nFor more information on the wake on lan protocol please take a look at\n`Wikipedia \u003chttp://en.wikipedia.org/wiki/Wake-on-LAN\u003e`_.\n\n************\nInstallation\n************\n\n::\n\n    pip install wakeonlan\n\n\n*****\nUsage\n*****\n\nTo wake up a computer using wake on lan it must first be enabled in the BIOS\nsettings. Please note the computer you are trying to power on does not have an\nip address, but it does have a mac address. The package needs to be sent as a\nbroadcast package.\n\n\nAs a python module\n==================\n\nImport the module\n\n\u003e\u003e\u003e from wakeonlan import send_magic_packet\n\n\nWake up a single computer by its mac address\n\n\u003e\u003e\u003e send_magic_packet('ff.ff.ff.ff.ff.ff')\n\n\nWake up multiple computers by their mac addresses.\n\n\u003e\u003e\u003e send_magic_packet('ff.ff.ff.ff.ff.ff',\n...                   '00-00-00-00-00-00',\n...                   'FFFFFFFFFFFF')\n\n\nAn external host may be specified. Do note that port forwarding on that host is\nrequired. The default ip address is 255.255.255.255 and the default port is 9.\n\n\u003e\u003e\u003e send_magic_packet('ff.ff.ff.ff.ff.ff',\n...                   ip_address='example.com',\n...                   port=1337)\n\n\nA network adapter may be specified. The magic packet will be routed through this interface.\n\n\u003e\u003e\u003e send_magic_packet('ff.ff.ff.ff.ff.ff',\n...                   interface='192.168.0.2')\n\n\nAs a standalone script\n======================\n\n::\n\n    usage: wakeonlan [-h] [-6] [-i IP] [-p PORT] [-n INTERFACE] mac address [mac address ...]\n\n    Wake one or more computers using the wake on lan protocol.\n\n    positional arguments:\n      mac address           The mac addresses of the computers you are trying to wake.\n\n    options:\n      -h, --help            show this help message and exit\n      -6, --ipv6            To indicate if ipv6 should be used by default instead of ipv4. (default: False)\n      -i IP, --ip IP        The ip address of the host to send the magic packet to. (default: 255.255.255.255)\n      -p PORT, --port PORT  The port of the host to send the magic packet to. (default: 9)\n      -n INTERFACE, --interface INTERFACE\n                            The ip address of the network adapter to route the magic packet through. (default: None)\n\n\n************\nDependencies\n************\n\n- Python 3.x\n\n\n*******\nLicense\n*******\n\n`MIT \u003chttps://github.com/remcohaszing/pywakeonlan/blob/main/LICENSE.rst\u003e`_ © `Remco Haszing \u003chttps://github.com/remcohaszing\u003e`_\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fremcohaszing%2Fpywakeonlan","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fremcohaszing%2Fpywakeonlan","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fremcohaszing%2Fpywakeonlan/lists"}