From 14e323fd1be4f5b89497926761c8759104f807bb Mon Sep 17 00:00:00 2001 From: JOS-RE Date: Thu, 7 Oct 2021 02:09:01 +0530 Subject: [PATCH 1/2] Added run.md : Gives instructions on how to run the program --- run.md | 80 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 80 insertions(+) create mode 100644 run.md diff --git a/run.md b/run.md new file mode 100644 index 0000000..59dcaea --- /dev/null +++ b/run.md @@ -0,0 +1,80 @@ +# How to run the program + +Here are some installation Guidelines and procedure how you can execute the programme and use it for performing basic tasks: + +## Table of Contents: + +- [Check for `PIP` installation](#check-for-pip-installation) +- [Pyttsx3](#pyttsx3) +- [Speech Recognition](#speech-recognition) +- [Pygame
](#pygame-) +- [Suitable IDE for running this program](#suitable-ide-for-running-this-program) +- [Commands to interact with program.](#commands-to-interact-with-program) + +------------------------------------- +## Check for `PIP` installation +- PIP is a tool that is used to install python packages. PIP is automatically installed with Python 2.7. 9+ and Python 3.4+. +- Open the command prompt and enter the below command to check whether pip is installed. +```md +pip --version +``` +- If you are receiving an error, it means that you might be having `pip3` installed, so try this command. +```md +pip3 --version +``` +```md +python --version +``` +> If you are still facing issues, try installing pip from [here](https://github.com/pypa/pip#readme) + +## Pyttsx3 + + +- pyttsx3 is a text-to-speech conversion library in Python. Unlike alternative libraries, it works offline, and is compatible with both Python 2 and 3 +- Open the command prompt/terminal and enter the below command to install `pyttsx3` +```md +pip install pyttsx3 +``` +> Visit the [Pyttsx3 documentation](https://pypi.org/project/pyttsx3/) to know more about this library. +## Speech Recognition + +- SpeechRecognition is a library for performing speech recognition, with support for several engines and APIs, online and offline. +- Open the command prompt/terminal and enter the below command to install `SpeechRecognition` + +```md +pip install SpeechRecognition +``` +> Visit the [Speech Recognition documentation](https://pypi.org/project/SpeechRecognition/) to know more about this library. + + +## Pygame
+ +- Pygame is a set of Python modules designed for writing video games. Pygame adds functionality on top of the excellent SDL library. This allows you to create fully featured games and multimedia programs in the python language. +- Open the command prompt/terminal and enter the below command to install `Pygame` + +```md +pip install pygame +``` + +# Suitable IDE for running this program + +- Desktop Assistant can be run in the following Code editoe IDEs. + - [Pycharm](https://www.jetbrains.com/help/pycharm/installation-guide.html) + - [VS Code](https://code.visualstudio.com/docs) + - [Jupyter-lab](https://jupyterlab.readthedocs.io/en/latest/) + - [Replit](https://docs.replit.com/) + +# Commands to interact with program. + +After successful installation of the forementioned dependencies, you can use the following commands (speak out) to interact with Jarvis, your `Desktop-Assistant` +``` +Start with : Hello +Random Ans : How are you? + : Google + : Youtube +send email : Open email + : Nothing + : Abort + : Stop +End with : Bye +``` \ No newline at end of file From 7058d20a44b8672d5919d14c89c542f09f216588 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Wed, 6 Oct 2021 23:06:24 +0200 Subject: [PATCH 2/2] codespell --ignore-words-list=ans --- .github/workflows/lint_python.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lint_python.yml b/.github/workflows/lint_python.yml index c3b9dc0..335a50d 100644 --- a/.github/workflows/lint_python.yml +++ b/.github/workflows/lint_python.yml @@ -11,7 +11,7 @@ jobs: flake8-comprehensions isort mypy pytest pyupgrade safety - run: bandit --recursive --skip B311,B605 . - run: black --check . || true - - run: codespell + - run: codespell --ignore-words-list=ans - run: flake8 . --count --max-complexity=19 --max-line-length=88 --show-source --statistics - run: isort --check-only --profile black . - run: pip install -r requirements.txt || pip install --editable . || true