athrvvvv / AppOpener

Python library to open/close applications in windows.
https://appopener.readthedocs.io/en/latest/
MIT License
18 stars 7 forks source link
app-opener articicial-inteligence bot chatbot close close-apps close-apps-python module open open-apps open-apps-python python python-library python3 windows windows-python

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 πŸ€—