A tool for studying Leetcode with Python
Project description
Leetcode Study Tool
This package provides a command-line tool for interracting with Leetcode to create flashcards for study, which can then be imported into Anki.
Usage
usage: leetcode-study-tool [-h] (--url URL | --file FILE) [--format {cards}] [--output OUTPUT] [--language LANGUAGE]
Generates problems from LeetCode questions in a desired format.
options:
-h, --help show this help message and exit
--url URL, -u URL The URL(s) or slug(s) of the LeetCode question(s) to generate problem(s) for. (default: None)
--file FILE, -f FILE The file containing the URL(s) or slug(s) of the LeetCode question(s) to generate problem(s) for. (default: None)
--format {cards}, -F {cards}
The format to save the Anki problem(s) in. (default: cards)
--output OUTPUT, -o OUTPUT
The output file to write the problem(s) to. (default: output.txt)
--language LANGUAGE, -l LANGUAGE
The language to generate problem(s) for. (default: None)
Roadmap
- Add support for fetching premium questions via authentification
- Add support for importing cards into Quizlet
- Add support for fetching questions by topic or tag
- Add support for exporting to an excel sheet
- Add support for showing neetcode solutions on the back of the card as a link
- Reach 100% test coverage
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
leetcode-study-tool-1.0.0.tar.gz
(19.8 kB
view hashes)
Built Distribution
Close
Hashes for leetcode-study-tool-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20ae92d47ecb2c85dd5b8c8a5b0cf61868aa1febbe3b38f3c48bb71dd58aad17 |
|
MD5 | 8977fdf796b53e55ec64f91ec232c5c5 |
|
BLAKE2b-256 | 9daf921e058c9e07e81bacbad26b398051e51b25d410c6a434ea0d9e38046971 |
Close
Hashes for leetcode_study_tool-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d97a30b760907dd9bc8f26ffdb77d20391b64511c36c187234f246bc3b247d8 |
|
MD5 | a7d166da75b08225510279a6c0005a44 |
|
BLAKE2b-256 | 6c569f4ba210933abe65c4f0dbb51684cfc957b801614eaa396a82da6c4f133c |