leetcode-study-tool 1.2.0__tar.gz → 1.2.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (24) hide show
  1. {leetcode-study-tool-1.2.0 → leetcode-study-tool-1.2.2}/PKG-INFO +32 -19
  2. {leetcode-study-tool-1.2.0 → leetcode-study-tool-1.2.2}/README.md +31 -18
  3. {leetcode-study-tool-1.2.0 → leetcode-study-tool-1.2.2}/leetcode_study_tool/constants/leetcode_to_neetcode.py +7 -7
  4. {leetcode-study-tool-1.2.0 → leetcode-study-tool-1.2.2}/leetcode_study_tool/creator.py +4 -1
  5. {leetcode-study-tool-1.2.0 → leetcode-study-tool-1.2.2}/leetcode_study_tool.egg-info/PKG-INFO +32 -19
  6. {leetcode-study-tool-1.2.0 → leetcode-study-tool-1.2.2}/pyproject.toml +1 -1
  7. {leetcode-study-tool-1.2.0 → leetcode-study-tool-1.2.2}/LICENSE.txt +0 -0
  8. {leetcode-study-tool-1.2.0 → leetcode-study-tool-1.2.2}/leetcode_study_tool/__init__.py +0 -0
  9. {leetcode-study-tool-1.2.0 → leetcode-study-tool-1.2.2}/leetcode_study_tool/cli.py +0 -0
  10. {leetcode-study-tool-1.2.0 → leetcode-study-tool-1.2.2}/leetcode_study_tool/constants/graphql.py +0 -0
  11. {leetcode-study-tool-1.2.0 → leetcode-study-tool-1.2.2}/leetcode_study_tool/formatters.py +0 -0
  12. {leetcode-study-tool-1.2.0 → leetcode-study-tool-1.2.2}/leetcode_study_tool/outputs.py +0 -0
  13. {leetcode-study-tool-1.2.0 → leetcode-study-tool-1.2.2}/leetcode_study_tool/queries.py +0 -0
  14. {leetcode-study-tool-1.2.0 → leetcode-study-tool-1.2.2}/leetcode_study_tool.egg-info/SOURCES.txt +0 -0
  15. {leetcode-study-tool-1.2.0 → leetcode-study-tool-1.2.2}/leetcode_study_tool.egg-info/dependency_links.txt +0 -0
  16. {leetcode-study-tool-1.2.0 → leetcode-study-tool-1.2.2}/leetcode_study_tool.egg-info/entry_points.txt +0 -0
  17. {leetcode-study-tool-1.2.0 → leetcode-study-tool-1.2.2}/leetcode_study_tool.egg-info/requires.txt +0 -0
  18. {leetcode-study-tool-1.2.0 → leetcode-study-tool-1.2.2}/leetcode_study_tool.egg-info/top_level.txt +0 -0
  19. {leetcode-study-tool-1.2.0 → leetcode-study-tool-1.2.2}/setup.cfg +0 -0
  20. {leetcode-study-tool-1.2.0 → leetcode-study-tool-1.2.2}/tests/test_cli.py +0 -0
  21. {leetcode-study-tool-1.2.0 → leetcode-study-tool-1.2.2}/tests/test_creator.py +0 -0
  22. {leetcode-study-tool-1.2.0 → leetcode-study-tool-1.2.2}/tests/test_formatters.py +0 -0
  23. {leetcode-study-tool-1.2.0 → leetcode-study-tool-1.2.2}/tests/test_outputs.py +0 -0
  24. {leetcode-study-tool-1.2.0 → leetcode-study-tool-1.2.2}/tests/test_queries.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: leetcode-study-tool
3
- Version: 1.2.0
3
+ Version: 1.2.2
4
4
  Summary: A tool for studying Leetcode with Python
5
5
  Author-email: John Sutor <johnsutor3@gmail.com>
6
6
  License: MIT License
@@ -32,29 +32,26 @@ Classifier: Topic :: Education
32
32
  Description-Content-Type: text/markdown
