Skip to main content

lc — LeetCode Crusher

A CLI that picks unsolved LeetCode problems, finds a top-voted community Python solution, verifies it against the examples with Run, and submits it.

Install

pipx install lc-crusher

Requires Python 3.10+ and Google Chrome (used only for signing in).

Usage

lc login                         # sign in in a Chrome window; session saved to ~/.config/lc
lc whoami                        # signed-in user and solved counts
lc pick -n 10                    # next unsolved problems
lc crush --dry-run               # verify the next problem without submitting
lc crush -n 5 -d easy            # solve 5 unsolved easy problems
lc now                           # run the scheduled job immediately (50 problems)
lc schedule install daily:23:00  # run every day at 23:00 (macOS launchd)
lc schedule status | remove

Every accepted problem is appended to ~/Documents/lc-solved.xlsx, one tab per date. Problems a previous run solved or gave up on are never retried unless you pass --retry-failed.

LeetCode allows one Run/Submit at a time per account, so problems are solved sequentially.

Disclaimer

Automated submissions violate LeetCode's Terms of Service and can get an account flagged or banned. Use at your own risk.

Metadata

Release files for lc-crusher 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lc-crusher 0.1.0
File Size Uploaded Provenance
lc_crusher-0.1.0.tar.gz 60.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for lc-crusher 0.1.0
File Interpreter ABI Platform
lc_crusher-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 74.8 kB

Release files / lc_crusher-0.1.0.tar.gz

Download URL lc_crusher-0.1.0.tar.gz
Size 60.4 kB
Tags Source
SHA-256 checksum
How to use checksums
666df15802a27d7410b32f3d26f58ae6ca8be217398438b54a8aa7fa0cabd8e0
BLAKE2b-256 checksum
How to use checksums
8ce653a90cfca86e62eac4cf541f4e7b01fb35c976353d11bacaed633f7c6d78
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / lc_crusher-0.1.0-py3-none-any.whl

Download URL lc_crusher-0.1.0-py3-none-any.whl
Size 14.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4b45a7fe61b2d47536f381c5cfc9b12e918f36f9a9592e1d831504a7a2f7313b
BLAKE2b-256 checksum
How to use checksums
8e53601b0e8d509a6086f35b72e4655d060a0dc4844c8182985bde30d6aa3c0d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for lc-crusher 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page