AtCoderStudyBooster 0.3.3__py3-none-any.whl → 0.4.1__py3-none-any.whl
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.
- atcdr/download.py +139 -234
- atcdr/generate.py +19 -24
- atcdr/login.py +10 -11
- atcdr/logout.py +4 -3
- atcdr/markdown.py +9 -5
- atcdr/open.py +5 -4
- atcdr/submit.py +21 -24
- atcdr/test.py +21 -16
- atcdr/util/fileops.py +5 -4
- atcdr/util/gpt.py +10 -12
- atcdr/util/i18n.py +317 -0
- atcdr/util/parse.py +16 -11
- atcdr/util/problem.py +29 -75
- atcdr/util/session.py +15 -14
- atcoderstudybooster-0.4.1.dist-info/METADATA +248 -0
- atcoderstudybooster-0.4.1.dist-info/RECORD +22 -0
- atcoderstudybooster-0.3.3.dist-info/METADATA +0 -213
- atcoderstudybooster-0.3.3.dist-info/RECORD +0 -21
- {atcoderstudybooster-0.3.3.dist-info → atcoderstudybooster-0.4.1.dist-info}/WHEEL +0 -0
- {atcoderstudybooster-0.3.3.dist-info → atcoderstudybooster-0.4.1.dist-info}/entry_points.txt +0 -0
@@ -0,0 +1,248 @@
|
|
1
|
+
Metadata-Version: 2.3
|
2
|
+
Name: AtCoderStudyBooster
|
3
|
+
Version: 0.4.1
|
4
|
+
Summary: A tool to download and manage AtCoder problems.
|
5
|
+
Project-URL: Homepage, https://github.com/yuta6/AtCoderStudyBooster
|
6
|
+
Author-email: yuta6 <46110512+yuta6@users.noreply.github.com>
|
7
|
+
License: MIT
|
8
|
+
Requires-Python: >=3.8
|
9
|
+
Requires-Dist: beautifulsoup4
|
10
|
+
Requires-Dist: click-aliases>=1.0.5
|
11
|
+
Requires-Dist: markdownify==0.13.1
|
12
|
+
Requires-Dist: pywebview>=5.4
|
13
|
+
Requires-Dist: questionary>=2.0.1
|
14
|
+
Requires-Dist: requests
|
15
|
+
Requires-Dist: rich-click>=1.8.8
|
16
|
+
Requires-Dist: rich>=13.7.1
|
17
|
+
Requires-Dist: tiktoken
|
18
|
+
Requires-Dist: types-beautifulsoup4>=4.12.0.20240511
|
19
|
+
Requires-Dist: types-requests>=2.32.0.20240712
|
20
|
+
Description-Content-Type: text/markdown
|
21
|
+
|
22
|
+
# AtCoderStudyBooster
|
23
|
+
|
24
|
+
[日本語版 README はこちら](README.ja.md)
|
25
|
+
|
26
|
+
## Overview
|
27
|
+
|
28
|
+
🚧 This project is still in experimental stage. We are continuously adding features to help with daily AtCoder practice.
|
29
|
+
|
30
|
+

