Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 51aa29d

Browse files
committed
README.md added
1 parent 62fb7ee commit 51aa29d

File tree

4 files changed

+56
-0
lines changed

4 files changed

+56
-0
lines changed

README.md

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
<img height="250" src="./images/test.png" width="800"/>
2+
3+
> >>> **_leetcode.py_** is a Python command-line tool that simplifies your LeetCode journey by providing a seamless interface to access and solve LeetCode problems effortlessly.
4+
5+
## Features
6+
7+
* **Problem Fetching:** LeetCode.py fetches the problem details directly from `leetcodeDb.json` ~~LeetCode's official API, allowing you to access all the necessary information about a problem~~.
8+
9+
* **Code Snippet Retrieval:** With LeetCode.py, you can easily retrieve code snippets for a specific problem.
10+
11+
* **Code Editing:** You can modify and edit the code directly within the terminal, saving you the hassle of switching between multiple applications.
12+
13+
* **ASCII Art:** LeetCode.py provides a beautiful ASCII art for each problem, making your coding experience more enjoyable.
14+
15+
* **Language Support:** LeetCode.py supports only **Python**.
16+
17+
### Installation
18+
```
19+
git clone https://github.com/hrdkmishra/leetcode.py.git
20+
cd leetcode.py
21+
pip install -r requirements.txt
22+
```
23+
24+
### Usage
25+
26+
First you need to enter your leetcode session and crsf token
27+
```
28+
python leetcode.py
29+
```
30+
to fetch the problem
31+
```
32+
python leetcode.py -q/--question <question_number>
33+
```
34+
![img_1.png](images/img_1.png)
35+
36+
to fetch problems in range
37+
```
38+
python leetcode.py -q/--question <question_number>:<question_number>
39+
```
40+
![](C:\Users\hardik\Downloads\image.png)
41+
42+
to solve the problem
43+
```
44+
python leetcode.py -s/--solve <question_number>
45+
```
46+
![img.png](images/img.png)
47+
48+
## Features to be added
49+
50+
1. [ ] code submission
51+
2. [ ] testing the user code
52+
3. [ ] code submission status
53+
4. [ ] code submission result
54+
5. [ ] code submission result details
55+
6. [ ] -h/--help
56+
7. [ ] color theme

images/img.png

84.8 KB
Loading

images/img_1.png

5.91 KB
Loading

images/test.png

12.9 KB
Loading

0 commit comments

Comments
 (0)