Skip to main content

Desktop notification of easy daily challenge of leetcode.

Project description

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 leeteasy checks 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_duration option.

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!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

leeteasy-1.2.0.tar.gz (116.8 kB view hashes)

Uploaded Source

Built Distribution

leeteasy-1.2.0-py3-none-any.whl (115.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page