Termux
Python based termux api wrapper
Functions
As of right now it only has the following features
- Copy - copies the provided text to the clipboard
- Wifi - lets you turn on/off the wifi
- Flashlight - lets you turn on/off the flashlight
- Toast - lets you display toast message to the user
And more is to be added in the future
Usage
Copy example:
from termux.api import copy
copy('This is an example of copy')
Flashlight example:
from termux.api import torch
torch(True)
Wifi example:
from termux.api import wifi
wifi(True)
Example of toast message with most of the options:
from termux.api import toast
toast('This is an example', s=False, attr='bottom')
❤️ by
Built with - Aldas - The creator of the package