Skip to main content

Sets up cron job that pushes Leetcode submissions to a Github repository

Project description

leetcron

A CLI tool for setting up a cron job that pushes recent leetcode submissions to a specified Github repo.

0.1.0 Updates

  • Added support for the latest languages on Leetcode
  • Added handling to prevent cron job failing from unrecognized language

Installation

pip install leetcron

Setup

leetcron setup

Options

-g Github setup -c Leetcode cookie setup -j Cronjob setup

Notes

  • Obtain a Github Access Token through the steps here
  • Make sure you are logged into Leetcode on Chrome or Firefox before running the setup.
  • Try running leetcron setup -c to grab the newest Leetcode cookie if task fails.

Push recent submissions to repo manually

leetcron run

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

leetcron-0.1.0.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

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

leetcron-0.1.0-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file leetcron-0.1.0.tar.gz.

File metadata

  • Download URL: leetcron-0.1.0.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.2

File hashes

Hashes for leetcron-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d0060c617156736914ac22910828d41225bca8eb79d87ba9b063684b9e4dcd08
MD5 a73819a65daca06a693c832d803ec7e4
BLAKE2b-256 d99e07b8db35ba0974189aa34d7fd02894e138d96b1807fe169aabd67ce6bb30

See more details on using hashes here.

File details

Details for the file leetcron-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: leetcron-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.2

File hashes

Hashes for leetcron-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8ace1dbd8859200a76967ce6d6795458195c05ae3b03e258336686e1d7d8c951
MD5 82d038cf66dd171c5c127e3ef9176c0a
BLAKE2b-256 5677fa1dc723970b029c63c6f7ecd46d1e71b0b4413ddd668c31478c38dc8761

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