Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/spignelon/virtual-assistant

Speech recognition virtual assistant written in python
https://github.com/spignelon/virtual-assistant

hacktoberfest hacktoberfest-accepted hacktoberfest2022 virtual-assistant

Last synced: about 2 months ago
JSON representation

Speech recognition virtual assistant written in python

Awesome Lists containing this project

README

        

# Virtual-assistant
A simple virtual assistant written in python

---
## Setup:
### Cloning the repo:
```
git clone https://github.com/spignelon/virtual-assistant.git
cd virtual-assistant
```
### Setting up the environment:
```
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
```
## Usage:
```python main.py```

## You can say:
* "what is your name"
* "what time is it" to know the current time
* "search" and then after it say whatever you want to google
* "youtube" to search anything on youtube
* "wikipedia" to show results from wikipedia
* "find location" and then the location you want it to show you
* "toss a coin" to flip a coin for head and tail
* "tell a joke" for one liner jokes
* "shutdown" it will confirm once and shutdown the system
* "brightness" to increase/decrease brightness of your desktop
* "volume" to inc/dec current volume
* "exit" to exit

## Libraries/Modules used for this project
* os - operating system module - to establish the interaction between the user and the operating system
* random - used to generate random numbers
* time - used to represent time in code, such as objects, numbers, and strings. It also provides functionality other than representing time, like waiting during code execution
* webbrowser - for google search
* gtts import gTTS - google text to speech...to convert the text to speech
* playsound - to play audio files
* pyjokes - Provides one line jokes
* speech_recognition - for speech to text
* wikipedia - allows us to search a query supplied as an argument using the search() method
* screen_brightness_control - to control screen brightness
* alsaaudio - This package contains wrappers for accessing the ALSA API from Python. It is fairly complete for PCM devices and Mixer access.