codedocent 1.0.0__tar.gz → 1.0.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 (38) hide show
  1. {codedocent-1.0.0/codedocent.egg-info → codedocent-1.0.2}/PKG-INFO +5 -3
  2. codedocent-1.0.0/PKG-INFO → codedocent-1.0.2/README.md +4 -12
  3. {codedocent-1.0.0 → codedocent-1.0.2}/codedocent/analyzer.py +1 -1
  4. {codedocent-1.0.0 → codedocent-1.0.2}/codedocent/gui.py +4 -1
  5. codedocent-1.0.0/README.md → codedocent-1.0.2/codedocent.egg-info/PKG-INFO +14 -2
  6. {codedocent-1.0.0 → codedocent-1.0.2}/pyproject.toml +1 -1
  7. {codedocent-1.0.0 → codedocent-1.0.2}/LICENSE +0 -0
  8. {codedocent-1.0.0 → codedocent-1.0.2}/codedocent/__init__.py +0 -0
  9. {codedocent-1.0.0 → codedocent-1.0.2}/codedocent/__main__.py +0 -0
  10. {codedocent-1.0.0 → codedocent-1.0.2}/codedocent/cli.py +0 -0
  11. {codedocent-1.0.0 → codedocent-1.0.2}/codedocent/cloud_ai.py +0 -0
  12. {codedocent-1.0.0 → codedocent-1.0.2}/codedocent/editor.py +0 -0
  13. {codedocent-1.0.0 → codedocent-1.0.2}/codedocent/graph.py +0 -0
  14. {codedocent-1.0.0 → codedocent-1.0.2}/codedocent/ollama_utils.py +0 -0
  15. {codedocent-1.0.0 → codedocent-1.0.2}/codedocent/parser.py +0 -0
  16. {codedocent-1.0.0 → codedocent-1.0.2}/codedocent/quality.py +0 -0
  17. {codedocent-1.0.0 → codedocent-1.0.2}/codedocent/renderer.py +0 -0
  18. {codedocent-1.0.0 → codedocent-1.0.2}/codedocent/scanner.py +0 -0
  19. {codedocent-1.0.0 → codedocent-1.0.2}/codedocent/server.py +0 -0
  20. {codedocent-1.0.0 → codedocent-1.0.2}/codedocent/templates/architecture.html +0 -0
  21. {codedocent-1.0.0 → codedocent-1.0.2}/codedocent/templates/base.html +0 -0
  22. {codedocent-1.0.0 → codedocent-1.0.2}/codedocent/templates/interactive.html +0 -0
  23. {codedocent-1.0.0 → codedocent-1.0.2}/codedocent.egg-info/SOURCES.txt +0 -0
  24. {codedocent-1.0.0 → codedocent-1.0.2}/codedocent.egg-info/dependency_links.txt +0 -0
  25. {codedocent-1.0.0 → codedocent-1.0.2}/codedocent.egg-info/entry_points.txt +0 -0
  26. {codedocent-1.0.0 → codedocent-1.0.2}/codedocent.egg-info/requires.txt +0 -0
  27. {codedocent-1.0.0 → codedocent-1.0.2}/codedocent.egg-info/top_level.txt +0 -0
  28. {codedocent-1.0.0 → codedocent-1.0.2}/setup.cfg +0 -0
  29. {codedocent-1.0.0 → codedocent-1.0.2}/tests/test_analyzer.py +0 -0
  30. {codedocent-1.0.0 → codedocent-1.0.2}/tests/test_cli.py +0 -0
  31. {codedocent-1.0.0 → codedocent-1.0.2}/tests/test_cloud_ai.py +0 -0
  32. {codedocent-1.0.0 → codedocent-1.0.2}/tests/test_editor.py +0 -0
  33. {codedocent-1.0.0 → codedocent-1.0.2}/tests/test_graph.py +0 -0
  34. {codedocent-1.0.0 → codedocent-1.0.2}/tests/test_gui.py +0 -0
  35. {codedocent-1.0.0 → codedocent-1.0.2}/tests/test_parser.py +0 -0
  36. {codedocent-1.0.0 → codedocent-1.0.2}/tests/test_renderer.py +0 -0
  37. {codedocent-1.0.0 → codedocent-1.0.2}/tests/test_scanner.py +0 -0
  38. {codedocent-1.0.0 → codedocent-1.0.2}/tests/test_server.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: codedocent
3
- Version: 1.0.0
3
+ Version: 1.0.2
4
4
  Summary: Code visualization for non-programmers
5
5
  License: MIT
6
6
  Requires-Python: >=3.10
@@ -10,8 +10,6 @@ License-File: LICENSE
10
10
 
11
11
  # codedocent
12
12
 
13
- <!-- Screenshot coming soon -->
14
-
15
13
  **Code visualization for non-programmers.**
16
14
 
17
15
  A docent is a guide who explains things to people who aren't experts. Codedocent does that for code.
@@ -26,6 +24,8 @@ Codedocent parses the codebase into a navigable, visual block structure and expl
26
24
 
27
25
  ### Architecture Mode
28
26
 
