AppOpener is the python library to open/close any application without knowing it's absoulute path. The library works by making use of App Name and App Id.
Library works on python version 3.5 or above python version 3.5+
Visit official documentation of AppOpener here.
The latest development version is always available at the Github repository.
Features:
Install Package π¦
pip install AppOpener
Quick start β‘
from AppOpener import open, close, mklist, give_appnames
open("telegram, whatsapp") # Opens telegram and whatsapp
open("APPNAME", throw_error=True) # Raises Exception if App is not found (can be used in `close` function too)
close("telgrm", match_closest=True) # Closes telegram as "telgrm" is closest to "telegram"
mklist(name="app_data.json") # Generates an file, having key as AppName and value as AppIds.
appnames = give_appnames() # Save appnames as dictionary
Building package π¨
git clone https://github.com/athrvvvv/AppOpener.git
cd AppOpener
python setup.py sdist bdist_wheel
The latest release is always available at the Github releases.
Contributing π€
Contributions are welcomed. To know more visit here.