-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
019322d
commit b9f68f1
Showing
23 changed files
with
116 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,24 +32,24 @@ | |
#### You dont need to install python to run this assistant. You can use the env. But if you want to, than install python 3, as this project is made with python 3. | ||
## Features | ||
### This assistant currently have following features:- | ||
- 1)Wish the user! | ||
- 2)Introduce itself | ||
- 3)Search wikipedia | ||
- 4)Play songs | ||
- 5)Open Google | ||
- 6)Email to someone | ||
- 7)Tell time | ||
- 8)Tell weather | ||
- 9)Search on google | ||
- 10)Search on youtube | ||
- 11)Get jokes | ||
- 12)Get news | ||
- 13)Give advice | ||
- 14)Get your ip | ||
- 15)Exit itself | ||
- 16)Unmute mic (Zoom/Teams) | ||
- 17)Check For Updates | ||
- 18)Calculate anything | ||
1. Wish the user! | ||
2. Introduce itself | ||
3. Search wikipedia | ||
4. Play songs | ||
5. Open Google | ||
6. Email to someone | ||
7. Tell time | ||
8. Tell weather | ||
9. Search on google | ||
10. Search on youtube | ||
11. Get jokes | ||
12. Get news | ||
13. Give advice | ||
14. Get your ip | ||
15. Exit itself | ||
16. Unmute mic (Zoom/Teams) | ||
17. Check For Updates | ||
18. Calculate anything | ||
## Code Structure | ||
|
||
|
||
|
@@ -70,14 +70,15 @@ | |
│ ├── process.py # Process Checking Script | ||
│ └── speak_f.py # Speak Function File | ||
├── .gitattributes # gitattributes File | ||
├── .gitignore # gitignore File | ||
├── token.py # Token File | ||
├── Main.py # Main JARVIS File | ||
├── PyAudio-0.2.11-cp310-cp310-win_amd64.whl # Wheel File For PyAudio Package | ||
├── functions.py # Functions | ||
├── requirements.py # Automatically Installs Dependencies | ||
├── __init__.py # Starting File | ||
├── run.cmd # Command Prompt Script To Run The Program | ||
└── run.ps1 # Powershell Script To Run The Program | ||
|
||
## Editions | ||
#### Please see [Editions.txt](Editions.txt) file | ||
#### Please see [Editions.txt](.github/Editions.txt) file | ||
## Extras | ||
#### If you have any issues, you can post it in the issues page and I will try to solve it ASAP. If you are interested to know more about the code,etc. you can mail me on "[email protected]". Thank you I will close for now, I am also working on the tutorial video so stay tuned! | ||
#### If you have any issues, you can post it in the issues page and I will try to solve it ASAP. If you are interested to know more about the code,etc. you can mail me on "[email protected]". Thank you I will close for now, I am also working on the tutorial video so stay tuned! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
token.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
try: | ||
import os | ||
os.system("cls") | ||
print("checking if dependencies are installed") | ||
env = "env\python.exe" | ||
os.system(f"{env} -m pip install bs4 datetime pipwin psutil pyautogui pyfiglet pypiwin32 requests speechRecognition wheel Wikipedia wolframalpha") | ||
os.system(f"{env} -m pip uninstall pyttsx") | ||
os.system(f"{env} -m pip install git+https://github.com/jpercent/pyttsx.git") | ||
os.system(f"{env} -m pipwin install pocketsphinx") | ||
os.system(f"{env} -m pipwin install Pyaudio") | ||
#Starting the app | ||
os.system(f"{env} Main.py") | ||
except KeyboardInterrupt: | ||
import os | ||
os.system("cls") | ||
print("Assistant exited manually. Exiting JARVIS.") | ||
exit() | ||
except Exception as error: | ||
import os | ||
os.system("cls") | ||
print("An error occured while running the code. Submitting the error to Github....") | ||
import token | ||
tok = token.token | ||
e = str(error) | ||
import requests | ||
import json | ||
headers = {"Authorization" : "token {}".format(tok)} | ||
data2 = {"title": "JARVIS Error Reporting System Reported An Error", "labels": ["Error"], "body": (e)} | ||
url = "https://api.github.com/repos/Hashah2311/JARVIS/issues" | ||
requests.post(url,data=json.dumps(data2),headers=headers) | ||
exit() |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"archive_info": {}, "url": "file:///D:/JARVIS/PyAudio-0.2.11-cp310-cp310-win_amd64.whl"} | ||
{"archive_info": {}, "url": "file:///C:/Users/Harshit%20Shah/pipwin/PyAudio-0.2.11-cp310-cp310-win_amd64.whl"} |
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
env/Lib/site-packages/pyttsx/__pycache__/__init__.cpython-310.pyc
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
env/Lib/site-packages/pyttsx/__pycache__/driver.cpython-310.pyc
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
env/Lib/site-packages/pyttsx/__pycache__/engine.cpython-310.pyc
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
env/Lib/site-packages/pyttsx/__pycache__/voice.cpython-310.pyc
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
env/Lib/site-packages/pyttsx/drivers/__pycache__/__init__.cpython-310.pyc
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
env/Lib/site-packages/pyttsx/drivers/__pycache__/_espeak.cpython-310.pyc
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
env/Lib/site-packages/pyttsx/drivers/__pycache__/dummy.cpython-310.pyc
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
env/Lib/site-packages/pyttsx/drivers/__pycache__/espeak.cpython-310.pyc
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
env/Lib/site-packages/pyttsx/drivers/__pycache__/nsss.cpython-310.pyc
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
env/Lib/site-packages/pyttsx/drivers/__pycache__/sapi5.cpython-310.pyc
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
env\python.exe Main.py | ||
env\python.exe __init__.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
env\python.exe Main.py | ||
env\python.exe __init__.py |