27
+ ![Architecture mode — dependency graph showing files as nodes with directed edges](https://raw.githubusercontent.com/clanker-lover/codedocent/main/docs/screenshots/architecture-mode.png)
28
+
29
29
  Visualize your codebase as a zoomable dependency graph. Three levels of detail:
30
30
 
31
31
  - **Level 0 — Modules**: See all modules as nodes with dependency edges between them
@@ -42,6 +42,8 @@ Or choose option 4 in the setup wizard.
42
42
 
43
43
  ### Enhanced AI Summaries
44
44
 
45
+ ![Enhanced AI summary showing ROLE, SUMMARY, and KEY CONCEPTS for parser.py](https://raw.githubusercontent.com/clanker-lover/codedocent/main/docs/screenshots/enhanced-summary.png)
46
+
45
47
  AI analysis now understands where each file sits in the system:
46
48
 
47
49
  - **Dependency context** — the prompt tells the AI what this file imports and what imports it
@@ -1,17 +1,5 @@
1
- Metadata-Version: 2.1
2
- Name: codedocent
3
- Version: 1.0.0
4
- Summary: Code visualization for non-programmers
5
- License: MIT
6
- Requires-Python: >=3.10
7
- Description-Content-Type: text/markdown
8
- Provides-Extra: dev
9
- License-File: LICENSE
10
-
11
1
  # codedocent
12
2
 
13
- <!-- Screenshot coming soon -->
14
-
15
3
  **Code visualization for non-programmers.**
16
4
 
17
5
  A docent is a guide who explains things to people who aren't experts. Codedocent does that for code.
@@ -26,6 +14,8 @@ Codedocent parses the codebase into a navigable, visual block structure and expl
26
14
 
27
15
  ### Architecture Mode
28
16
 
17
+ ![Architecture mode — dependency graph showing files as nodes with directed edges](https://raw.githubusercontent.com/clanker-lover/codedocent/main/docs/screenshots/architecture-mode.png)
18
+
29
19
  Visualize your codebase as a zoomable dependency graph. Three levels of detail:
30
20
 
31
21
  - **Level 0 — Modules**: See all modules as nodes with dependency edges between them
@@ -42,6 +32,8 @@ Or choose option 4 in the setup wizard.
42
32
 
43
33
  ### Enhanced AI Summaries
44
34
 
35
+ ![Enhanced AI summary showing ROLE, SUMMARY, and KEY CONCEPTS for parser.py](https://raw.githubusercontent.com/clanker-lover/codedocent/main/docs/screenshots/enhanced-summary.png)
36
+
45
37
  AI analysis now understands where each file sits in the system:
46
38
 
47
39
  - **Dependency context** — the prompt tells the AI what this file imports and what imports it
@@ -179,7 +179,7 @@ def _parse_ai_response(text: str) -> tuple[str, str, str]:
179
179
  return summary, pseudocode, key_concepts
180
180
 
181
181
 
182
- _AI_TIMEOUT = 120
182
+ _AI_TIMEOUT = 180
183
183
 
184
184
 
185
185
  def _summarize_with_cloud(
@@ -136,7 +136,8 @@ def _create_mode_row(frame: ttk.Frame) -> tk.StringVar:
136
136
  modes_frame.grid(row=12, column=0, columnspan=2, sticky="w")
137
137
  for text, value in [("Interactive", "interactive"),
138
138
  ("Full export", "full"),
139
- ("Text tree", "text")]:
139
+ ("Text tree", "text"),
140
+ ("Architecture", "arch")]:
140
141
  ttk.Radiobutton(
141
142
  modes_frame, text=text, variable=mode_var, value=value,
142
143
  ).pack(anchor="w")
@@ -190,6 +191,8 @@ def _create_go_button( # pylint: disable=too-many-arguments,too-many-positional
190
191
  cmd.append("--full")
191
192
  elif mode == "text":
192
193
  cmd.append("--text")
194
+ elif mode == "arch":
195
+ cmd.append("--arch")
193
196
 
194
197
  subprocess.Popen(cmd) # pylint: disable=consider-using-with # nosec B603 # noqa: E501
195
198
  root.destroy()
@@ -1,6 +1,14 @@
1
- # codedocent
1
+ Metadata-Version: 2.1
2
+ Name: codedocent
3
+ Version: 1.0.2
4
+ Summary: Code visualization for non-programmers
5
+ License: MIT
6
+ Requires-Python: >=3.10
7
+ Description-Content-Type: text/markdown
8
+ Provides-Extra: dev
9
+ License-File: LICENSE
2
10
 
3
- <!-- Screenshot coming soon -->
11
+ # codedocent
4
12
 
5
13
  **Code visualization for non-programmers.**
6
14
 
@@ -16,6 +24,8 @@ Codedocent parses the codebase into a navigable, visual block structure and expl
16
24
 
17
25
  ### Architecture Mode
18
26
 
27
+ ![Architecture mode — dependency graph showing files as nodes with directed edges](https://raw.githubusercontent.com/clanker-lover/codedocent/main/docs/screenshots/architecture-mode.png)
28
+
19
29
  Visualize your codebase as a zoomable dependency graph. Three levels of detail:
20
30
 
21
31
  - **Level 0 — Modules**: See all modules as nodes with dependency edges between them
@@ -32,6 +42,8 @@ Or choose option 4 in the setup wizard.
32
42
 
33
43
  ### Enhanced AI Summaries
34
44
 
45
+ ![Enhanced AI summary showing ROLE, SUMMARY, and KEY CONCEPTS for parser.py](https://raw.githubusercontent.com/clanker-lover/codedocent/main/docs/screenshots/enhanced-summary.png)
46
+
35
47
  AI analysis now understands where each file sits in the system:
36
48
 
37
49
  - **Dependency context** — the prompt tells the AI what this file imports and what imports it
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "codedocent"
7
- version = "1.0.0"
7
+ version = "1.0.2"
8
8
  description = "Code visualization for non-programmers"
9
9
  license = {text = "MIT"}
10
10
  readme = "README.md"
File without changes
File without changes
File without changes
File without changes
File without changes