codehood-cli 0.5.0__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.
Files changed (71) hide show
  1. codehood/__init__.py +0 -0
  2. codehood/__main__.py +4 -0
  3. codehood/actions/__init__.py +0 -0
  4. codehood/actions/base.py +119 -0
  5. codehood/actions/resources.py +30 -0
  6. codehood/api/__init__.py +0 -0
  7. codehood/api/base.py +256 -0
  8. codehood/api/generate.py +1370 -0
  9. codehood/api/generated.py +3818 -0
  10. codehood/api/openapi.py +134 -0
  11. codehood/api/pages.py +53 -0
  12. codehood/cli/__init__.py +64 -0
  13. codehood/cli/api.py +422 -0
  14. codehood/cli/attendance.py +136 -0
  15. codehood/cli/auth.py +106 -0
  16. codehood/cli/base.py +42 -0
  17. codehood/cli/chill.py +52 -0
  18. codehood/cli/exam.py +107 -0
  19. codehood/cli/grades.py +185 -0
  20. codehood/cli/init.py +161 -0
  21. codehood/cli/push.py +609 -0
  22. codehood/cli/show.py +77 -0
  23. codehood/cli/uitils.py +26 -0
  24. codehood/functional.py +40 -0
  25. codehood/globs.py +71 -0
  26. codehood/grades.py +74 -0
  27. codehood/hypothesis.py +274 -0
  28. codehood/models/__init__.py +0 -0
  29. codehood/models/base.py +15 -0
  30. codehood/models/repo.py +187 -0
  31. codehood/models/validators.py +177 -0
  32. codehood/push/__init__.py +225 -0
  33. codehood/push/base.py +216 -0
  34. codehood/push/calendar.py +664 -0
  35. codehood/push/errors.py +136 -0
  36. codehood/push/exam.py +636 -0
  37. codehood/push/exclude.py +60 -0
  38. codehood/push/grades.py +455 -0
  39. codehood/push/hook.py +48 -0
  40. codehood/push/links.py +614 -0
  41. codehood/push/ours.py +78 -0
  42. codehood/push/plan.py +1981 -0
  43. codehood/push/project.py +272 -0
  44. codehood/push/question.py +338 -0
  45. codehood/push/report.py +244 -0
  46. codehood/push/repository.py +326 -0
  47. codehood/push/resource.py +576 -0
  48. codehood/push/run.py +1275 -0
  49. codehood/push/unconsumed.py +208 -0
  50. codehood/push/wire.py +222 -0
  51. codehood/py.typed +0 -0
  52. codehood/repo/__init__.py +62 -0
  53. codehood/repo/_config.py +28 -0
  54. codehood/repo/_layout.py +132 -0
  55. codehood/repo/_scaffold.py +244 -0
  56. codehood/repo/diff.py +71 -0
  57. codehood/repo/file_tracker.py +124 -0
  58. codehood/theme.py +101 -0
  59. codehood/widgets/__init__.py +0 -0
  60. codehood/widgets/mascot.py +76 -0
  61. codehood/widgets/questions/__init__.py +65 -0
  62. codehood/widgets/questions/base.py +119 -0
  63. codehood/widgets/questions/controls.py +194 -0
  64. codehood/widgets/questions/fill_in.py +81 -0
  65. codehood/widgets/questions/responses.py +137 -0
  66. codehood/widgets/questions/simple.py +117 -0
  67. codehood_cli-0.5.0.dist-info/METADATA +294 -0
  68. codehood_cli-0.5.0.dist-info/RECORD +71 -0
  69. codehood_cli-0.5.0.dist-info/WHEEL +4 -0
  70. codehood_cli-0.5.0.dist-info/entry_points.txt +4 -0
  71. codehood_cli-0.5.0.dist-info/licenses/LICENSE +21 -0