33
33
  License-File: LICENSE.txt
34
34
 
35
- # Leetcode Study Tool
35
+ # 💻 Leetcode Study Tool
36
36
  ![Tests Status](https://github.com/johnsutor/leetcode-study-tool/workflows/Tests/badge.svg)
37
37
  ![Style Status](https://github.com/johnsutor/leetcode-study-tool/workflows/Style/badge.svg)
38
38
  [![Python Versions](https://img.shields.io/pypi/pyversions/leetcode-study-tool)](https://pypi.org/project/leetcode-study-tool/)
39
39
  [![PyPi](https://img.shields.io/pypi/v/leetcode-study-tool)](https://pypi.org/project/leetcode-study-tool/)
40
40
  ![contributions welcome](https://img.shields.io/badge/contributions-welcome-blue.svg?style=flat)
41
41
 
42
- This package lets you get grokking as quickly as possible with Leetcode. It provides a command-line tool for interracting with Leetcode to create flashcards for study,
43
- which can then be imported into Anki. Currently, this tool supports taking in a list of or popular study sets (including the [Blind 75](https://www.teamblind.com/post/New-Year-Gift---Curated-List-of-Top-75-LeetCode-Questions-to-Save-Your-Time-OaM1orEU), [Grind 75](https://www.techinterviewhandbook.org/grind75), and [Neetcode 150](https://neetcode.io/practice)) and outputting
44
- problems in a format that can be imported to Anki. These cards include three fields:
45
- 1. The front of the study card, containing the question ID, Title, URL, and problem description
46
- 2. The publicly available solutions (and NeetCode solution, if available)
47
- 3. The tags associated with the problem (i.e., if the problem involves a hash map, arrays, etc...)
42
+ ![Leetcode Study Tool Diagram](./static/leetcode_study_tool_diagram.png)
43
+
44
+ This package lets you get grokking as quickly as possible with Leetcode. It provides a command-line tool for interracting with Leetcode to create either an Excel file or Anki flashcards for study. Currently, this tool supports taking in a list of leetcode question slugs or URLs or popular study sets (including the [Blind 75](https://www.teamblind.com/post/New-Year-Gift---Curated-List-of-Top-75-LeetCode-Questions-to-Save-Your-Time-OaM1orEU), [Grind 75](https://www.techinterviewhandbook.org/grind75), and [Neetcode 150](https://neetcode.io/practice)).
48
45
 
49
- ## Why?
46
+ ## 🤔 Why?
50
47
  This package was created as an opinionated alternative to other existing packages (as listed at the bottom of this README).
51
48
 
52
- ## Installation
49
+ ## 📥 Installation
53
50
  ```shell
54
51
  $ pip install leetcode-study-tool
55
52
  ```
56
53
 
57
- ## Usage
54
+ ## 💻 Usage
58
55
  ```shell
59
56
  usage: leetcode-study-tool [-h]
60
57
  (--url URL | --file FILE | --preset {blind_75,grind_75,grind_169,neetcode_150,neetcode_all})
@@ -80,7 +77,7 @@ options:
80
77
  The language to generate problem(s) for. (default: None)
81
78
  ```
82
79
 
83
- ## Example
80
+ ## 💡 Example
84
81
  In the simplest case, if you want to [Grok](https://www.reddit.com/r/leetcode/comments/t5xqb6/how_to_use_grokking/) the most commonly asked questions, you should generate from a preset. For example, generating Anki cards from the [Grind 75](https://www.techinterviewhandbook.org/grind75) is as simple as
85
82
  ```shell
86
83
  $ leetcode-study-tool -p grind_75
@@ -93,20 +90,36 @@ which will generate the file `output.txt`. We can then open Anki to import these
93
90
 
94
91
  ![anki demo](static/anki-demo.gif)
95
92
 
93
+ ## 📒 Anki
94
+ When generating an Anki output, the resulting "cards" are saved as a `.txt` file. These cards include three fields:
95
+ 1. The front of the study card, containing the question ID, Title, URL, and problem description
96
+ 2. The publicly available solutions (and NeetCode solution, if available)
97
+ 3. The tags associated with the problem (i.e., if the problem involves a hash map, arrays, etc...)
98
+
99
+ ## 📊 Excel
100
+ When generating an Excel output, the resulting questions are saved in an `.xlsx` file. Each problem includes the following fields:
101
+ 1. ID of the leetcode question
102
+ 2. Title of the leetcode question
103
+ 3. URL of the leetcode question
104
+ 4. Last date that this question was attempted by the user (please note that this is not pulled from your leetcode profile, but left for you to update as you progress in solving leetcode questions)
105
+ 5. The tags associated with the problem (i.e., if the problem involves a hash map, arrays, etc...)
106
+ 6. Neetcode video link (if it exists)
107
+ 7. Solution links for the problem (if they are reachable)
108
+ 8. Companies that have asked this question recently in interviews (if they are reachable)
96
109
 
97
- ## Roadmap
110
+ ## 🛣 Roadmap
111
+ - [X] Use TQDM to show card generation progress
112
+ - [X] Add support for exporting to an excel sheet
113
+ - [X] Add support for showing neetcode solutions on the back of the card as a
98
114
  - [ ] Add support for getting the difficulty of questions
99
115
  - [ ] Add support for fetching premium questions via authentification
100
116
  - [ ] Add support for importing cards into Quizlet
101
117
  - [ ] Add support for fetching questions by topic or tag
102
- - [ ] Add support for exporting to an excel sheet
103
- - [X] Add support for showing neetcode solutions on the back of the card as a link
104
- - [ ] Add support for determining which fields to show on the card
105
- - [ ] Use TQDM to show card generation progress
106
- - [ ] Allow for the definition of custom formatters and outputs
118
+ link
119
+ - [ ] Allow for the definition of custom formatters and outputs (including which fields are included or excluded)
107
120
  - [ ] Reach 90% test coverage
108
121
 
109
- ## Other Usefull Stuff
122
+ ## 🔎 Other Usefull Stuff
110
123
  - [Remember anything with Anki](https://foggymountainpass.com/anki-essentials/)
111
124
  - [Leetcode Anki Card Generator](https://github.com/fspv/leetcode-anki)
112
125
  - [Leetcode API](https://github.com/fspv/python-leetcode)
@@ -1,26 +1,23 @@
1
- # Leetcode Study Tool
1
+ # 💻 Leetcode Study Tool
2
2
  ![Tests Status](https://github.com/johnsutor/leetcode-study-tool/workflows/Tests/badge.svg)
3
3
  ![Style Status](https://github.com/johnsutor/leetcode-study-tool/workflows/Style/badge.svg)
4
4
  [![Python Versions](https://img.shields.io/pypi/pyversions/leetcode-study-tool)](https://pypi.org/project/leetcode-study-tool/)
5
5
  [![PyPi](https://img.shields.io/pypi/v/leetcode-study-tool)](https://pypi.org/project/leetcode-study-tool/)
6
6
  ![contributions welcome](https://img.shields.io/badge/contributions-welcome-blue.svg?style=flat)
7
7
 
8
- This package lets you get grokking as quickly as possible with Leetcode. It provides a command-line tool for interracting with Leetcode to create flashcards for study,
9
- which can then be imported into Anki. Currently, this tool supports taking in a list of or popular study sets (including the [Blind 75](https://www.teamblind.com/post/New-Year-Gift---Curated-List-of-Top-75-LeetCode-Questions-to-Save-Your-Time-OaM1orEU), [Grind 75](https://www.techinterviewhandbook.org/grind75), and [Neetcode 150](https://neetcode.io/practice)) and outputting
10
- problems in a format that can be imported to Anki. These cards include three fields:
11
- 1. The front of the study card, containing the question ID, Title, URL, and problem description
12
- 2. The publicly available solutions (and NeetCode solution, if available)
13
- 3. The tags associated with the problem (i.e., if the problem involves a hash map, arrays, etc...)
8
+ ![Leetcode Study Tool Diagram](./static/leetcode_study_tool_diagram.png)
9
+
10
+ This package lets you get grokking as quickly as possible with Leetcode. It provides a command-line tool for interracting with Leetcode to create either an Excel file or Anki flashcards for study. Currently, this tool supports taking in a list of leetcode question slugs or URLs or popular study sets (including the [Blind 75](https://www.teamblind.com/post/New-Year-Gift---Curated-List-of-Top-75-LeetCode-Questions-to-Save-Your-Time-OaM1orEU), [Grind 75](https://www.techinterviewhandbook.org/grind75), and [Neetcode 150](https://neetcode.io/practice)).
14
11
 
15
- ## Why?
12
+ ## 🤔 Why?
16
13
  This package was created as an opinionated alternative to other existing packages (as listed at the bottom of this README).
17
14
 
18
- ## Installation
15
+ ## 📥 Installation
19
16
  ```shell
20
17
  $ pip install leetcode-study-tool
21
18
  ```
22
19
 
23
- ## Usage
20
+ ## 💻 Usage
24
21
  ```shell
25
22
  usage: leetcode-study-tool [-h]
26
23
  (--url URL | --file FILE | --preset {blind_75,grind_75,grind_169,neetcode_150,neetcode_all})
@@ -46,7 +43,7 @@ options:
46
43
  The language to generate problem(s) for. (default: None)
47
44
  ```
48
45
 
49
- ## Example
46
+ ## 💡 Example
50
47
  In the simplest case, if you want to [Grok](https://www.reddit.com/r/leetcode/comments/t5xqb6/how_to_use_grokking/) the most commonly asked questions, you should generate from a preset. For example, generating Anki cards from the [Grind 75](https://www.techinterviewhandbook.org/grind75) is as simple as
51
48
  ```shell
52
49
  $ leetcode-study-tool -p grind_75
@@ -59,20 +56,36 @@ which will generate the file `output.txt`. We can then open Anki to import these
59
56
 
60
57
  ![anki demo](static/anki-demo.gif)
61
58
 
59
+ ## 📒 Anki
60
+ When generating an Anki output, the resulting "cards" are saved as a `.txt` file. These cards include three fields:
61
+ 1. The front of the study card, containing the question ID, Title, URL, and problem description
62
+ 2. The publicly available solutions (and NeetCode solution, if available)
63
+ 3. The tags associated with the problem (i.e., if the problem involves a hash map, arrays, etc...)
64
+
65
+ ## 📊 Excel
66
+ When generating an Excel output, the resulting questions are saved in an `.xlsx` file. Each problem includes the following fields:
67
+ 1. ID of the leetcode question
68
+ 2. Title of the leetcode question
69
+ 3. URL of the leetcode question
70
+ 4. Last date that this question was attempted by the user (please note that this is not pulled from your leetcode profile, but left for you to update as you progress in solving leetcode questions)
71
+ 5. The tags associated with the problem (i.e., if the problem involves a hash map, arrays, etc...)
72
+ 6. Neetcode video link (if it exists)
73
+ 7. Solution links for the problem (if they are reachable)
74
+ 8. Companies that have asked this question recently in interviews (if they are reachable)
62
75
 
63
- ## Roadmap
76
+ ## 🛣 Roadmap
77
+ - [X] Use TQDM to show card generation progress
78
+ - [X] Add support for exporting to an excel sheet
79
+ - [X] Add support for showing neetcode solutions on the back of the card as a
64
80
  - [ ] Add support for getting the difficulty of questions
65
81
  - [ ] Add support for fetching premium questions via authentification
66
82
  - [ ] Add support for importing cards into Quizlet
67
83
  - [ ] Add support for fetching questions by topic or tag
68
- - [ ] Add support for exporting to an excel sheet
69
- - [X] Add support for showing neetcode solutions on the back of the card as a link
70
- - [ ] Add support for determining which fields to show on the card
71
- - [ ] Use TQDM to show card generation progress
72
- - [ ] Allow for the definition of custom formatters and outputs
84
+ link
85
+ - [ ] Allow for the definition of custom formatters and outputs (including which fields are included or excluded)
73
86
  - [ ] Reach 90% test coverage
74
87
 
75
- ## Other Usefull Stuff
88
+ ## 🔎 Other Usefull Stuff
76
89
  - [Remember anything with Anki](https://foggymountainpass.com/anki-essentials/)
77
90
  - [Leetcode Anki Card Generator](https://github.com/fspv/leetcode-anki)
78
91
  - [Leetcode API](https://github.com/fspv/python-leetcode)
@@ -99,7 +99,7 @@ LEETCODE_TO_NEETCODE = {
99
99
  "url": "https://youtube.com/watch?v=U4hFQCa1Cq0",
100
100
  },
101
101
  "118": {
102
- "title": "Pascal&#39;s Triangle - Leetcode 118 - Python",
102
+ "title": "Pascal's Triangle - Leetcode 118 - Python",
103
103
  "url": "https://youtube.com/watch?v=nPVEaB3AjUM",
104
104
  },
105
105
  "1189": {
@@ -226,7 +226,7 @@ LEETCODE_TO_NEETCODE = {
226
226
  },
227
227
  "141": {
228
228
  "title": (
229
- "Linked List Cycle - Floyd&#39;s Tortoise and Hare - Leetcode 141 -"
229
+ "Linked List Cycle - Floyd's Tortoise and Hare - Leetcode 141 -"
230
230
  " Python"
231
231
  ),
232
232
  "url": "https://youtube.com/watch?v=gBTe7lFR3vc",
@@ -246,7 +246,7 @@ LEETCODE_TO_NEETCODE = {
246
246
  },
247
247
  "1448": {
248
248
  "title": (
249
- "Microsoft&#39;s Most Asked Question 2021 - Count Good Nodes in a"
249
+ "Microsoft's Most Asked Question 2021 - Count Good Nodes in a"
250
250
  " Binary Tree - Leetcode 1448 - Python"
251
251
  ),
252
252
  "url": "https://youtube.com/watch?v=7cp5imvDzl4",
@@ -317,7 +317,7 @@ LEETCODE_TO_NEETCODE = {
317
317
  },
318
318
  "1584": {
319
319
  "title": (
320
- "Prim&#39;s Algorithm - Minimum Spanning Tree - Min Cost to Connect"
320
+ "Prim's Algorithm - Minimum Spanning Tree - Min Cost to Connect"
321
321
  " all Points - Leetcode 1584 - Python"
322
322
  ),
323
323
  "url": "https://youtube.com/watch?v=f7JOBJIC-NA",
@@ -698,7 +698,7 @@ LEETCODE_TO_NEETCODE = {
698
698
  },
699
699
  "287": {
700
700
  "title": (
701
- "Find the Duplicate Number - Floyd&#39;s Cycle Detection - Leetcode"
701
+ "Find the Duplicate Number - Floyd's Cycle Detection - Leetcode"
702
702
  " 287 - Python"
703
703
  ),
704
704
  "url": "https://youtube.com/watch?v=wjYnzkAhcNk",
@@ -1177,7 +1177,7 @@ LEETCODE_TO_NEETCODE = {
1177
1177
  "url": "https://youtube.com/watch?v=7FCemBxvGw0",
1178
1178
  },
1179
1179
  "743": {
1180
- "title": "Network Delay Time - Dijkstra&#39;s algorithm - Leetcode 743",
1180
+ "title": "Network Delay Time - Dijkstra's algorithm - Leetcode 743",
1181
1181
  "url": "https://youtube.com/watch?v=EaphyqKU4PQ",
1182
1182
  },
1183
1183
  "746": {
@@ -1218,7 +1218,7 @@ LEETCODE_TO_NEETCODE = {
1218
1218
  },
1219
1219
  "778": {
1220
1220
  "title": (
1221
- "Swim in Rising Water - Dijkstra&#39;s Algorithm - Leetcode 778 -"
1221
+ "Swim in Rising Water - Dijkstra's Algorithm - Leetcode 778 -"
1222
1222
  " Python"
1223
1223
  ),
1224
1224
  "url": "https://youtube.com/watch?v=amvrKlMLuGY",
@@ -82,9 +82,12 @@ class ProblemsCreator:
82
82
  if isinstance(input, list):
83
83
  return input
84
84
  input = html.unescape(input)
85
- input = re.sub(r"[;\n]", " ", input)
85
+ # input = input.replace(";", " ")
86
+ # input = input.replace("\n", " ")
87
+ input = re.sub(r"[;\n\r]", " ", input)
86
88
  input = input.replace("</strong>", "</strong><br>")
87
89
  input = re.sub(r"(<br>){2,}", "<br>", input)
90
+ print(input)
88
91
  return input
89
92
 
90
93
  def _save_output(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: leetcode-study-tool
3
- Version: 1.2.0
3
+ Version: 1.2.2
4
4
  Summary: A tool for studying Leetcode with Python
5
5
  Author-email: John Sutor <johnsutor3@gmail.com>
6
6
  License: MIT License
@@ -32,29 +32,26 @@ Classifier: Topic :: Education
32
32
  Description-Content-Type: text/markdown
33
33
  License-File: LICENSE.txt
34
34
 
35
- # Leetcode Study Tool
35
+ # 💻 Leetcode Study Tool
36
36
  ![Tests Status](https://github.com/johnsutor/leetcode-study-tool/workflows/Tests/badge.svg)
37
37
  ![Style Status](https://github.com/johnsutor/leetcode-study-tool/workflows/Style/badge.svg)
38
38
  [![Python Versions](https://img.shields.io/pypi/pyversions/leetcode-study-tool)](https://pypi.org/project/leetcode-study-tool/)
39
39
  [![PyPi](https://img.shields.io/pypi/v/leetcode-study-tool)](https://pypi.org/project/leetcode-study-tool/)
40
40
  ![contributions welcome](https://img.shields.io/badge/contributions-welcome-blue.svg?style=flat)
41
41
 
42
- This package lets you get grokking as quickly as possible with Leetcode. It provides a command-line tool for interracting with Leetcode to create flashcards for study,
43
- which can then be imported into Anki. Currently, this tool supports taking in a list of or popular study sets (including the [Blind 75](https://www.teamblind.com/post/New-Year-Gift---Curated-List-of-Top-75-LeetCode-Questions-to-Save-Your-Time-OaM1orEU), [Grind 75](https://www.techinterviewhandbook.org/grind75), and [Neetcode 150](https://neetcode.io/practice)) and outputting
44
- problems in a format that can be imported to Anki. These cards include three fields:
45
- 1. The front of the study card, containing the question ID, Title, URL, and problem description
46
- 2. The publicly available solutions (and NeetCode solution, if available)
47
- 3. The tags associated with the problem (i.e., if the problem involves a hash map, arrays, etc...)
42
+ ![Leetcode Study Tool Diagram](./static/leetcode_study_tool_diagram.png)
43
+
44
+ This package lets you get grokking as quickly as possible with Leetcode. It provides a command-line tool for interracting with Leetcode to create either an Excel file or Anki flashcards for study. Currently, this tool supports taking in a list of leetcode question slugs or URLs or popular study sets (including the [Blind 75](https://www.teamblind.com/post/New-Year-Gift---Curated-List-of-Top-75-LeetCode-Questions-to-Save-Your-Time-OaM1orEU), [Grind 75](https://www.techinterviewhandbook.org/grind75), and [Neetcode 150](https://neetcode.io/practice)).
48
45
 
49
- ## Why?
46
+ ## 🤔 Why?
50
47
  This package was created as an opinionated alternative to other existing packages (as listed at the bottom of this README).
51
48
 
52
- ## Installation
49
+ ## 📥 Installation
53
50
  ```shell
54
51
  $ pip install leetcode-study-tool
55
52
  ```
56
53
 
57
- ## Usage
54
+ ## 💻 Usage
58
55
  ```shell
59
56
  usage: leetcode-study-tool [-h]
60
57
  (--url URL | --file FILE | --preset {blind_75,grind_75,grind_169,neetcode_150,neetcode_all})
@@ -80,7 +77,7 @@ options:
80
77
  The language to generate problem(s) for. (default: None)
81
78
  ```
82
79
 
83
- ## Example
80
+ ## 💡 Example
84
81
  In the simplest case, if you want to [Grok](https://www.reddit.com/r/leetcode/comments/t5xqb6/how_to_use_grokking/) the most commonly asked questions, you should generate from a preset. For example, generating Anki cards from the [Grind 75](https://www.techinterviewhandbook.org/grind75) is as simple as
85
82
  ```shell
86
83
  $ leetcode-study-tool -p grind_75
@@ -93,20 +90,36 @@ which will generate the file `output.txt`. We can then open Anki to import these
93
90
 
94
91
  ![anki demo](static/anki-demo.gif)
95
92
 
93
+ ## 📒 Anki
94
+ When generating an Anki output, the resulting "cards" are saved as a `.txt` file. These cards include three fields:
95
+ 1. The front of the study card, containing the question ID, Title, URL, and problem description
96
+ 2. The publicly available solutions (and NeetCode solution, if available)
97
+ 3. The tags associated with the problem (i.e., if the problem involves a hash map, arrays, etc...)
98
+
99
+ ## 📊 Excel
100
+ When generating an Excel output, the resulting questions are saved in an `.xlsx` file. Each problem includes the following fields:
101
+ 1. ID of the leetcode question
102
+ 2. Title of the leetcode question
103
+ 3. URL of the leetcode question
104
+ 4. Last date that this question was attempted by the user (please note that this is not pulled from your leetcode profile, but left for you to update as you progress in solving leetcode questions)
105
+ 5. The tags associated with the problem (i.e., if the problem involves a hash map, arrays, etc...)
106
+ 6. Neetcode video link (if it exists)
107
+ 7. Solution links for the problem (if they are reachable)
108
+ 8. Companies that have asked this question recently in interviews (if they are reachable)
96
109
 
97
- ## Roadmap
110
+ ## 🛣 Roadmap
111
+ - [X] Use TQDM to show card generation progress
112
+ - [X] Add support for exporting to an excel sheet
113
+ - [X] Add support for showing neetcode solutions on the back of the card as a
98
114
  - [ ] Add support for getting the difficulty of questions
99
115
  - [ ] Add support for fetching premium questions via authentification
100
116
  - [ ] Add support for importing cards into Quizlet
101
117
  - [ ] Add support for fetching questions by topic or tag
102
- - [ ] Add support for exporting to an excel sheet
103
- - [X] Add support for showing neetcode solutions on the back of the card as a link
104
- - [ ] Add support for determining which fields to show on the card
105
- - [ ] Use TQDM to show card generation progress
106
- - [ ] Allow for the definition of custom formatters and outputs
118
+ link
119
+ - [ ] Allow for the definition of custom formatters and outputs (including which fields are included or excluded)
107
120
  - [ ] Reach 90% test coverage
108
121
 
109
- ## Other Usefull Stuff
122
+ ## 🔎 Other Usefull Stuff
110
123
  - [Remember anything with Anki](https://foggymountainpass.com/anki-essentials/)
111
124
  - [Leetcode Anki Card Generator](https://github.com/fspv/leetcode-anki)
112
125
  - [Leetcode API](https://github.com/fspv/python-leetcode)
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "leetcode-study-tool"
7
- version = "1.2.0"
7
+ version = "1.2.2"
8
8
  description = "A tool for studying Leetcode with Python"
9
9
  authors = [{name="John Sutor", email="johnsutor3@gmail.com" }]
10
10
  license = {file = "LICENSE.txt"}