OS agnostic modules to control the host machine
Project description
PyControls
OS-agnostic modules to control the host machine
Sub-Modules
Installation
python -m pip install pycontrols
Usage
Volume
from pyvolume import pyvolume
pyvolume(level=30)
Optional arguments
- debug: Display logs in the form of
info
,warnings
anderrors
messages. - logger: Bring your own
Logger
for custom logging.
Notification
from pynotification import pynotifier
pynotifier(title="Test Title", message="Test Message")
Optional arguments
- icon: Custom icon to be used for
Linux
andWindows
operating systems.- Linux: Choose any pre-defined icons or a
.png
file as icon. - Windows: Choose any
.ico
file as icon. Defaults to notification.ico
- Linux: Choose any pre-defined icons or a
- destroy: Boolean value to destroy the notification box on
Windows
operating system after notifying. - debug: Display logs in the form of
info
,warnings
anderrors
messages. - logger: Bring your own
Logger
for custom logging.
License & copyright
© Vignesh Rao
Licensed under the MIT License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file pycontrols-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: pycontrols-0.0.1-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2670e1e46bd351e050c0dd1b69827f1161866cf81e98ab835eb8d06d115ad05 |
|
MD5 | 912fc149cc8d2f6be27dd2656deda05f |
|
BLAKE2b-256 | dacc0839a6e8a6f3442a8e4f750c989c1329acf6f52b1adfeb0cf49e09d6a317 |