This release is a pre-release and may not be stable for production use.
Python bindings for libxdo
libxdo is the library behind xdotool, a tool to “fake keyboard/mouse input, window management, and more”.
This package aims to provide ctypes-based Python bindings (and a more pythonic way to use the C library, of course..)
WARNING The project is still work in progress! Only a small part of the library is supported, and tests / documentation are missing. Use with care (and make sure to report any issue you should find!)
Documentation
Documentation is hosted on Read The Docs:
http://python-libxdo.readthedocs.org/
Note: there currently is a problem building the documentation on RTD due to missing libxdo library (which makes importing xdo.xdo fail). For this reason, a (locally-generated) copy of the documentation is hosted on github pages:
Example usage
Ask the user to click a window with the mouse, then write “Python rocks!” to that window.
from xdo import Xdo
xdo = Xdo()
win_id = xdo.select_window_with_click()
xdo.enter_text_window(win_id, 'Python rocks!')
Compatibility
The library is currently tested on:
OS |
Architecture |
libxdo version |
Date |
Test result |
|---|---|---|---|---|
Debian GNU/Linux “jessie” (testing) |
amd64 |
3.20130111.1-3.1 |
✓ success |
|
Archlinux |
amd64 |
3.20150503.1 |
2015-11-16 |
✓ success |
Installation
The package is available on pypi https://pypi.python.org/pypi/python-libxdo/
Install via pip:
pip install python-libxdo
Install the tarball directly from github:
pip install https://github.com/rshk/python-libxdo/tarball/master
Install in development mode from git:
pip install -e 'git+https://github.com/rshk/python-libxdo.git#egg=python-libxdo'
Metadata
Release files for python-libxdo 0.1.2a1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| python-libxdo-0.1.2a1.tar.gz | 21.8 kB | Without provenance | Details |
Release files / python-libxdo-0.1.2a1.tar.gz
| Download URL | python-libxdo-0.1.2a1.tar.gz |
|---|---|
| Size | 21.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
718d2677d55e2aaa7c5c549ecf063750efaf3ea6d187738f5ea91ad31bf65b0f
|
|
BLAKE2b-256 checksum How to use checksums |
c735f14d74dacd9447326f84d63a1661e153cbcde42396761acc47b7db0ec844
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for python-libxdo 0.1.2a1
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.