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 Distribution

leetcode-with-me-0.2.1.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

leetcode_with_me-0.2.1-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file leetcode-with-me-0.2.1.tar.gz.

File metadata

  • Download URL: leetcode-with-me-0.2.1.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.0

File hashes

Hashes for leetcode-with-me-0.2.1.tar.gz
Algorithm Hash digest
SHA256 7ed4d13005136df6ffb56b683d3d071c15b128c106177ce538cbe88be2c06bdb
MD5 ef08b09b0c1e527c4d624fdfc8abc6f2
BLAKE2b-256 05b55e394a79b32c455e20e1647568ad03746959795118c7fc333c4f55992a91

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for leetcode_with_me-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 40f0bf6816d7187100da4832f36ad5bb42e2497efc5c130cbf092e3051bc39d5
MD5 d26eee07d82cea0e0c28c306609a6698
BLAKE2b-256 e6486424582bff4b6217ef4e9ce3ba25c362ff2f42e3b348a0d5e4b7f30a9ca8

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