Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 307cd61

Browse files
satyampgt4geekymeekymehabhalodiyarobinsingh-aipriyanshu20
authored
Update from original (#1)
* Improved text-to-speech.py * first commit * Added script * Added README.md * add(Script): IMDB Scraper Scrapes the IMDB website for information you require closes #311 * --add:screenshot * --fix:screenshot-link * --fix2:screenshot-link * --fix3:screenshot-link * added hangman game * Update main.py * Added data * Delete settings.json * made the changes * Added the Shortest Path Finder (GUI) * Update README.md Added the links to the Screenshots. * Update README.md Added the links to the Screenshots. * changes are done * Spreadsheet * main program * Music Player ICONS * issue #498 slideshare downloader added * Facial-Expression-Recognition * Facial-Expression-Recognition * Readme * added a screenshot * Delete data.mp3 * Added README.md * Added Dice roll simulator * Update * Quiz Application - GUI added to the repository * changes done. * Update * Create emails-from-website.py * fix(IMDB Scraper) : Fixed bugs and made changes recommended Cleaned output, fixed bugs, made changes recommended in PR review * fix(IMDB Scraper) : Fixed few bugs and recommendations * Added comments * Create readme.md * Real-time Text Extraction * Google Colab file * Create Readme.md * Email Validation Script #297 * Create README.md * Add files via upload * Added the python-script for Colour detection project * (without extension) name issue resolved * Added Script * Create README.md * Update Shortest Path Finder.py Corrected the width of the Screen from 600 -> 595 to avoid the "List index out of range error" and making the grid symmetric. * Update dice_roll_simulator.py * Used Plotly for Data Visualization. Issue #515 * README images fixed * Update text-to-speech.py * Updated Visualizations. Issue #515 * Added Movie-Info-Telegram-Bot Fixes #459 * Debugged Email Validation Script #297 * debugged and revised email validator * input instructions * fixed icon bug and added images to assests * Update emails-from-website.py * Update emails-from-website.py * Update Translation.py * Update README.md * Update README.md * Update * Required Changes have been made. * fixed bug * Directory Tree Generator files added * readme updated * updated color detection script * done * Revert "done" This reverts commit beefe94. * changes made * add-flipkart-price-alert-with-changes * Update Translation.py * Update Translation.py * made the changes in Bar chart and Pie chart * fixed the problem * Deleted the old images * Update Flipkart-price-alert/track.py Co-authored-by: Kaustubh Gupta <kaustubhgupta1828@gmail.com> * Update README.md * fixed path to load images * color detection * Instagram Liker Bot * Added virtual paint * [ImgBot] Optimize images *Total -- 74.84kb -> 47.24kb (36.88%) /Digital Clock/Sample Output.png -- 7.88kb -> 4.08kb (48.14%) /Directory Tree Generator/Screenshot (142).png -- 66.97kb -> 43.16kb (35.56%) Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com> * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] * [ImgBot] Optimize images *Total -- 483.43kb -> 334.41kb (30.83%) /Hangman-Game/hangman1.png -- 29.35kb -> 16.06kb (45.27%) /Hangman-Game/hangman0.png -- 28.08kb -> 15.40kb (45.17%) /Hangman-Game/hangman2.png -- 29.41kb -> 16.22kb (44.84%) /Hangman-Game/hangman3.png -- 30.40kb -> 16.78kb (44.82%) /Hangman-Game/hangman4.png -- 30.37kb -> 16.86kb (44.48%) /Hangman-Game/hangman5.png -- 30.77kb -> 17.15kb (44.27%) /Hangman-Game/hangman6.png -- 31.09kb -> 17.40kb (44.04%) /Shortest-Path-Finder (GUI)/1. Marked Start and End Point.png -- 91.13kb -> 72.36kb (20.59%) /Shortest-Path-Finder (GUI)/3. Shortest Path marked in Purple by the Algorithm.png -- 91.50kb -> 73.12kb (20.09%) /Shortest-Path-Finder (GUI)/2. Made Obstacles.png -- 91.32kb -> 73.05kb (20.01%) Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com> * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] * [ImgBot] Optimize images *Total -- 139.19kb -> 116.04kb (16.64%) /Data-Visualization/HistogramPlot/Histogram.png -- 8.59kb -> 2.91kb (66.17%) /Data-Visualization/LineChart/LineChart.png -- 15.24kb -> 11.82kb (22.47%) /Data-Visualization/BubbleChart/BubbleChart.png -- 14.81kb -> 11.70kb (20.99%) /Dice-Roll-Simulator/imgs/die1.png -- 4.48kb -> 3.57kb (20.38%) /Data-Visualization/ScatterPlot/ScatterPlot.png -- 16.82kb -> 14.08kb (16.33%) /Data-Visualization/BarChart/RevisedBarChart.png -- 10.29kb -> 8.72kb (15.26%) /Data-Visualization/PieChart/RevisedPieChart.png -- 21.24kb -> 19.06kb (10.26%) /Data-Visualization/HeatMap/HeatMap.png -- 19.55kb -> 17.57kb (10.16%) /Dice-Roll-Simulator/imgs/die4.png -- 5.26kb -> 4.94kb (6%) /Dice-Roll-Simulator/imgs/die6.png -- 5.43kb -> 5.13kb (5.49%) /Dice-Roll-Simulator/imgs/die2.png -- 4.91kb -> 4.64kb (5.43%) /Dice-Roll-Simulator/imgs/die3.png -- 6.05kb -> 5.73kb (5.32%) /Dice-Roll-Simulator/imgs/die5.png -- 6.51kb -> 6.17kb (5.17%) Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com> * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] * docs: update README.md [skip ci] * docs: update .all-contributorsrc [skip ci] * added level two heading in the readme * Added Blackjack * Update virtual_paint.py * modified the color_detection.py and readme files * Translator GUI added * readme updated * Added Currency convertor - GUI based * Updated readme file * Cartooning Image * Update cartooneffect.py * Instagram Liker Bot- made changes and fixed bugs * Instagram Liker bot- made a small change in readme * Crossword Solver * Fixed a bug * readme updated * done * Added Attachment Downloader Folder * Added Readme file for Currency convertor - GUI based * Added bubble sort simulation * Create Connect 4 game * Created README.md file * Add files via upload This is a client side game. where 2 players can play one after the other. Game Rules: 1. Get ready :) 2. Four consecutive balls should match of the same colour horizontally, vertically or diagonally ( either of both) just like tic-tat-toe. 3. That's it now u r ready to play the game :) New ideas are welcome always!! * Create READme.md * Delete Connect 4 game * Update blackjack.py * Made required changes * Changed blackjack.py * added comments in attachment.py * Update xword.py * Applied requested Changes * Added README.md file * made output message more specific * modified readme * Deleted * Readme Img * Delete cartoon.jpg * Add files via upload * Modified blackjack.py * Create README.md * Update cartooneffect.py * deleted credential and token files * Update Connect-4.py Removed the the unwanted spaces. * Auto BDay Wisher - GSSoC21#623 * Auto BDay Wisher - GSSoC21#623 Added the Screenshot * Update README.md * Added Auto B'day Wisher - gssoc'21 #623 Made the changes suggested by the Moderator. * Added Auto B'day Wisher - gssoc'21 #623 * Update README.md * Update caesar_cipher.py * docs: Changed Contributors Section * Delete .all-contributorsrc * Bump pillow from 8.0.1 to 8.1.1 in /Text-Extract-Images Bumps [pillow](https://github.com/python-pillow/Pillow) from 8.0.1 to 8.1.1. - [Release notes](https://github.com/python-pillow/Pillow/releases) - [Changelog](https://github.com/python-pillow/Pillow/blob/master/CHANGES.rst) - [Commits](python-pillow/Pillow@8.0.1...8.1.1) Signed-off-by: dependabot[bot] <support@github.com> * Bump pillow from 7.2.0 to 8.1.1 in /Zoom-Auto-Attend Bumps [pillow](https://github.com/python-pillow/Pillow) from 7.2.0 to 8.1.1. - [Release notes](https://github.com/python-pillow/Pillow/releases) - [Changelog](https://github.com/python-pillow/Pillow/blob/master/CHANGES.rst) - [Commits](python-pillow/Pillow@7.2.0...8.1.1) Signed-off-by: dependabot[bot] <support@github.com> * [ImgBot] Optimize images *Total -- 1,553.59kb -> 1,173.44kb (24.47%) /Caesar-Cipher/output.png -- 67.23kb -> 34.93kb (48.05%) /Music-Player-App/assests/screenshot/Screenshot.png -- 185.83kb -> 133.07kb (28.39%) /Cartooning Image/cartoon.png -- 1,297.13kb -> 1,002.27kb (22.73%) /Music-Player-App/assests/images/play.png -- 0.92kb -> 0.76kb (17.8%) /Music-Player-App/assests/images/pause.png -- 0.93kb -> 0.90kb (3.45%) /Music-Player-App/assests/images/stop.png -- 0.88kb -> 0.85kb (3.32%) /Music-Player-App/assests/images/001-volume.png -- 0.67kb -> 0.66kb (0.44%) Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com> * [ImgBot] Optimize images /Auto Birthday Wisher/emailReceived.jpg -- 180.55kb -> 131.32kb (27.27%) Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com> Co-authored-by: Srijan Kumar Gupta <gupta.srijan94@gmail.com> Co-authored-by: mehabhalodiya <mehabhalodiya@gmail.com> Co-authored-by: robin025 <robin25tech@gmail.com> Co-authored-by: Priyanshu Sharma <priyanshus.edu@gmail.com> Co-authored-by: Priyanshu Sharma <59313375+priyanshu20@users.noreply.github.com> Co-authored-by: madiha123-design <70858557+madiha123-design@users.noreply.github.com> Co-authored-by: Madiha Mallick <70858557+madihamallick@users.noreply.github.com> Co-authored-by: SpecTEviL <vishalpatil.imp@gmail.com> Co-authored-by: Amit kumar mishra <akm43300@gmail.com> Co-authored-by: kvvik2020 <kvvik2020@gmail.com> Co-authored-by: debashish <debashish1900@gmail.com> Co-authored-by: Robin Singh <55009875+robin025@users.noreply.github.com> Co-authored-by: Meha Bhalodiya <73488906+mehabhalodiya@users.noreply.github.com> Co-authored-by: Soumya Vemuri <vemuri.soumya26@gmail.com> Co-authored-by: Ankur Gupta <31045221+ankurg132@users.noreply.github.com> Co-authored-by: Shubham Gupta <57499043+ShubhamGupta577@users.noreply.github.com> Co-authored-by: saaalik <mdsaaalik@gmail.com> Co-authored-by: Smriti <52624997+smriti1313@users.noreply.github.com> Co-authored-by: Deepshikha <deepshikha@Deepshikhas-MacBook-Air.local> Co-authored-by: NEERAJ ADITYANANTH POLAMPALLI <65017645+NEERAJAP2001@users.noreply.github.com> Co-authored-by: ELITA04 <elita041999@gmail.com> Co-authored-by: unknown <aishwaryaaj2002@gmail.com> Co-authored-by: Ritvik <ritvikashesh2000@gmail.com> Co-authored-by: Ea <51820183+Jade9ja@users.noreply.github.com> Co-authored-by: Kaustubh Gupta <kaustubhgupta1828@gmail.com> Co-authored-by: sayantani11 <ii.sayantani.ii@gmail.com> Co-authored-by: Avinash Kr. Ranjan <ranjan.avinash@hotmail.com> Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com> Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: LAPTOP-SNSEHSAR\ayush <ayushjain2205@gmail.com> Co-authored-by: Mayanktank <mayanktank932001@gmail.com> Co-authored-by: Aliya Rahmani <65673692+aliya-rahmani@users.noreply.github.com> Co-authored-by: Kirtan17 <75886245+Kirtan17@users.noreply.github.com> Co-authored-by: Amr Mohamed Zaki <amrzaki2000.az@gmail.com> Co-authored-by: syamala <58478495+syamala27@users.noreply.github.com> Co-authored-by: Amr Zaki <62449903+amrzaki2000@users.noreply.github.com> Co-authored-by: deepshikha007 <deepshikhachauhan773@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 0ede0fb commit 307cd61

File tree

135 files changed

+30927
-999
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

135 files changed

+30927
-999
lines changed

‎.all-contributorsrc‎

Lines changed: 0 additions & 715 deletions
This file was deleted.

‎Attachment_Downloader/README.md‎

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# Attachment Downloader
2+
3+
The script downloads gmail atttachment(s) in no time!
4+
5+
6+
# Setup Instructions
7+
8+
The script uses ezgmail module (to know more visit https://pypi.org/project/EZGmail/). To install please type the following command in your bash.
9+
10+
```bash
11+
pip install EZGmail
12+
```
13+
14+
Once the module is installed you will need to download credentials.json file by going to [developers.google.com](https://developers.google.com/gmail/api/quickstart/python) and clicking the Enable the Gmail API button (select "Desktop app" as OAuth Client in second step).
15+
16+
Once you have credentials.json (in root directory of project folder), the first time you run the script it will open up a browser window asking you to log in to your Gmail account and allow "Quickstart" app to access it. A token.json file will be generated (in root directory of project folder) which your script can use to access your account.
17+
18+
# Outputs
19+
20+
## Output 1
21+
22+
![image](https://user-images.githubusercontent.com/75886245/111307477-82e5d100-867f-11eb-8461-58abd04fa56a.png)
23+
24+
## Output 2
25+
26+
![image](https://user-images.githubusercontent.com/75886245/111307625-ba547d80-867f-11eb-8f3b-77ded9e72416.png)
27+
28+
## Output 3
29+
30+
![image](https://user-images.githubusercontent.com/75886245/111307771-e66ffe80-867f-11eb-8bbe-457675fcb963.png)
31+
32+
## Output 4
33+
34+
![image](https://user-images.githubusercontent.com/75886245/111307864-0273a000-8680-11eb-8400-3009dff8d7db.png)
35+
36+
# Author
37+
38+
Contributed by Kirtan Bhatt

‎Attachment_Downloader/attachment.py‎

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
import ezgmail
2+
3+
def attachmentdownload(resulthreads):
4+
# Two Objects used in code are GmailThread and GmailMessage
5+
# 1. GmailThread - Represents conversation threads
6+
# 2. GmailMessage - Represents individual emails within Threads
7+
countofresults = len(resulthreads)
8+
try:
9+
for i in range(countofresults):
10+
if len(resulthreads[i].messages) > 1: # checks whether the count of messages in threads is greater than 1
11+
for j in range(len(resulthreads[i].messages)):
12+
resulthreads[i].messages[
13+
j].downloadAllAttachments() # downloads attachment(s) for individual messages
14+
else:
15+
resulthreads[i].messages[0].downloadAllAttachments() # downloads attachment(s) for single message
16+
print("Download compelete. Please check your root directory.")
17+
except:
18+
raise Exception("Error occured while downloading attachment(s).")
19+
20+
21+
if __name__ == '__main__':
22+
query = input("Enter search query: ")
23+
newquery = query + " + has:attachment" # appending to make sure the result threads always has an attachment
24+
resulthreads = ezgmail.search(newquery) # search functions accepts all the operators described at https://support.google.com/mail/answer/7190?hl=en
25+
26+
if len(resulthreads) == 0:
27+
print("Result has no attachments:") # Executed if results don't have attachment
28+
else:
29+
print("Result(s) with attachments:")
30+
for threads in resulthreads:
31+
print(f"Email Subject: {threads.messages[0].subject}") # prints the subject line of email thread in results
32+
try:
33+
ask = input(
34+
"Do you want to download attachment(s) in result(s) (Yes/No)? ") # Allows user to decide whether they want to download attachment(s) or not
35+
if ask == "Yes":
36+
attachmentdownload(resulthreads) # calls the function that downloads attachment(s)
37+
else:
38+
print("Program exited")
39+
except:
40+
print("Something went wrong")
41+
42+
43+
44+
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
import pandas as pd # Pandas library is used for importing and reading the data
2+
import datetime # datetime module is used for fetching the dates
3+
import smtplib # smtp library used for sending mail
4+
import os
5+
6+
current_path = os.getcwd()
7+
print(current_path)
8+
os.chdir(current_path) # Changing the Path of the directory in which you are currently working
9+
10+
GMAIL_ID = input("Enter your email: ") # Give your mail here from which you want to send the wishes
11+
GMAIL_PSWD = input("Enter password for your email mentioned above: ") # Give your mail password
12+
13+
14+
def sendEmail(to, sub, msg):
15+
print(f"Email to {to} sent: \nSubject: {sub} ,\nMessage: {msg}")
16+
s = smtplib.SMTP('smtp.gmail.com', 587) # creating server to send mail
17+
s.starttls() # start a TLS session
18+
s.login(GMAIL_ID, GMAIL_PSWD) # the function will login with your Gmail credentials
19+
s.sendmail(GMAIL_ID, to, f"Subject: {sub} \n\n {msg}") # sending the mail
20+
s.quit()
21+
22+
23+
if __name__ == "__main__":
24+
df = pd.read_excel("data.xlsx") # the datasheet where the data of the friends is stored
25+
today = datetime.datetime.now().strftime("%d-%m")
26+
yearNow = datetime.datetime.now().strftime("%Y")
27+
28+
writeInd = []
29+
for index, item in df.iterrows():
30+
bday = item['Birthday']
31+
bday = datetime.datetime.strptime(bday, "%d-%m-%Y")
32+
bday = bday.strftime("%d-%m")
33+
if(today == bday) and yearNow not in str(item['LastWishedYear']):
34+
sendEmail(item['Email'], "Happy Birthday", item['Dialogue']) # calling the sendmail function
35+
writeInd.append(index)
36+
37+
if writeInd != None:
38+
for i in writeInd:
39+
oldYear = df.loc[i, 'LastWishedYear']
40+
df.loc[i, 'LastWishedYear'] = str(oldYear) + ", " + str(yearNow)
41+
42+
df.to_excel('data.xlsx', index=False)

‎Auto Birthday Wisher/README.md‎

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# Auto Birthday Wisher
2+
3+
One forgets to send birthday wishes to friends many times. At such times an automatic birthday wisher comes handy. An automatic birthday wisher via email makes one's life easy. It will send the birthday wishes to friends via email automatically via a server and using an excel sheet to store the data of friends and their birthdays along with email id. It'll send the wishes to friends for all the upcoming years untill we stop the server.
4+
5+
## Setup instructions
6+
7+
In order to run this script, You just need the following modules:
8+
9+
- **Pandas** is a fast, powerful, flexible and easy to use open source data analysis and manipulation tool,
10+
built on top of the Python programming language.
11+
```bash
12+
pip install pandas
13+
```
14+
15+
- **Datetime** is a module used for Encapsulation of date/time values.
16+
```bash
17+
pip install DateTime
18+
```
19+
20+
- **smtplib** module defines an SMTP client session object that can be used to send mail to any Internet machine with an SMTP or ESMTP listener daemon.
21+
22+
## Configuration
23+
1. Assign the Gmail Id of sender to the GMAIL_ID variable in *line 10* of **"Auto B'Day Wisher.py"** file. (e.g. 'xyz@gmail.com')
24+
2. Similar to first step assign the Gmail password of sender to the GMAIL_PSWD variable in *line 11* of **"Auto B'Day Wisher.py"** file. (e.g. '1234')
25+
3. In **"data.xlsx"** file insert the name of the receiver in second column under *Name*. Similarly update the **Birthday** field with the birth date of receiver in the given format*("%dd-%mm-%YYYY")*. Update the **Dailogue** field with a short message you want to send and the **Email** field with the email of the receiver.
26+
4. Make sure to give permission to your google account from which you're sending email to **Allow less secure apps**. Just turn this *"ON"* from [here](https://support.google.com/accounts/answer/6010255?hl=en#zippy=%2Cif-less-secure-app-access-is-off-for-your-account).
27+
5. Run the command
28+
```bash
29+
python "Auto B'Day Wisher.py"
30+
```
31+
32+
## Screenshots
33+
34+
<p align="center">
35+
<img src="https://raw.githubusercontent.com/SpecTEviL/Amazing-Python-Scripts/AutoBDayWisher-GSSoC'21%23623/Auto%20Birthday%20Wisher/emailReceived.jpg" height="700" alt="Email received by friend"/>
36+
<br>
37+
Birthday Wishes received by the Friend via Email
38+
</p>
39+
40+
## Author
41+
42+
[Vishal Patil](https://github.com/SpecTEviL)

‎Auto Birthday Wisher/data.xlsx‎

5.02 KB
Binary file not shown.
131 KB
Loading[フレーム]

‎Blackjack/README.md‎

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Blackjack
2+
3+
Blackjack (also known as 21) is a multiplayer card game, with fairly simple rules.
4+
5+
For this script, I am implementing a simplified version where a user can play against the computer who acts as dealer.
6+
7+
Two cards are dealt to each player. The dealer shows one card face up, and the other is face down. The player gets to see both of his or her cards and the total of them is added.
8+
9+
Aces are worth 1 or 11 points, and all other cards are worth their face value. The goal of the game is to get as close to 21 ("blackjack") without going over (called "busting.")
10+
11+
The human player goes first, making his or her decisions based on the single dealer card showing.
12+
13+
</br>
14+
15+
The player has two choices: Hit or Stand.
16+
- Hit means to take another card.
17+
- Stand means that the player wishes no more cards, and ends the turn, allowing for the dealer to play.
18+
19+
The dealer must hit if their card total is less than 17, and must stand if it is 17 or higher.
20+
21+
Whichever player gets closest to 21 without exceeding it, wins.
22+
23+
</br>
24+
25+
## Example Run
26+
27+
![demo](https://user-images.githubusercontent.com/73488906/111056858-9854d280-84a8-11eb-9cbe-c5858764c6bc.png)
28+
![demo](https://user-images.githubusercontent.com/73488906/111056838-50ce4680-84a8-11eb-84f4-62c8364c82ef.png)

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /