Skip to main content

Dpowers is a python package to help you automate interactions with your operating system. It combines several backends into a unified interface and allows to pick the backend most suited to the specific use case.

For documentation and details see https://dpowers.readthedocs.io.

Supported operating systems:

  • This project follows a modular approach where is is easy to add new components ("powers"), as well as new backends for aleady existing powers. This makes it cross-platform by nature. The support for a specific OS depends mostly on which backends have been implemented yet.

  • As I am using Linux Mint myself, I make sure that all features run smoothly on there. Other Linux systems (particularly Debian-based) should already be supported by the implemented backends as well, but haven't been tested yet.

  • Windows and Mac haven't been tested either. They should be supported via the pynput backend already. As of now, I don't have any plans to add more backends for these systems since I almost never use them.

  • Termux on Android is supported as well. I have two everyday use cases, where the Dpowers allow me to run the same python script on both Linux desktop and my Android phone. However, Termux lacks access to many Android functions, which is why I prefer Tasker for most of my Android automization. Tasker allows using Termux as a plugin, so it can also run python and Dpowers scripts.

If you have question about a specific part of this project, if you want to try it out on another OS, or add your own backends, you are welcome to post issues here on github.

Ideas for the future:

  • Add complete support for Wayland. Keyboard and mouse support is already available via the evdev backend, but window interactions are still relying on the X Server.
  • Add automatic detections of the OS / platform properties (e.g. wether X Server or Wayland active), and automatically select the suiting backend. Currently, automatic selection of backends is only supported on Linux.
  • Extend the documentation. (Reference for all commands, more examples, tutorials.)

Metadata

Release files for dpowers 0.1.6

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

Source distribution (sdist)

Source distribution for dpowers 0.1.6
File Size Uploaded Provenance Actions
Dpowers-0.1.6.tar.gz 94.2 kB Without provenance Details for Dpowers-0.1.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for dpowers 0.1.6
File Interpreter ABI Platform Actions
Dpowers-0.1.6-py3-none-any.whl Python 3 none any Details for Dpowers-0.1.6-py3-none-any.whl

Total release size: 221.2 kB

Release files / Dpowers-0.1.6.tar.gz

Download URL Dpowers-0.1.6.tar.gz
Size 94.2 kB
Tags Source
SHA-256 checksum
How to use checksums
06c36f3abe93faebf9e4f13d6fa270db63a7815abe849489fc6f77098af7a765
BLAKE2b-256 checksum
How to use checksums
be490560dfceb736636cdd6cfa9a173cf038d42c4c6dca1f5b8806b86ba1a123
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.3

Release files / Dpowers-0.1.6-py3-none-any.whl

Download URL Dpowers-0.1.6-py3-none-any.whl
Size 127.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3f2e655c7bf30923ab8f3563685d17cdfa2af992baf8fe2ee9b96d4ba56f0e38
BLAKE2b-256 checksum
How to use checksums
950cdab8900fb158d748a8898775db9b5f4be7df68e02edf832414901f9d2799
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.3

Security for dpowers 0.1.6

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.

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