Skip to main content

LeetCLI - Solve, practice, and fetch LeetCode challenges from your terminal

Project description

LeetCLI

LeetCLI is a command-line interface (CLI) tool to interact with LeetCode directly from your terminal.
You can search, view, download, run sample testcases, and submit solutions without opening a browser.


Features

  • ✅ Login/logout using your LEETCODE_SESSION cookie.
  • ✅ List problems with pagination.
  • ✅ Search problems by keyword.
  • ✅ View problem description in Markdown.
  • ✅ Download starter code for your preferred language.
  • ✅ Run official sample testcases locally.
  • ✅ Submit solutions to LeetCode.
  • ✅ Show daily challenge and user stats.

Installation

Install via pip:

pip install lc

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

leetcode_terminal-0.1.0.tar.gz (14.1 kB view details)

Uploaded Source

Built Distribution

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

leetcode_terminal-0.1.0-py3-none-any.whl (16.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: leetcode_terminal-0.1.0.tar.gz
  • Upload date:
  • Size: 14.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.7

File hashes

Hashes for leetcode_terminal-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9ab3e6dadefdb8aaed685b02e19f3841b88f4a7f3fa5124c38db9fbe235ff521
MD5 58d036ca00cc6989e440734c3637da00
BLAKE2b-256 5546587f92cbeca8bc39e3ee90a2397ed096d16f7fbe2aa1ba6cdc794459e7c6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for leetcode_terminal-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d7f3fb398fbb8ab0ed9e0a5a400aba4842513190e9410762577305e4845d6f46
MD5 b5ec078a8aff1f3754d0eb063ac792f5
BLAKE2b-256 a39e65ee56e861c409e288cc9a60641b3152c6e430cf64b93d79b2771b789ea4

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