|
31
|
+
|
32
|
+
AtCoderStudyBooster is a CLI tool designed to accelerate your AtCoder learning journey. It supports downloading problems locally, testing, submitting, and generating solutions. Python installation is required. If you have Python installed, you can install this tool with:
|
33
|
+
|
34
|
+
```sh
|
35
|
+
pip install AtCoderStudyBooster
|
36
|
+
```
|
37
|
+
|
38
|
+
(Python 3.8 or higher is required)
|
39
|
+
|
40
|
+
Even after CAPTCHA authentication was introduced, you can still login and submit semi-automatically from CLI. However, you need to manually solve the CAPTCHA through GUI. This tool does not bypass CAPTCHA authentication.
|
41
|
+
|
42
|
+
This project is strongly influenced by:
|
43
|
+
- [online-judge-tools](https://github.com/online-judge-tools)
|
44
|
+
- [atcoder-cli](https://github.com/Tatamo/atcoder-cli)
|
45
|
+
|
46
|
+
## Use Cases
|
47
|
+
|
48
|
+
Let's start by using the `download` command to download problems locally.
|
49
|
+
|
50
|
+
### 1. Download a Specific Contest
|
51
|
+
|
52
|
+
Examples for downloading problems from a single contest.
|
53
|
+
|
54
|
+
#### Download all problems from ABC350
|
55
|
+
```sh
|
56
|
+
❯ atcdr download abc350
|
57
|
+
```
|
58
|
+
|
59
|
+
#### Download problems A-D from ABC350
|
60
|
+
```sh
|
61
|
+
❯ atcdr download abc350 {A..D}
|
62
|
+
```
|
63
|
+
|
64
|
+
#### Download Typical 90 Problems
|
65
|
+
```sh
|
66
|
+
❯ atcdr download typical90
|
67
|
+
```
|
68
|
+
|
69
|
+
### 2. Batch Download Multiple Contests
|
70
|
+
|
71
|
+
Examples for downloading multiple contests at once. Utilizes bash brace expansion.
|
72
|
+
|
73
|
+
#### All problems from ABC001 to ABC010
|
74
|
+
```sh
|
75
|
+
❯ atcdr download abc{001..010}
|
76
|
+
```
|
77
|
+
|
78
|
+
#### Specific problems from multiple contests
|
79
|
+
```sh
|
80
|
+
❯ atcdr download abc{301..310} {A..C}
|
81
|
+
```
|
82
|
+
|
83
|
+
### 3. Download Specific Difficulty Problems
|
84
|
+
|
85
|
+
Examples for collecting problems of the same difficulty across different contests.
|
86
|
+
|
87
|
+
#### Download all A problems from ABC301-310
|
88
|
+
```sh
|
89
|
+
❯ atcdr download A abc{301..310}
|
90
|
+
```
|
91
|
+
|
92
|
+
This creates the following directory structure:
|
93
|
+
```
|
94
|
+
A/
|
95
|
+
├── abc301/
|
96
|
+
│ ├── Problem.html
|
97
|
+
│ └── Problem.md
|
98
|
+
├── abc302/
|
99
|
+
│ ├── Problem.html
|
100
|
+
│ └── Problem.md
|
101
|
+
└── ...
|
102
|
+
```
|
103
|
+
|
104
|
+
#### Download all B problems from ABC300-302
|
105
|
+
```sh
|
106
|
+
❯ atcdr download B abc{300..302}
|
107
|
+
```
|
108
|
+
|
109
|
+
Creates:
|
110
|
+
```
|
111
|
+
B/
|
112
|
+
├── abc300/
|
113
|
+
│ ├── Problem.html
|
114
|
+
│ └── Problem.md
|
115
|
+
├── abc301/
|
116
|
+
│ ├── Problem.html
|
117
|
+
│ └── Problem.md
|
118
|
+
└── abc302/
|
119
|
+
├── Problem.html
|
120
|
+
└── Problem.md
|
121
|
+
```
|
122
|
+
This directory structure allows you to efficiently practice problems of the same difficulty level in one place.
|
123
|
+
|
124
|
+
### Solving Problems
|
125
|
+
|
126
|
+
You can view problems by opening Markdown or HTML files with VS Code's HTML Preview or Markdown Preview. In VS Code, you can display the text editor on the left and work on problems while viewing them on the right.
|
127
|
+
|
128
|
+
### Testing Samples Locally
|
129
|
+
|
130
|
+
Navigate to the folder where you downloaded the problem.
|
131
|
+
|
132
|
+
```sh
|
133
|
+
❯ cd abc224/B
|
134
|
+
```
|
135
|
+
|
136
|
+
After creating your solution file in the folder, run the test command to test against sample cases.
|
137
|
+
|
138
|
+
```sh
|
139
|
+
~/.../abc224/B
|
140
|
+
❯ atcdr t
|
141
|
+
```
|
142
|
+
|
143
|
+
For Wrong Answer (WA) cases, the display looks like this:
|
144
|
+
|
145
|
+
### Submitting Solutions
|
146
|
+
|
147
|
+
```sh
|
148
|
+
~/.../abc224/B
|
149
|
+
❯ atcdr s
|
150
|
+
```
|
151
|
+
|
152
|
+
Running this command will submit your solution. Login to AtCoder website is required for submission.
|
153
|
+
|
154
|
+
### Generating Solutions with GPT
|
155
|
+
|
156
|
+
```sh
|
157
|
+
~/.../abc224/B
|
158
|
+
❯ atcdr g
|
159
|
+
```
|
160
|
+
|
161
|
+
This command generates a solution using OpenAI's GPT model. An OpenAI API key is required. On first run, you'll be prompted to input your API key.
|
162
|
+
|
163
|
+
### Login to AtCoder
|
164
|
+
|
165
|
+
```sh
|
166
|
+
❯ atcdr login
|
167
|
+
```
|
168
|
+
|
169
|
+
Logs into AtCoder. A browser window will open for CAPTCHA verification. After solving the CAPTCHA, login completes automatically.
|
170
|
+
|
171
|
+
### Create Markdown File
|
172
|
+
|
173
|
+
```sh
|
174
|
+
~/.../abc224/B
|
175
|
+
❯ atcdr m
|
176
|
+
```
|
177
|
+
|
178
|
+
Creates a Markdown file from the HTML file in the current directory. This command is automatically executed during `atcdr download`.
|
179
|
+
|
180
|
+
### Open Problem in Browser
|
181
|
+
|
182
|
+
```sh
|
183
|
+
~/.../abc224/B
|
184
|
+
❯ atcdr o
|
185
|
+
```
|
186
|
+
|
187
|
+
Opens the problem page in your browser. Convenient for checking detailed problem statements or constraints.
|
188
|
+
|
189
|
+
## Commands
|
190
|
+
|
191
|
+
| Command | Alias | Description |
|
192
|
+
|---------|-------|-------------|
|
193
|
+
| `atcdr download` | `atcdr d` | Download problems |
|
194
|
+
| `atcdr test` | `atcdr t` | Test with sample cases |
|
195
|
+
| `atcdr submit` | `atcdr s` | Submit solution |
|
196
|
+
| `atcdr generate` | `atcdr g` | Generate solution with GPT |
|
197
|
+
| `atcdr login` | - | Login to AtCoder |
|
198
|
+
| `atcdr logout` | - | Logout from AtCoder |
|
199
|
+
| `atcdr markdown` | `atcdr m` | Create Markdown file |
|
200
|
+
| `atcdr open` | `atcdr o` | Open problem in browser |
|
201
|
+
|
202
|
+
## GPT Code Generation
|
203
|
+
|
204
|
+
`atcdr generate` command uses GPT to generate solutions. It requires an OpenAI API key.
|
205
|
+
|
206
|
+
### Generate Solution with Test
|
207
|
+
|
208
|
+
By default, generated code is tested against sample cases:
|
209
|
+
|
210
|
+
```sh
|
211
|
+
~/.../abc224/B
|
212
|
+
❯ atcdr generate
|
213
|
+
```
|
214
|
+
|
215
|
+
### Specify Language
|
216
|
+
|
217
|
+
Specify the programming language for generation. Default is Python.
|
218
|
+
|
219
|
+
```sh
|
220
|
+
~/.../abc224/B
|
221
|
+
❯ atcdr generate --lang cpp
|
222
|
+
```
|
223
|
+
|
224
|
+
Supported languages:
|
225
|
+
- `python` (default)
|
226
|
+
- `cpp`
|
227
|
+
- `java`
|
228
|
+
- `rust`
|
229
|
+
|
230
|
+
### Specify GPT Model
|
231
|
+
|
232
|
+
```sh
|
233
|
+
~/.../abc224/B
|
234
|
+
❯ atcdr generate --gpt gpt-4o
|
235
|
+
```
|
236
|
+
|
237
|
+
Available models:
|
238
|
+
- `gpt-4o-mini` (default) - Fast and cost-effective
|
239
|
+
- `gpt-4o` - More accurate but slower
|
240
|
+
|
241
|
+
### Generate Code Only Without Testing
|
242
|
+
|
243
|
+
To generate code without testing:
|
244
|
+
|
245
|
+
```sh
|
246
|
+
~/.../abc224/B
|
247
|
+
❯ atcdr generate --lang rust --without_test
|
248
|
+
```
|
@@ -0,0 +1,22 @@
|
|
1
|
+
atcdr/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
|
+
atcdr/cli.py,sha256=xiCnGf14VHtLcRlVHXNpLKW3FIxOHS2duTRDTsG8a5w,2595
|
3
|
+
atcdr/download.py,sha256=sMILF_FKLTe3OBk_ZnA8pzvnlGz68jrHaU-lxDAy6pA,7678
|
4
|
+
atcdr/generate.py,sha256=FBOPJ2wU827GzkmYxsFrZKJYKXVC_h675_9-mZ7wRdc,7899
|
5
|
+
atcdr/login.py,sha256=3lyuo19EKOj3eaiOcOUnrkkgEEqWO0D1EnjLPKNxkPU,4655
|
6
|
+
atcdr/logout.py,sha256=XwyR5oSipg-iQzfdfkx4Cs0Q88ZWJ548FmdhlIhpUL8,777
|
7
|
+
atcdr/markdown.py,sha256=x0OORs1eun14c0XZWUap6HljTHhJ6UM6OfkJlDXeeSo,1587
|
8
|
+
atcdr/open.py,sha256=bxfoUGO0yo3BK1C9iswuN65GW_wp6OEa58IX7JgWAFU,1319
|
9
|
+
atcdr/submit.py,sha256=vVGZ-04K7NtjL5jv79Wx8IWosVK44XwEDCK19QAkKAo,9604
|
10
|
+
atcdr/test.py,sha256=tbjkBETQG48AuH1F_hBlla3lpfcQiVvFO1YjZ2QDB9A,13518
|
11
|
+
atcdr/util/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
12
|
+
atcdr/util/fileops.py,sha256=kvQDO85Ii5n__Wo8KmoE6Ecgbxx9MfmF7BDYz1sL5Sk,3200
|
13
|
+
atcdr/util/filetype.py,sha256=pceB08trkwNkdzKJx4fFfOWpz9jYMBRDwXLW4un0sRM,2254
|
14
|
+
atcdr/util/gpt.py,sha256=GNJqgV-eVQlxkQ3tnwNiGec27FV6O4QSpwaDiXbFM0w,3392
|
15
|
+
atcdr/util/i18n.py,sha256=WRptkwqRSYSpA7L2CeWwv4ufv_uK65KjnorAcOTOot8,17949
|
16
|
+
atcdr/util/parse.py,sha256=fo_LtEXLwz0g3871iUKZFHMitxbBh-bz9uBndpKfQeI,7130
|
17
|
+
atcdr/util/problem.py,sha256=ZLD-WvhC5SC6TGbyqmiOpTVZVSn-KuhOazWvAvHdyqI,1222
|
18
|
+
atcdr/util/session.py,sha256=xct266SY7QuC3bc1IKlkVginttvXE_qK5tepUx6hfWE,4820
|
19
|
+
atcoderstudybooster-0.4.1.dist-info/METADATA,sha256=yV1OZY9piILs7WW_qfKEsGk_az03Vh4ehgrbq1iO-nQ,6077
|
20
|
+
atcoderstudybooster-0.4.1.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
|
21
|
+
atcoderstudybooster-0.4.1.dist-info/entry_points.txt,sha256=-stL-IwnheQGlYAdm82RuZu8CGgSakU0aVIVlA7DmFA,40
|
22
|
+
atcoderstudybooster-0.4.1.dist-info/RECORD,,
|
@@ -1,213 +0,0 @@
|
|
1
|
-
Metadata-Version: 2.3
|
2
|
-
Name: AtCoderStudyBooster
|
3
|
-
Version: 0.3.3
|
4
|
-
Summary: A tool to download and manage AtCoder problems.
|
5
|
-
Project-URL: Homepage, https://github.com/yuta6/AtCoderStudyBooster
|
6
|
-
Author-email: yuta6 <46110512+yuta6@users.noreply.github.com>
|
7
|
-
License: MIT
|
8
|
-
Requires-Python: >=3.8
|
9
|
-
Requires-Dist: beautifulsoup4
|
10
|
-
Requires-Dist: click-aliases>=1.0.5
|
11
|
-
Requires-Dist: markdownify==0.13.1
|
12
|
-
Requires-Dist: pywebview>=5.4
|
13
|
-
Requires-Dist: questionary>=2.0.1
|
14
|
-
Requires-Dist: requests
|
15
|
-
Requires-Dist: rich-click>=1.8.8
|
16
|
-
Requires-Dist: rich>=13.7.1
|
17
|
-
Requires-Dist: tiktoken
|
18
|
-
Requires-Dist: types-beautifulsoup4>=4.12.0.20240511
|
19
|
-
Requires-Dist: types-requests>=2.32.0.20240712
|
20
|
-
Description-Content-Type: text/markdown
|
21
|
-
|
22
|
-
# AtCoderStudyBooster
|
23
|
-
|
24
|
-
## 概要
|
25
|
-
|
26
|
-
🚧 このプロジェクトはまだ実験段階です。日々のAtCoder学習に役立つ機能を順次追加しています。
|
27
|
-
|
28
|
-
AtCoderStudyBoosterはAtCoderの学習を加速させるためのCLIツールです。問題をローカルにダウンロードし、テスト、提出、解答の作成をサポートするツールです。Pythonが入っていることが必須です。Pythonが入っている環境なら、`pip install AtCoderStudyBooster`でインストールできます。(Python3.8以上が必要です)
|
29
|
-
|
30
|
-
キャプチャ認証が導入されたあとでも、CLIから半自動でログイン&提出できます。ただしキャプチャをGUIから人力で解く必要があります。キャプチャー認証をバイパスするものではありません。
|
31
|
-
|
32
|
-
このツールは以下のプロジェクトに強く影響を受けています。
|
33
|
-
[online-judge-tools](https://github.com/online-judge-tools)
|
34
|
-
[atcoder-cli](https://github.com/Tatamo/atcoder-cli)
|
35
|
-
|
36
|
-
|
37
|
-
## 利用ケース
|
38
|
-
|
39
|
-
まずは`download`コマンドを利用して問題をローカルにダウンロードしてみましょう。
|
40
|
-
|
41
|
-
### B問題の練習したい場合
|
42
|
-
|
43
|
-
ABCコンテストの223から226のB問題だけを集中的に練習したい場合、次のコマンドを実行します。
|
44
|
-
|
45
|
-
```sh
|
46
|
-
❯ atcdr download B 223..226
|
47
|
-
```
|
48
|
-
|
49
|
-
コマンドを実行すると,次のようなフォルダーを作成して、各々のフォルダーに問題をダウンロードします。
|
50
|
-
|
51
|
-
```css
|
52
|
-
B
|
53
|
-
├── 223
|
54
|
-
│ ├── StringShifting.html
|
55
|
-
│ └── StringShifting.md
|
56
|
-
├── 224
|
57
|
-
│ ├── Mongeness.html
|
58
|
-
│ └── Mongeness.md
|
59
|
-
├── 225
|
60
|
-
│ ├── StarorNot.html
|
61
|
-
│ └── StarorNot.md
|
62
|
-
└── 226
|
63
|
-
├── CountingArrays.html
|
64
|
-
└── CountingArrays.md
|
65
|
-
```
|
66
|
-
|
67
|
-
### 特定のコンテストの問題に取り組みたい場合
|
68
|
-
|
69
|
-
```sh
|
70
|
-
❯ atcdr download 223..225 A..C
|
71
|
-
```
|
72
|
-
のように実行すると以下のようなフォルダーを生成します.
|
73
|
-
|
74
|
-
```css
|
75
|
-
.
|
76
|
-
├── 223
|
77
|
-
│ ├── A
|
78
|
-
│ │ ├── ExactPrice.html
|
79
|
-
│ │ └── ExactPrice.md
|
80
|
-
│ ├── B
|
81
|
-
│ │ ├── StringShifting.html
|
82
|
-
│ │ └── StringShifting.md
|
83
|
-
│ └── C
|
84
|
-
│ ├── Doukasen.html
|
85
|
-
│ └── Doukasen.md
|
86
|
-
├── 224
|
87
|
-
│ ├── A
|
88
|
-
│ │ ├── Tires.html
|
89
|
-
│ │ └── Tires.md
|
90
|
-
│ ├── B
|
91
|
-
│ │ ├── Mongeness.html
|
92
|
-
│ │ └── Mongeness.md
|
93
|
-
│ └── C
|
94
|
-
│ ├── Triangle.html
|
95
|
-
│ └── Triangle.md
|
96
|
-
└── 225
|
97
|
-
├── A
|
98
|
-
│ ├── DistinctStrings.html
|
99
|
-
│ └── DistinctStrings.md
|
100
|
-
├── B
|
101
|
-
│ ├── StarorNot.html
|
102
|
-
│ └── StarorNot.md
|
103
|
-
└── C
|
104
|
-
├── CalendarValidator.html
|
105
|
-
└── CalendarValidator.md
|
106
|
-
```
|
107
|
-
|
108
|
-
### 問題を解く
|
109
|
-
|
110
|
-
MarkdownファイルあるいはHTMLファイルをVS CodeのHTML Preview, Markdown Previewで開くと問題を確認できます。VS Codeで開くと左側にテキストエディターを表示して、右側で問題をみながら問題に取り組めます。
|
111
|
-
|
112
|
-

|
113
|
-
|
114
|
-
### サンプルをローカルでテストする
|
115
|
-
|
116
|
-
問題をダウンロードしたフォルダーに移動します。
|
117
|
-
|
118
|
-
```sh
|
119
|
-
❯ cd 224/B
|
120
|
-
```
|
121
|
-
|
122
|
-
移動したフォルダーで解答ファイルを作成後をtestコマンドを実行すると, サンプルケースをテストします。
|
123
|
-
|
124
|
-
```sh
|
125
|
-
~/.../224/B
|
126
|
-
❯ atcdr t
|
127
|
-
```
|
128
|
-
|
129
|
-

|
130
|
-
|
131
|
-
WAの場合は以下のような表示になります。
|
132
|
-
|
133
|
-

|
134
|
-
|
135
|
-
|
136
|
-
### 提出する
|
137
|
-
|
138
|
-
```sh
|
139
|
-
~/.../224/B
|
140
|
-
❯ atcdr s
|
141
|
-
```
|
142
|
-
を実行すると, 提出することができます。提出にはAtCoderのサイトへのログインが必要です。
|
143
|
-
|
144
|
-
### 解答をGPTで生成する
|
145
|
-
|
146
|
-
```sh
|
147
|
-
~/.../224/B
|
148
|
-
❯ atcdr g
|
149
|
-
```
|
150
|
-
で解答をGPTで生成します。Chat GPTのAPIキーが必要です。さらに、生成されたファイルはサンプルケースが自動でテストされ、**テストをパスしなかった場合、テスト結果がGPTにフィードバックされ解答が再生成**されます。
|
151
|
-
|
152
|
-
GPTとプログラムとのやり取りのログはJSONファイルで保存されます。
|
153
|
-
|
154
|
-
## 解答生成機能generateコマンドに関する注意点
|
155
|
-
|
156
|
-
[AtCoder生成AI対策ルール](https://info.atcoder.jp/entry/llm-rules-ja)によるとAtCoder Beginner Contest(以下、ABCとする)および AtCoder Regular Contest (Div. 2) においてに問題文を生成AIに直接与えることは禁止されています。ただし、このルールは過去問を練習している際には適用されません。 該当のコンテスト中にこの機能を使用しないでください。
|
157
|
-
|
158
|
-
## その他の機能
|
159
|
-
|
160
|
-
### markdownコマンド
|
161
|
-
|
162
|
-
完全なCLI環境方向けのコマンドです。
|
163
|
-
```sh
|
164
|
-
~/.../224/B
|
165
|
-
❯ atcdr md
|
166
|
-
```
|
167
|
-
を実行すると, 問題をプリントします。
|
168
|
-
|
169
|
-

|
170
|
-
|
171
|
-
### 複数のファイルを一度にテスト
|
172
|
-
|
173
|
-
```sh
|
174
|
-
~/.../224/B
|
175
|
-
❯ atcdr t *.py
|
176
|
-
```
|
177
|
-
でフォルダー内にあるすべてのPythonファイルを一度にテストします。
|
178
|
-
```sh
|
179
|
-
~/.../224/B
|
180
|
-
❯ atcdr t mon.py mon.c mon.cpp
|
181
|
-
```
|
182
|
-
|
183
|
-
フォルダー内に複数ファイルある場合は、インタラクティブに選択できます。
|
184
|
-
```sh
|
185
|
-
~/.../224/B
|
186
|
-
❯ atcdr t
|
187
|
-
```
|
188
|
-
|
189
|
-
```sh
|
190
|
-
~/.../224/B
|
191
|
-
❯ atcdr t
|
192
|
-
複数のファイルが見つかりました.ファイルを選択してください:
|
193
|
-
十字キーで移動, [enter]で実行
|
194
|
-
❯❯❯ mon.py
|
195
|
-
mon.c
|
196
|
-
mon.cpp
|
197
|
-
```
|
198
|
-
|
199
|
-
### プログラミング言語を指定してコードを生成
|
200
|
-
|
201
|
-
`--lang`オプションを使うと、生成したいプログラミング言語を指定できます。
|
202
|
-
```sh
|
203
|
-
~/.../224/B
|
204
|
-
❯ atcdr generate --lang rust
|
205
|
-
```
|
206
|
-
### テストをせずにコードのみ生成
|
207
|
-
|
208
|
-
デフォルトで`atcdr generate`コマンドは生成されたコードをテストしますが、テストせずにコードのみ生成できます。
|
209
|
-
|
210
|
-
```sh
|
211
|
-
~/.../224/B
|
212
|
-
❯ atcdr generate --lang rust --without_test
|
213
|
-
```
|
@@ -1,21 +0,0 @@
|
|
1
|
-
atcdr/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
|
-
atcdr/cli.py,sha256=xiCnGf14VHtLcRlVHXNpLKW3FIxOHS2duTRDTsG8a5w,2595
|
3
|
-
atcdr/download.py,sha256=gJ5ZPQJd06fxWOUzC_GFBY-d7KIyaURoPwO86_QdU4A,11711
|
4
|
-
atcdr/generate.py,sha256=i-rznjOQpBcAmlI0CGGC8CEY3Nx35SoxQgGaPSh6Oz8,8183
|
5
|
-
atcdr/login.py,sha256=gro9gj-nF4pGz4KepkaNSMj8PRGdSJtaVcBe7YKUPzU,4697
|
6
|
-
atcdr/logout.py,sha256=WYFifFDZtdcFZ0z3BhqsmdK_JbufjmBdF4q5dDkLbHQ,753
|
7
|
-
atcdr/markdown.py,sha256=RpYdXMWgBd2qcMj-WmUrSyF0VdLfyUms-FsTRXfdgRw,1485
|
8
|
-
atcdr/open.py,sha256=aRmhg7_TcZU6iPBM0u7lUQhTpPF5Eo227MxS3JUSm1M,1293
|
9
|
-
atcdr/submit.py,sha256=T579xpIyLeXp69D8UW_2mNC8vcjJ3d-iFT9rJvoVJ7I,9975
|
10
|
-
atcdr/test.py,sha256=y9ENvL4Gdirup07tfFBjJJXA-HeiWZpSW1ncpNwiKOs,13672
|
11
|
-
atcdr/util/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
12
|
-
atcdr/util/fileops.py,sha256=jxJ_d-R3XG-CLQemwwxgeNQcvNAE_7Q-3nOQ1npG3ig,3293
|
13
|
-
atcdr/util/filetype.py,sha256=pceB08trkwNkdzKJx4fFfOWpz9jYMBRDwXLW4un0sRM,2254
|
14
|
-
atcdr/util/gpt.py,sha256=vH10Waa7KXlz6-5pEUBuIbxTbDH3Hys7k9Tt7prvFX4,3772
|
15
|
-
atcdr/util/parse.py,sha256=SJ4khlH5iWaSwyORmQLi84npMwh5u2omCeg0q7ScEAE,6974
|
16
|
-
atcdr/util/problem.py,sha256=wEoMC5KVQu5l-i4V-ZCR30Z30Zov0VCNtLVIbL-0iI0,2594
|
17
|
-
atcdr/util/session.py,sha256=LwlSN86sfnkE9a-opL4qvKYHsCgiMy7eFCdcXdo79eg,4889
|
18
|
-
atcoderstudybooster-0.3.3.dist-info/METADATA,sha256=4_jttlJ8DMACriCozvDLlmhEWoUM91EL9YdpMEkjbOI,6836
|
19
|
-
atcoderstudybooster-0.3.3.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
|
20
|
-
atcoderstudybooster-0.3.3.dist-info/entry_points.txt,sha256=-stL-IwnheQGlYAdm82RuZu8CGgSakU0aVIVlA7DmFA,40
|
21
|
-
atcoderstudybooster-0.3.3.dist-info/RECORD,,
|
File without changes
|
{atcoderstudybooster-0.3.3.dist-info → atcoderstudybooster-0.4.1.dist-info}/entry_points.txt
RENAMED
File without changes
|