@@ -0,0 +1,294 @@
1
+ Metadata-Version: 2.4
2
+ Name: codehood-cli
3
+ Version: 0.5.0
4
+ Summary: Command line client for Codehood, an LMS for geeky types.
5
+ Author: Fábio Macêdo Mendes
6
+ Author-email: Fábio Macêdo Mendes <fabiomacedomendes@gmail.com>
7
+ License-Expression: MIT
8
+ License-File: LICENSE
9
+ Requires-Dist: httpx>=0.28.1
10
+ Requires-Dist: mdq>=0.2.0
11
+ Requires-Dist: pathspec>=1.1.1
12
+ Requires-Dist: pydantic>=2.13.5
13
+ Requires-Dist: pyyaml>=6.0.3
14
+ Requires-Dist: rich>=15.0.0
15
+ Requires-Dist: textual>=8.2.8
16
+ Requires-Dist: tomlkit>=0.15.1
17
+ Requires-Dist: typer>=0.27.2
18
+ Requires-Python: >=3.13
19
+ Project-URL: Homepage, https://github.com/fabiommendes/codehood
20
+ Project-URL: Source, https://github.com/fabiommendes/codehood/tree/main/cli
21
+ Project-URL: Issues, https://github.com/fabiommendes/codehood/issues
22
+ Project-URL: Changelog, https://github.com/fabiommendes/codehood/blob/main/cli/CHANGELOG.md
23
+ Description-Content-Type: text/markdown
24
+
25
+ # Codehood CLI
26
+
27
+ This is the command line interface for Codehood. It can be used by instructors
28
+ or students to manage their Codehood projects and assignments.
29
+
30
+ ## Installation
31
+
32
+ ```bash
33
+ uv tool install codehood-cli # or: pipx install codehood-cli
34
+ ```
35
+
36
+ It installs two commands, `codehood` and its short alias `ch`. Python 3.13 or
37
+ later is required.
38
+
39
+ To work on the CLI itself, clone the
40
+ [Codehood repository](https://github.com/fabiommendes/codehood) with
41
+ [mdq](https://github.com/fabiommendes/mdq-spec) checked out next to it:
42
+
43
+ ```bash
44
+ git clone https://github.com/fabiommendes/codehood.git
45
+ git clone https://github.com/fabiommendes/mdq-spec.git mdq
46
+ uv tool install --editable codehood/cli
47
+ ```
48
+
49
+
50
+ ## For instructors
51
+
52
+ In Codehood, you manage your course in a local repository, possibly under
53
+ version control, and then push changes to the Codehood server. Your local files
54
+ are the source of truth, and so you must init the course repository before
55
+ anything.
56
+
57
+ ```bash
58
+ codehood init
59
+ ```
60
+
61
+ It asks for the discipline, your username, the edition and the server, and
62
+ creates the following folder structure in your current working directory:
63
+
64
+ ```
65
+ ├── .local/codehood/
66
+ ├── questions/
67
+ │ └── example.md
68
+ ├── exams/
69
+ │ └── example.md
70
+ ├── resources/
71
+ ├── repositories/
72
+ ├── .gitignore
73
+ ├── codehood.toml
74
+ ├── calendar.md
75
+ └── README.md
76
+ ```
77
+
78
+ Then log in from inside the repository. `codehood login` asks for your
79
+ password and stores a CLI key for the server in
80
+ `~/.codehood/credentials.toml`, never in `codehood.toml`:
81
+
82
+ ```bash
83
+ codehood login
84
+ ```
85
+
86
+ For CI and scripts, set `CODEHOOD_TOKEN` to a CLI key instead. When it is set
87
+ (and not empty) it is used for every server, and `credentials.toml` is not
88
+ read. `codehood login` and `codehood logout` still edit the file, and say that
89
+ the variable overrides it.
90
+
91
+ We manage the course by editing or adding files in the local repository and then
92
+ pushing changes to the Codehood server using a simple command:
93
+
94
+ ```bash
95
+ codehood push
96
+ ```
97
+
98
+ ### Two servers, one repository
99
+
100
+ `--config` (`-c`) reads another file in place of `codehood.toml`, so one
101
+ repository can sync with two servers. Keep `codehood.toml` for one and, say,
102
+ `codehood.prod.toml` (same `[course]`, another `[server] url`) for the other:
103
+
104
+ ```bash
105
+ codehood -c codehood.prod.toml login
106
+ codehood -c codehood.prod.toml push
107
+ ```
108
+
109
+ The option goes before the command. `CODEHOOD_CONFIG=codehood.prod.toml` does
110
+ the same, and `--config` wins when both are set. Only the config file changes:
111
+ the repository root is still the current directory (or the `push` path), and
112
+ a relative `--config` is relative to the current directory. Tokens are stored
113
+ per server URL, so each config uses its own. `codehood -c file init` writes
114
+ the config to `file`. To use a second identity on the same server, set
115
+ `CODEHOOD_TOKEN`.
116
+
117
+ ### When the server changed
118
+
119
+ `codehood push` sends only what you changed locally. It compares your files, a
120
+ record of the last sync and the server, and never overwrites something that
121
+ changed on the server since. It lists those entities and leaves them alone:
122
+
123
+ - `pull`: something was written on the server by anything but a CLI, such as
124
+ an edit or a creation on the web or through the REST API. Nothing is
125
+ written in your files yet, and the server's version stays.
126
+ - `conflict`: you and the server both changed it. The push exits with code 1.
127
+ `codehood push --ours resource/intro` sends your version (`<kind>/<key>`,
128
+ globs allowed, repeatable).
129
+ - `other cli`: another checkout pushed it. Run `git pull` first. If the file
130
+ no longer exists anywhere, `--ours <kind>/<key>` deletes it from the server
131
+ (or sends your copy, if you still have it).
132
+
133
+ The record of the last sync lives in `.local/codehood/`. Push creates it, with
134
+ its own `.gitignore`, when it is missing, so Git never lists it, even in a
135
+ fresh clone. It is safe to delete: the next push rebuilds it without writing
136
+ anything for what matches the server (or carries the hash it last sent). What
137
+ differs and has no record is a `conflict`, or a `pull` when only the server
138
+ changed it. An entity that exists only on the server and carries a `rev`
139
+ shows as `other cli`; `--ours <kind>/<key>` deletes it.
140
+
141
+
142
+ ### Keeping files out of a push
143
+
144
+ Files you do not want on the server (drafts, questions of a type the server
145
+ does not support yet) can be excluded in `codehood.toml`:
146
+
147
+ ```toml
148
+ [push]
149
+ exclude = [
150
+ "questions/wip", # a directory: everything under it
151
+ "questions/**/draft-*.md", # ** crosses directories
152
+ "resources/private.md",
153
+ ]
154
+ ```
155
+
156
+ Patterns are relative to the repository root and gitignore-like: `*` and `?`
157
+ stay inside one path segment, `**` matches any number of directories, and
158
+ there is no `!` negation. They apply to files under `questions/` and
159
+ `resources/`. An excluded file is not read, so it may even be invalid. What
160
+ the server already holds for it is neither updated nor deleted. `codehood
161
+ push` lists excluded files and does not fail because of them.
162
+
163
+ `.codehoodignore` at the root takes gitignore syntax (with `!`). A match under
164
+ `questions/`, `resources/` or `exams/` is treated like an `exclude` pattern:
165
+ not pushed, and the server copy is kept. `codehood init` does not create the
166
+ file.
167
+
168
+ `codehood push` reports "not pushed (no handler)" only for files under
169
+ `questions/`, `resources/` and `exams/` that it did not read. Anything else
170
+ (extra files at the root, folders such as `solutions/`, another tool's config)
171
+ is never read and never reported. The report follows git's rules in a git
172
+ repository (`.gitignore` at any level, `.git/info/exclude`,
173
+ `core.excludesFile`), and the root `.gitignore` only otherwise.
174
+
175
+
176
+ ### Linking resources from a lesson
177
+
178
+ A markdown link in a lesson of `calendar.md` to a file under `resources/`, such
179
+ as `[Slides](resources/w03/recursion.pdf)`, attaches that resource to the
180
+ lesson's event. On push, the link in the published lesson points to the
181
+ resource's page on the server; your local `calendar.md` is not changed. A
182
+ resource can belong to at most one lesson, and a link to a file that is not
183
+ under `resources/` is an error. Push writes the calendar before the resources.
184
+
185
+ ### Repositories
186
+
187
+ Each folder directly under `repositories/` is a git repository of the course,
188
+ and the folder name is its slug (lowercase letters, digits, `.`, `_` and `-`).
189
+ `codehood push` uploads the files and makes one commit per change, and
190
+ students clone it from the course page:
191
+
192
+ ```bash
193
+ codehood push -m "Fix the lab 1 test" # -m sets the commit message
194
+ ```
195
+
196
+ - `.gitignore` files inside a repository folder apply at every level, `!`
197
+ included, and are published with the repository. The `.gitignore` at the
198
+ course root does not apply. `.git` directories are never published.
199
+ - Symlinks, files loose in `repositories/`, files over 16 MB and folders with
200
+ no file to publish are errors. The executable bit is kept (`100755`); on
201
+ Windows every file is `100644`.
202
+ - `[push] exclude` patterns also work under `repositories/<slug>/`.
203
+ - A repository whose folder is gone stays on the server, because deleting it
204
+ breaks its clone URL and history. `codehood push --drop-repositories`
205
+ deletes it.
206
+ - A link in a lesson of `calendar.md` to `repositories/<slug>` or
207
+ `repositories/<slug>/<path>` ties the repository to that lesson. The link
208
+ in the published lesson points to the repository page on the server. A link
209
+ to a repository or path that does not exist is an error.
210
+
211
+ A student who commits in their clone should update with `git pull
212
+ --no-rebase`: recent git versions refuse a plain `git pull` when the local
213
+ and the server's branches diverge.
214
+
215
+
216
+ ### Final grades
217
+
218
+ Codehood does not compute a course's final grade. You compute it on your
219
+ machine and push the result as grade columns, which the Grades tab shows
220
+ beside the exams. Declare the columns in `codehood.toml`, in the order they
221
+ should appear:
222
+
223
+ ```toml
224
+ [[grades.column]]
225
+ slug = "assignments"
226
+ title = "Assignments"
227
+
228
+ [[grades.column]]
229
+ slug = "final"
230
+ title = "Final grade"
231
+ kind = "label" # "number" is the default
232
+ ```
233
+
234
+ Scores you keep outside Codehood go in `grades.csv`, one row per student.
235
+ The header of the first column says how students are identified:
236
+ `school_id`, `username`, `github` or `email`.
237
+
238
+ ```csv
239
+ school_id,assignments
240
+ 190012345,82.5
241
+ 190054321,60
242
+ ```
243
+
244
+ A column whose slug is a header of `grades.csv` needs nothing else. To
245
+ compute one, write a `grade` function in `grades.py`. It is called once per
246
+ enrolled student and returns that student's value for each column it
247
+ computes:
248
+
249
+ ```python
250
+ from codehood.grades import Student
251
+
252
+ def grade(student: Student) -> dict[str, float | str | None]:
253
+ midterm = student.exams["midterm"].score or 0.0 # 0 to 100, or None
254
+ total = 0.6 * midterm + 0.4 * (student.scores["assignments"] or 0.0)
255
+ return {"final": "pass" if total >= 50 else "fail"}
256
+ ```
257
+
258
+ `codehood grades` prints the resulting table without sending anything, and
259
+ `codehood push` sends it. A pushed column stays hidden from students until
260
+ you release it on the Grades tab.
261
+
262
+ `grades.py` runs inside the CLI, so it can import the standard library and
263
+ whatever is installed beside the CLI. To use another package, install the
264
+ CLI with it: `uv tool install --editable codehood/cli --with pandas`.
265
+
266
+ ### Releasing exam grades
267
+
268
+ Students see the grades of an exam only after you release them:
269
+
270
+ ```bash
271
+ codehood exam release midterm
272
+ ```
273
+
274
+ The server refuses while the exam is still open, while answers wait for a
275
+ grade, or while a student exception keeps a personal window open, and the
276
+ command says which and how many. Releasing an exam twice changes nothing.
277
+
278
+
279
+ ## For students
280
+
281
+ TBD!
282
+
283
+
284
+ ## Contributing
285
+
286
+ The CLI is developed in the `cli/` directory of the
287
+ [Codehood repository](https://github.com/fabiommendes/codehood). Open issues and
288
+ pull requests there. See its
289
+ [CONTRIBUTING.md](https://github.com/fabiommendes/codehood/blob/main/CONTRIBUTING.md).
290
+
291
+
292
+ ## License
293
+
294
+ [MIT](LICENSE).
@@ -0,0 +1,71 @@
1
+ codehood/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
+ codehood/__main__.py,sha256=MSmt_5Xg84uHqzTN38JwgseJK8rsJn_11A8WD99VtEo,61
3
+ codehood/actions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ codehood/actions/base.py,sha256=q8IOliaYaTXUc-J1SQSv_jUailgZh474u5grIrifCfE,2769
5
+ codehood/actions/resources.py,sha256=rQZpx0d3EENL4_hZtidBGT2VuZcxgevFnSBrge9lcq4,790
6
+ codehood/api/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
+ codehood/api/base.py,sha256=s8PL4AvbOpT2RKUffZo7cMIZUZciZ_mJVqj_s9JWMBk,8907
8
+ codehood/api/generate.py,sha256=O8TGlEq1qFEvl8IgqETvDtq9Pna5cOer7DwOj69MKLo,50619
9
+ codehood/api/generated.py,sha256=abRTlnCX4I9vCGI6FpIZZZNF4ClCApq9X-3KT4Imi4w,116390
10
+ codehood/api/openapi.py,sha256=KUnQBJaPsMjd1W3yrE_M73iu5FCeajHppoEHYI3z8Cc,4524
11
+ codehood/api/pages.py,sha256=MlLd-XTLKXh4ZKROuxcZ-39l9dveVB5f5vHN0rk8elY,1643
12
+ codehood/cli/__init__.py,sha256=ZcFd64NCaLSnueUmAKo8Scb1HpotPoIb9vxOaFA4C9A,1425
13
+ codehood/cli/api.py,sha256=XIAB4qRJmxJdyDbwvor9jlaE4R6sTrSv7tNDpyVm0go,14717
14
+ codehood/cli/attendance.py,sha256=xzLLhzhjwFydvJxLDtyHvYb2dk4PckPGRKQf0vIRSLY,4204
15
+ codehood/cli/auth.py,sha256=y_OI2J3C4d8KFWDYrEXdnGhxeuA9T2KMTxXfKFx2NTg,3159
16
+ codehood/cli/base.py,sha256=SPP0v5UH4NWrejLO99SB42jSckosz9Fcj46BP28dNXg,1007
17
+ codehood/cli/chill.py,sha256=WshiOpQ5pnb-Qf2hitFXjXrvGR_bVGDzcgvy4ntOPeU,1087
18
+ codehood/cli/exam.py,sha256=NkhDQakg2us56jDNRdXY4TgMG0o5qnl8l7dBxoXBxAk,3418
19
+ codehood/cli/grades.py,sha256=MHp5XvWTYSBb8mU55ejzpxG5jqbWGe7K5ikFsx1ItLg,5340
20
+ codehood/cli/init.py,sha256=MQ3yMMWf40e-Rj5sZ3TRvKGN5Fqz3ThyE4ChcenjI8U,4432
21
+ codehood/cli/push.py,sha256=Bu96k_2lAKYSUpKpSzrNnZryBz__ctFh1yNwDUXj0Ew,19807
22
+ codehood/cli/show.py,sha256=aCVslWBFw2j0nrYAc-RmyEB7rUDwZsOSzF1b7HLDuik,2167
23
+ codehood/cli/uitils.py,sha256=Pj2jtz3kYd3jo5M8Olw9KWbT1mgPEC50dJrHb9fild8,711
24
+ codehood/functional.py,sha256=Be8vbpS2yVl0eUPCBxRny89ucK8sG3d5BGXz-z7fcP0,1146
25
+ codehood/globs.py,sha256=7RrBeySaOHJ9n8qFMAtfInY3XXYoZU9ZYiqCT3Td7qU,2131
26
+ codehood/grades.py,sha256=CjSYjoGt1clHMdpmmAi6rTlQqxaXL74pN6HhBjEVKls,2193
27
+ codehood/hypothesis.py,sha256=BZ45uH6TnDj8sTnnsDdrXMz03zQG6wLyNZZbIu-OFLM,10039
28
+ codehood/models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
29
+ codehood/models/base.py,sha256=_XEbDrn5A1591uVqDOBAScgIIuJ5hkDMQNSS8By5zWw,248
30
+ codehood/models/repo.py,sha256=75tptFyUxonZVPsJMJcgrH2Ka6OTFVFuEV2SDlf263s,5263
31
+ codehood/models/validators.py,sha256=GA1PMPuGbmvCUBUJUBbV58FgtxfvLFVlAUdZrhUmBBs,5092
32
+ codehood/push/__init__.py,sha256=5WtDk7y5z9ly2p7AWSlojPLRS8Rsp0DHnVF354_Aw78,4487
33
+ codehood/push/base.py,sha256=6tuctGXff1Y-h7GFP848clVkI6_Q5hzoX7ulI7Nol9o,6894
34
+ codehood/push/calendar.py,sha256=pL6hQojZw1aGP5eC24DQfe2ICZXJR_V9DqkovUGAKRc,19831
35
+ codehood/push/errors.py,sha256=Dp6HN9l7PTZi_R3P0aOXEoEdYiD4y5aAYav5WFBurAs,4431
36
+ codehood/push/exam.py,sha256=qTX9w8K6qBiwd83ZKyXveU-PTaB8QOuu74WxEokfsSY,21442
37
+ codehood/push/exclude.py,sha256=4n_29XS1xWO2dfxZgX5j0vKIF3YT-ucxb2TTJWOEQA8,2119
38
+ codehood/push/grades.py,sha256=hr2dgerqrzV0QI8b9549l6qhdyl7Mx1L9aKWG_aWAf0,13955
39
+ codehood/push/hook.py,sha256=26m_vcTrfm9CWSyybbtrEg_08oSl2NQwQ_6B1W8uFX0,1473
40
+ codehood/push/links.py,sha256=97GasTLwF6CxmVm65grgM2Q05-_PZtTUrSntiqAA2I4,21190
41
+ codehood/push/ours.py,sha256=hU7Vv5p3666gJXO8u8jrxmkQilGEUb0L9k5Gt5F5y40,2595
42
+ codehood/push/plan.py,sha256=ixD1lDw8M-_XvVkoVpSliXSuk5yn3P4u_RRMIjrY6s8,60137
43
+ codehood/push/project.py,sha256=b6PQNzXPOgiTsORGbMO6UEtJ8A9W_sfpD7nZeZeJzW0,8870
44
+ codehood/push/question.py,sha256=3RyIRxrUAKPsu8BAFVf9ReI8OzUw3cWa9JxLn8kPLfU,11649
45
+ codehood/push/report.py,sha256=NlGRfbnfIjemQahY1l5Svuw-pHsNa9_1nKUBnTOSCxo,7102
46
+ codehood/push/repository.py,sha256=s_IO6YUoOVD3pMJbLjB3m8PyuvHpOD5RTfUQH3qGX6M,10475
47
+ codehood/push/resource.py,sha256=tLgNstyMeTYRrkA6tcrqPgnPTAZLVX-FrSzj5Tm1mOQ,18804
48
+ codehood/push/run.py,sha256=7E3VT1rZRK6Z_yDOzv2mH5ktlN89RFPesIJCf1SH7uQ,43008
49
+ codehood/push/unconsumed.py,sha256=ZnIAXDLaJ7ytAljN_KznV7ShqIQwHEkQbNBr0I-9KH8,6528
50
+ codehood/push/wire.py,sha256=RgeNqhhARS_6Ac-WPwJj1G89UkD8-jqmwQkVPPDVN5M,7224
51
+ codehood/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
52
+ codehood/repo/__init__.py,sha256=DzaoCT27w6PNKbKKVBO2cgHDWOYAPGRv9qVbrwfnDnE,1360
53
+ codehood/repo/_config.py,sha256=PnA2eIINu2nCAorF4uM3KjNfAk0XFL9iwQy674qQcSA,773
54
+ codehood/repo/_layout.py,sha256=vEMCMnLFm7oCh0rGQWan4CrY4aYq1dA3YnNAag0LVmA,3806
55
+ codehood/repo/_scaffold.py,sha256=sfOEx-4xCDUIW5MEUfmcX6y8ky3IrUExw36Ob7jooog,7526
56
+ codehood/repo/diff.py,sha256=umGs2i0hTXKvWGKSqE_mdW0px2xLLZXW_JZR7C8bWWw,1286
57
+ codehood/repo/file_tracker.py,sha256=_gHUHH-kpMCNgNICVyCEu7gUBHn2JmpC1pLOQVCfy2o,3933
58
+ codehood/theme.py,sha256=8Zgyi26c9hcEB9Ru0BjnEgATRNPojuBNeWWIVnzK8nI,2558
59
+ codehood/widgets/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
60
+ codehood/widgets/mascot.py,sha256=Ihib-F1_svMGTGrONfZVfRohyjtxSWF5xfmgSa79ilo,1772
61
+ codehood/widgets/questions/__init__.py,sha256=AhHpDMopqWKN9ozZEiAbsdCHf_3rnrp7wawXf-ICGzw,1686
62
+ codehood/widgets/questions/base.py,sha256=dmmFV3vi-UookLrb_IbHnbAlZtOm_9iCf2BNPiGn2OQ,3766
63
+ codehood/widgets/questions/controls.py,sha256=NQQ6rVa58zi9PwQNiLp5OCRMvDmu6vjUBx19BgCSTYY,5506
64
+ codehood/widgets/questions/fill_in.py,sha256=U7Uyo8OdFyoHr5la_XYteCt4DMN3dbxTxrCRKSf3n0c,2572
65
+ codehood/widgets/questions/responses.py,sha256=rqrSRt2Bjsakk8Bt9SrKpXqQWsSt1GiYE9LUyENOOuk,3408
66
+ codehood/widgets/questions/simple.py,sha256=HO9fT14-mVLl5dS-D863U-I7JDE0dLKVhMW44PxG5AQ,3486
67
+ codehood_cli-0.5.0.dist-info/licenses/LICENSE,sha256=Pqeeux3l3nnNHBIgeUl3aU3JJID3jHU72rpScoeVhlw,1078
68
+ codehood_cli-0.5.0.dist-info/WHEEL,sha256=3OmCxFA0ffBIsX4x0o8CdfSvZAOvO3mzEG8U_z5TvV4,80
69
+ codehood_cli-0.5.0.dist-info/entry_points.txt,sha256=bUYcqv-9MbMj3GiVWIxmIGIKFTtIQ5a-ic1zn1COJHE,71
70
+ codehood_cli-0.5.0.dist-info/METADATA,sha256=YSmVmCh-VbPUzdWdl265vTIs-SMuS5fHnPeraeJthWI,10849
71
+ codehood_cli-0.5.0.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: uv 0.13.8
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,4 @@
1
+ [console_scripts]
2
+ ch = codehood.cli:main
3
+ codehood = codehood.cli:main
4
+
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Fábio Macêdo Mendes
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.