{"id":18844045,"url":"https://github.com/mulx10/pykeylogger","last_synced_at":"2025-07-23T22:36:35.865Z","repository":{"id":94123850,"uuid":"95279773","full_name":"MuLx10/pyKeylogger","owner":"MuLx10","description":null,"archived":false,"fork":false,"pushed_at":"2018-04-24T05:32:45.000Z","size":3,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-30T13:10:37.642Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MuLx10.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2017-06-24T06:22:32.000Z","updated_at":"2018-05-20T17:56:42.000Z","dependencies_parsed_at":"2023-04-22T16:00:48.856Z","dependency_job_id":null,"html_url":"https://github.com/MuLx10/pyKeylogger","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MuLx10%2FpyKeylogger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MuLx10%2FpyKeylogger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MuLx10%2FpyKeylogger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MuLx10%2FpyKeylogger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MuLx10","download_url":"https://codeload.github.com/MuLx10/pyKeylogger/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239780837,"owners_count":19695898,"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":[],"created_at":"2024-11-08T02:59:37.288Z","updated_at":"2025-02-20T05:22:28.385Z","avatar_url":"https://github.com/MuLx10.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pyKeylogger\nPyKeylogger is a proof of concept of a pure-python keylogger for linux.  It uses Xlib (so you must have an X connection!) to monitor the state of the keyboard.  Here's how you use it:\n\n```python\nimport keylogger\nimport time\n\nnow = time.time()\ndone = lambda: time.time() \u003e now + 60\ndef print_keys(t, modifiers, keys): print \"%.2f   %r   %r\" % (t, keys, modifiers)\n\nkeylogger.log(done, print_keys)\n```\n\nThis will print key events to stdout for 60 seconds.  If you wanted to be evil, instead of passing in a print callback, you could pass in a remote logging precedure.\n\nSample output:\n\n\n    1314238675.42   'o'   {'left shift': False, 'right alt': False, 'right shift': False, 'left alt': False, 'left ctrl': False, 'right ctrl': False}\n    1314238675.51   'm'   {'left shift': False, 'right alt': False, 'right shift': False, 'left alt': False, 'left ctrl': False, 'right ctrl': False}\n    1314238675.65   'g'   {'left shift': False, 'right alt': False, 'right shift': False, 'left alt': False, 'left ctrl': False, 'right ctrl': False}\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmulx10%2Fpykeylogger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmulx10%2Fpykeylogger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmulx10%2Fpykeylogger/lists"}