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 -n 50 --delay 10  # daily at 23:00, 50 problems, 10s apart
lc schedule status | remove

Every accepted problem is appended to ~/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.2

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.2
File Size Uploaded Provenance
lc_crusher-0.1.2.tar.gz 60.6 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 75.1 kB

Release files / lc_crusher-0.1.2.tar.gz

Download URL lc_crusher-0.1.2.tar.gz
Size 60.6 kB
Tags Source
SHA-256 checksum
How to use checksums
c9e08da423f2df886e55d868a2e839db509478ea0d4a6fa11f01f0156c82f398
BLAKE2b-256 checksum
How to use checksums
0950a5c4df026ce59494b823241c5d3da241ae795b65cdd45e80d42ec9c0f6f1
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.2-py3-none-any.whl

Download URL lc_crusher-0.1.2-py3-none-any.whl
Size 14.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a1373811948aa8e94ef029229131b76a1aeedc395c52140fd0fca0d01ce5d08d
BLAKE2b-256 checksum
How to use checksums
19ce6cb8339ea7ccdff0f0b7b5cb70bfb634e3174a2f0fd42f6d2bd50ec7e5e4
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.2

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