/AppOpener

Python library to open/close applications in windows.

Primary LanguagePythonMIT LicenseMIT

AppOpener 🔓

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+

PyPI Downloads   PyPI Downloads   PyPI Downloads   Windows Only

Visit official documentation of AppOpener here.

The latest development version is always available at the Github repository.


Features:

  1. Open applications
  2. Close applicatons
  3. Create list of Apps & Ids

Integrating AppOpener

See Examples for more.

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.


Links 🔗

Stay connected 🤗