Skip to main content

Simple, cross-platform macros/GUI automation for python

Project description

[mac]ro + [py]thon, pronounced like magpie.


If you find this software useful, consider becoming a patron


This package provides easy keyboard/pointer/window management macro creation and GUI automation for python versions 2.7 and 3.4+. Currently it works on Windows and Linux (both under X and with limited functionality under Wayland). Among it’s features are:

  • Low level hooks for keyboard, pointer events

  • A hook for window creation, destruction and focus change

  • Support for registering hotkeys and hotstrings

  • Simulating keyboard/pointer events

  • Providing platform independent definition/mapping of keys/buttons

  • Listing open windows

  • Managing open windows

  • And more!

Documentation

https://macpy.readthedocs.io/

Development

https://github.com/OzymandiasTheGreat/macpy

Package

https://pypi.org/project/macpy/

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

macpy-0.1.3.tar.gz (114.0 kB view hashes)

Uploaded source

Built Distribution

macpy-0.1.3-py3-none-any.whl (130.6 kB view hashes)

Uploaded py3

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