LeetEasy
Desktop notification for easy daily challenges in leetcode.
We all know Leetcode's daily challenges are awesome :sunglasses: However, sometimes these challenges are quite difficult for people who are just starting out problem-solving :smiling_face_with_tear:
This tool will send desktop notification when an Easy daily problem is published. This way you won't miss any opportunity to grab some easy Leetcoins :coin: and stay motivated for the day :fire:
Requirements
- python >= 3.8
Installation
pip install leeteasy
run
Schedule leeteasy to send notification for easy leetcode problem at 14:30 (24 hours format time)
python -m leeteasy start 14:30 &
To add additional difficulty
python -m leeteasy start 14:30 --difficulty medium &
This will schedule leeteasy for Easy and Medium problem.
To stop leeteasy
python -m leeteasy stop
NOTE: By default
leeteasychecks for scheduled task in every 1 hour/3600 seconds. So there might be 1-hour delay from the actual scheduled time while getting the notification. However, this can be controlled using--sleep_durationoption.
Linux cronjob guide
Set a cronjob to automatically start leeteasy at system boot.
# open cronjob editor
crontab -e
# add the following line
@reboot python -m leeteasy start 14:30 &
Contributing
We are very happy to see you here. Before sending your pull requests, make sure that you read the whole workflow and the naming conventions mentioned in the contributing guidelines.
If you have any doubts regarding the contributing guidelines, please feel free to state it clearly in an issue. All the best!
Metadata
Release files for leeteasy 1.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| leeteasy-1.2.0.tar.gz | 116.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| leeteasy-1.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 232.2 kB
Release files / leeteasy-1.2.0.tar.gz
| Download URL | leeteasy-1.2.0.tar.gz |
|---|---|
| Size | 116.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8e36f54beeaf5b3a5f5864726c44848b632840ce9d34ceba3a790baf65abcb84
|
|
BLAKE2b-256 checksum How to use checksums |
a5c7692357082ee756efa3698c8b48512f5499b25b097d071004c67215cf4177
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.15
|
Release files / leeteasy-1.2.0-py3-none-any.whl
| Download URL | leeteasy-1.2.0-py3-none-any.whl |
|---|---|
| Size | 115.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
40f74fcd4950fe976d2689c616da9668d00d119e60e07ea5c379fa7e50e3c01a
|
|
BLAKE2b-256 checksum How to use checksums |
92a8abb0197303470761787f7fba64ed009e20d95b8ed5cae79cb158705285e6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.15
|