Skip to main content

A small CLI tool to solve leetcode problems from your favorite text editor!

Project description

pylc

pylc is a small CLI tool to solve leetcode problems.

Installation

Make sure you have python installed in your system.
Then run pip install pylc_cli
After installation, the pylc command will be available.

Run pylc update to populate the cache database.
Open up your config.toml file (located at $HOME/.pylc) and paste your session and csrftoken values.

Commands:

pylc pick <id> # Display problem statement
pylc solve <id> # Open up your editor (default editor is vim)
pylc test <id> # Send your typed code to leetcode servers for testing
pylc submit <id> # Submit your code
pylc update # Updates the cache database

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

pylc_cli-0.4.tar.gz (7.6 kB view details)

Uploaded Source

Built Distribution

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

pylc_cli-0.4-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

Details for the file pylc_cli-0.4.tar.gz.

File metadata

  • Download URL: pylc_cli-0.4.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.3

File hashes

Hashes for pylc_cli-0.4.tar.gz
Algorithm Hash digest
SHA256 4f9a7fe2219f15a903b8e0c7f38e24b1daa4b5053caf4f604f73aba078c6e80c
MD5 235f1dfdb680a1f34f974e8754a7f13e
BLAKE2b-256 0b6bfe2128ac9a3cae44ff461addcdab2a67fdedca6b9bb5578788238498c3eb

See more details on using hashes here.

File details

Details for the file pylc_cli-0.4-py3-none-any.whl.

File metadata

  • Download URL: pylc_cli-0.4-py3-none-any.whl
  • Upload date:
  • Size: 9.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.3

File hashes

Hashes for pylc_cli-0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 cbc98c9d4de8abadcb978271685952978d4303b62243ebe1da960e7c71696401
MD5 91df5afdf3c8a61f765a4883c8643719
BLAKE2b-256 6db0527b8b4a1476a45fd81f9d1022b521ed90d80ff7cd316c22fe0fe2f00994

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