Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
1a9f064
Added Battery Notification Script
pankaj892 Mar 26, 2021
661616e
Update Battery-Notification/README.md
pankaj892 Mar 26, 2021
f84f18b
Update README.md
pankaj892 Mar 26, 2021
9ebc91b
Update SCRIPTS.md
pankaj892 Mar 27, 2021
e8a3559
Update SCRIPTS.md
pankaj892 Mar 28, 2021
fb7414a
added bubble-shooter
syamala27 Apr 3, 2021
5074b78
added Uthopianaudio file
syamala27 Apr 3, 2021
0c6086c
Update README.md
syamala27 Apr 3, 2021
de3ecdf
Update README.md
syamala27 Apr 3, 2021
6bb6418
Update README.md
syamala27 Apr 3, 2021
54daeb9
Update Battery-Notification.py
pankaj892 Apr 6, 2021
4b50c63
Delete Bubble Shooter Game directory
syamala27 Apr 6, 2021
40ffc48
Added bubble Shooter game
syamala27 Apr 6, 2021
4cdd7ff
Delete Bubble Shooter Game directory
syamala27 Apr 6, 2021
31423e2
Updated the bubble shooter game!
syamala27 Apr 6, 2021
d109536
Add tarot_card_reader.py
Akshu-on-github Apr 8, 2021
4dc0e13
Add README.md
Akshu-on-github Apr 8, 2021
7dd93b3
Modify README.md to fit Template
Akshu-on-github Apr 8, 2021
059d437
Update SCRIPTS.md
Akshu-on-github Apr 8, 2021
9553fe8
Add files via upload
ayush-raj8 Apr 8, 2021
f1e1590
Create README.md
ayush-raj8 Apr 8, 2021
49b3709
Update README.md
ayush-raj8 Apr 8, 2021
9f35c95
Update README.md
ayush-raj8 Apr 8, 2021
e9917ae
Update README.md
ayush-raj8 Apr 8, 2021
e7367b1
GUI Implementation done
Ayushjain2205 Apr 9, 2021
c4bc0dd
web scraping and showing result in GUI complete
Ayushjain2205 Apr 9, 2021
a31fc40
requirements files added
Ayushjain2205 Apr 9, 2021
451308a
Readme file added
Ayushjain2205 Apr 9, 2021
71bf35a
Delete main.py
ayush-raj8 Apr 9, 2021
0bc7f6e
Add files via upload
ayush-raj8 Apr 9, 2021
e6e0ee6
Update README.md
ayush-raj8 Apr 9, 2021
bcd09b2
Image viewing
Amit366 Apr 10, 2021
8b4dc47
Update main.py
ayush-raj8 Apr 10, 2021
6b16b1a
Update Battery-Notification.py
pankaj892 Apr 10, 2021
52a3abc
player data allignment fix
Ayushjain2205 Apr 10, 2021
b94ba81
2021 support added
Ayushjain2205 Apr 10, 2021
1152f09
readme updated with new UI screenshot
Ayushjain2205 Apr 10, 2021
f4323a1
#868 PDF reoder added
iamakkkhil Apr 10, 2021
900ce45
Readme Updated
iamakkkhil Apr 10, 2021
0940721
#867 Image background subractor added
iamakkkhil Apr 10, 2021
0d86656
Update Battery-Notification/Battery-Notification.py
pankaj892 Apr 11, 2021
5873386
Update Battery-Notification.py
pankaj892 Apr 11, 2021
d892fa2
Update
Amit366 Apr 12, 2021
a9316c1
Image viewing gui
Amit366 Apr 12, 2021
6e9a89f
Create Readme.md
syamala27 Apr 12, 2021
399c0e4
Update Readme.md
syamala27 Apr 12, 2021
ba824f5
Update script.py
Amit366 Apr 13, 2021
16b398f
Merge pull request #857 from Ayushjain2205/ipl-statistics-gui
avinashkranjan Apr 14, 2021
4a8bf7b
Merge pull request #746 from pankaj892/master
avinashkranjan Apr 14, 2021
abcaee5
Undo update
Akshu-on-github Apr 14, 2021
43d6c92
Implement file handling
Akshu-on-github Apr 14, 2021
47b3aa6
Add tarot.txt
Akshu-on-github Apr 14, 2021
1f54536
Add root path
Akshu-on-github Apr 15, 2021
8fbeed0
Modify file handle, update documentation
Akshu-on-github Apr 15, 2021
617478e
Merge pull request #816 from syamala27/master
avinashkranjan Apr 15, 2021
f9557a9
Merge pull request #848 from Akshu-on-github/tarot-reader
avinashkranjan Apr 15, 2021
521e1c4
Merge pull request #852 from ayush-raj8/master
avinashkranjan Apr 15, 2021
9fb8c95
Merge pull request #874 from iamakkkhil/iamakkkhil-patch-1
avinashkranjan Apr 15, 2021
16f8540
Merge pull request #879 from iamakkkhil/iamakkkhil-patch-2
avinashkranjan Apr 15, 2021
47bd8e7
Merge pull request #888 from Amit366/Image
avinashkranjan Apr 15, 2021
f1378f9
[ImgBot] Optimize images
ImgBotApp Apr 15, 2021
6914085
Merge pull request #906 from avinashkranjan/imgbot
avinashkranjan Apr 15, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions Battery-Notification/Battery-Notification.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import psutil
from plyer import notification
import time
#From psutil we import sensors battery class which gives us battery percentage
threshold = int(input('Enter the threshold: '))

battery = psutil.sensors_battery()
percent = battery.percent

while(True):
battery = psutil.sensors_battery()
cur_per = battery.percent
change = cur_per - percent
diff = abs(change)
#We calculate the change in the battery and show notification if battery level increases or decreases
if(diff >= threshold):
notification.notify(
title = "Battery Percentage",
message = str(cur_per) + "% Battery Remaining",
timeout = 5
)
percent = cur_per
continue
19 changes: 19 additions & 0 deletions Battery-Notification/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# This is a Python Script which shows the battery percentage left

## Requirements

For this script to run you need to have psutil and plyer packages installed

Run the command in terminal to install package

```
$ pip install psutil
```
```
$ pip install plyer
```
Run the program using command

```
$ python Battery-Notification.py
```
Binary file added Bubble Shooter Game/Arrow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Bubble Shooter Game/Goofy_Theme.ogg
Binary file not shown.
4 changes: 4 additions & 0 deletions Bubble Shooter Game/Readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
## How to play Bubble shooter game
- In order to shoot the bubbles click on the space bar.
- Any 3 consecutive same color bubbles.
- Control the arrow with left, right and up arrow keys.
Binary file added Bubble Shooter Game/Whatever_It _Takes_OGG.ogg
Binary file not shown.
Binary file added Bubble Shooter Game/bgmusic.ogg
Binary file not shown.
Binary file added Bubble Shooter Game/bubbleshoot.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading