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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file leeteasy-1.2.0.tar.gz.

File metadata

  • Download URL: leeteasy-1.2.0.tar.gz
  • Upload date:
  • Size: 116.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.15

File hashes

Hashes for leeteasy-1.2.0.tar.gz
Algorithm Hash digest
SHA256 8e36f54beeaf5b3a5f5864726c44848b632840ce9d34ceba3a790baf65abcb84
MD5 4ea705521f81c4d99ef19df1b45b91a0
BLAKE2b-256 a5c7692357082ee756efa3698c8b48512f5499b25b097d071004c67215cf4177

See more details on using hashes here.

File details

Details for the file leeteasy-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: leeteasy-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 115.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.15

File hashes

Hashes for leeteasy-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 40f74fcd4950fe976d2689c616da9668d00d119e60e07ea5c379fa7e50e3c01a
MD5 d99e7e1b699e9ce66b12d71559c078bb
BLAKE2b-256 92a8abb0197303470761787f7fba64ed009e20d95b8ed5cae79cb158705285e6

See more details on using hashes here.

Supported by

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