Skip to main content

pyxmacros

Python library for creating system-wide macros on a linux machine. pyxmacros leverages the well known pyxhook library to connect to all X servers running on the machine and runs registered callback functions on desired keypress. Can also be triggered by lirc keypresses if desired.

usage

import xmacros

def run_task(key):
    print "key pressed: %s" %str(key)

if __name__ == "__main__":
    macro = xmacros()
    macro.register_action(key=190, mod=xmacros.MOD_ALT_L, callback=run_task)

    while True:
        pass

Metadata

Release files for pyxmacros 0.8

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

Source distribution (sdist)

Source distribution for pyxmacros 0.8
File Size Uploaded Provenance Actions
pyxmacros-0.8.tar.gz 7.7 kB Without provenance Details for pyxmacros-0.8.tar.gz

Release files / pyxmacros-0.8.tar.gz

Download URL pyxmacros-0.8.tar.gz
Size 7.7 kB
Tags Source
SHA-256 checksum
How to use checksums
060a6b072e64877f66107f8048fc0d7003a298f52fbc23688f29fbaeaae4ecb5
BLAKE2b-256 checksum
How to use checksums
0e072a032b2452cc9120a4c60cbfac6044296ed6c4f330f76bd783ec45f0bdce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for pyxmacros 0.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.8 This release

1 release file No provenance

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