Skip to main content
Donate to the Python Software Foundation or Purchase a PyCharm License to Benefit the PSF! Donate Now

Simple, cross-platform macros/GUI automation for python

Project description

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

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!

Note

Window management functionality is not available under Wayland.

More, keyboard and pointer functions require root access under Wayland.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
macpy-0.1.1rc1.tar.gz (112.1 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page