Skip to content

Krrishdhaneja/Friday

Repository files navigation

Friday

A Virtual assistant made in python.

Codacy Badge

Python package

CodeQL

Discussions

Discussions on this topic can be done on github, using github discussions or on the matrix channel #friday-python.

Installation

User must have a Python version>=3.6, versions below this aren't supported

On Linux

On Debian based systems(like Ubuntu, Linux Mint)

 sudo apt-get install libasound-dev portaudio19-dev libportaudio2 libportaudiocpp0 libespeak1

 sudo apt-get install ffmpeg espeak

 pip3 install pyaudio

 pip3 install -r requirements.txt

On Arch Linux based systems(Like Manjaro)

sudo pacman -S ffmpeg espeak

sudo pacman -S python-pyqt5 python-pyqtwebengine

pip3 install pyaudio

pip3 install -r requirements.txt

Experimental on fedora based till now, So don't try it now!

On Fedora based systems(like CentOS, RHEL etc.)

sudo yum install epel-release

sudo yum install dnf

pip3 install --upgrade pip

sudo dnf install portaudio-devel redhat-rpm-config

On Windows

In Order to run this on Windows run this-> First open CMD or powershell then->

 pip install pipwin

 pipwin install pyaudio

 pip install -r requirements.txt

Running this Program

  1. To run WolframAlpha in this program, just head over to WolframAlpha and create an account there and go to your profile > then my api > then sign up to get an API

  2. To get the weather info, go to OpenWeatherMap > then click on Sign in and if you are having an account log in with it there or create a new one > then after creating an account a verification link would be sent to your account just click on that > after clicking your email would be verified and another mail would be sent to you in which you will find the API key

Create a file called api_config.txt in the project's src directory, and paste the API keys there. The file must look like this (white spaces do not matter):

weather_api_key = xxx
wolframalpha_api_key = xxx

Contributors

Reporting Issue

If you found any vulnerability or if something is not working just click here and open a new issue.