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 ~/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.1

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.1
File Size Uploaded Provenance
lc_crusher-0.1.1.tar.gz 60.5 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 74.9 kB

Release files / lc_crusher-0.1.1.tar.gz

Download URL lc_crusher-0.1.1.tar.gz
Size 60.5 kB
Tags Source
SHA-256 checksum
How to use checksums
1ee22b48079509e7cbb64049cbaf2aae43ebf8c9ef0d00bc495c01b364c65406
BLAKE2b-256 checksum
How to use checksums
b5d123d9c475085b154d830f491d573e33ad38bba590a44d45c8816388e62183
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.1-py3-none-any.whl

Download URL lc_crusher-0.1.1-py3-none-any.whl
Size 14.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
80c53d2cfa67d8f93fe7c0c379ccbed5c82786a42fe43fb4579a335fe39f0dc7
BLAKE2b-256 checksum
How to use checksums
2aeaefde1aec22935e4a0126e2e331008e2a3611d199c57b8ba6b349e4f553d1
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.1

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