Hello everyone!This module will help you change brightness, output , connecting to wifi-network, bluetooth device.You can use this utility for your python project. In the github repository local submodules, install them - not need. For start work with this library need install by using
git clone https://github.com/Alexandro1112/pyTerminalproccesosx/
import pyTerminalproccesosx
print(pyTerminalproccesosx.OutputListsDevises().get_list_audio_devises(), pyTerminalproccesosx.OutputListsDevises().get_list_bluetooth_devises())
import pyTerminalproccesosx
print(pyTerminalproccesosx.Connector().connect_wifi_network(wifi_network='<WIFI_NAME>', password='<PASSWORD>'))
import pyTerminalproccesosx
print(pyTerminalproccesosx.SystemConfig().devise_battery,
pyTerminalproccesosx.SystemConfig().macos_version,
pyTerminalproccesosx.SystemConfig().screen_size,
pyTerminalproccesosx.SystemConfig().current_connected_wifi_network)
Make Lateral message with:
:param label: Main title on message
:param subtitle: Subtitle of message
:param text: Description of message
:param file_icon: Icon in message (Path to image)
(must local in project-folder) Point out [None]
if you don't want used icon.
import pyTerminalproccesosx
pyTerminalproccesosx.Notifier().send_lateral_message(label='<YOUR_LABEL>',
subtitle='<YOUR_SUBTITLE>',
text='<TEXT>', file_icon='<FILE_ICON>',
sound=pyTerminalproccesosx.CONSTANT_SOUNDS.Popsound)
import pyTerminalproccesosx
pyTerminalproccesosx.Notifier().send_lateral_message(label='<YOUR_LABEL>',
subtitle='<YOUR_SUBTITLE>',
text='<TEXT>', file_icon='<FILE_ICON>',
sound=pyTerminalproccesosx.CONSTANT_SOUNDS.Popsound)
import pyTerminalproccesosx
print(pyTerminalproccesosx.Clicker().press(button='a', register=pyTerminalproccesosx.UPPER.UPPER))
import pyTerminalproccesosx
print(pyTerminalproccesosx.Brightness().set_brightness(number))
import pyTerminalproccesosx
print(pyTerminalproccesosx.Switching().enable_wifi(),
pyTerminalproccesosx.Switching().unplug_wifi(),
pyTerminalproccesosx.Switching().enable_bluetooth(),
pyTerminalproccesosx.Switching().unplug_bluetooth())
import pyTerminalproccesosx
print(pyTerminalproccesosx.ScreenCapture().screenshot(filename='screenshot', extension='jpg', pause=2))