Skip to main content

LeetCode CLI interface and helper functions.

Project description

leetcode-with-me

lc on PyPI

A small tool for writing solutions to LeetCode problems.

Features

  • Initialize a directory with Git and connect to a GitHub repo.
  • Create a solution from default template for writing LeetCode solutions.
  • Set up you own writing template.
  • Add/Remove categories which LeetCode problems belong to.
  • Upload solutions to GitHub repo.
  • Support executing commands in any directory.
  • Support markdown format.

Installation

$ pip install leetcode-with-me

Usage

  • Initialize a directory and connect to GitHub repo.

    $ lc init <directory> <remote repo>

  • Create a solution markdown for you.

    $ lc new <solution name> <solution category>

  • Set up your own writing template.

    $ lc template -set <template path>

  • Add/Remove a category.

    $ lc category add <category>

    $ lc category rm <category>

  • Upload solutions to the GitHub repo.

    $ lc upload

See lc --help for more command-line switches and usage instructions.

Development

I would love to hear what you think about leetcode-with-me on issues page

Make pull requests, report bugs, suggest ideas and discuss leetcode-with-me.

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

leetcode_with_me-0.2.2-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file leetcode_with_me-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: leetcode_with_me-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 6.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/56.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.5

File hashes

Hashes for leetcode_with_me-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 15ddf8b25d60aaa09221084d75ca28a2bbf4d1be2480fb3c6b19aeb179f6d54f
MD5 0143fe6fd7a7b32a3e6e3fd5a736365a
BLAKE2b-256 9ec418799b6e037a572c63dcf48143385b04a7c39ba59ad514918be11f0b35f2

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page