code2docs 3.0.31__py3-none-any.whl → 3.0.32__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.
code2docs/__init__.py CHANGED
@@ -5,7 +5,7 @@ Uses code2llm's AnalysisResult to produce human-readable documentation:
5
5
  README.md, API references, module docs, examples, and architecture diagrams.
6
6
  """
7
7
 
8
- __version__ = '3.0.31'
8
+ __version__ = '3.0.32'
9
9
  __author__ = 'Tom Sapletta'
10
10
  __all__ = ['Code2DocsConfig', 'generate_readme', 'generate_docs', 'analyze_and_document']
11
11
 
@@ -1,33 +1,3 @@
1
-
2
- PORT_4 = 4
3
- CONSTANT_5 = 5
4
- CONSTANT_50 = 50
5
-
6
-
7
- PORT_4 = PORT_4
8
- CONSTANT_5 = CONSTANT_5
9
- CONSTANT_50 = CONSTANT_50
10
-
11
-
12
- PORT_4 = PORT_4
13
- CONSTANT_5 = CONSTANT_5
14
- CONSTANT_50 = CONSTANT_50
15
-
16
-
17
- PORT_4 = PORT_4
18
- CONSTANT_5 = CONSTANT_5
19
- CONSTANT_50 = CONSTANT_50
20
-
21
-
22
-
23
- PORT_4 = PORT_4
24
- CONSTANT_5 = CONSTANT_5
25
- CONSTANT_50 = CONSTANT_50
26
-
27
- PORT_4 = PORT_4
28
- CONSTANT_5 = CONSTANT_5
29
- CONSTANT_50 = CONSTANT_50
30
-
31
1
  """Auto-generate usage examples from public signatures and entry points."""
32
2
 
33
3
  from pathlib import Path
@@ -37,10 +7,12 @@ from code2llm.api import AnalysisResult, FunctionInfo, ClassInfo
37
7
 
38
8
  from ..config import Code2DocsConfig
39
9
 
40
- # Default type hints → example values
10
+ PORT_4 = 4
11
+ CONSTANT_5 = 5
12
+ CONSTANT_50 = 50
41
13
 
42
- if __name__ == "__main__":
43
- _TYPE_EXAMPLES = {
14
+ # Default type hints → example values
15
+ _TYPE_EXAMPLES = {
44
16
  "str": '"./my-project"',
45
17
  "Path": 'Path("./my-project")',
46
18
  "int": "10",
@@ -55,7 +27,7 @@ if __name__ == "__main__":
55
27
  }
56
28
 
57
29
  # Arg name → realistic example value
58
- _ARG_EXAMPLES = {
30
+ _ARG_EXAMPLES = {
59
31
  "project_path": '"./my-project"',
60
32
  "path": '"./my-project"',
61
33
  "source": '"./src"',
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: code2docs
3
- Version: 3.0.31
3
+ Version: 3.0.32
4
4
  Summary: Auto-generate and sync project documentation from source code analysis
5
5
  Author-email: Tom Sapletta <tom@sapletta.com>
6
6
  License-Expression: Apache-2.0
@@ -53,17 +53,17 @@ Dynamic: license-file
53
53
 
54
54
  ## AI Cost Tracking
55
55
 
56
- ![PyPI](https://img.shields.io/badge/pypi-costs-blue) ![Version](https://img.shields.io/badge/version-3.0.31-blue) ![Python](https://img.shields.io/badge/python-3.9+-blue) ![License](https://img.shields.io/badge/license-Apache--2.0-green)
56
+ ![PyPI](https://img.shields.io/badge/pypi-costs-blue) ![Version](https://img.shields.io/badge/version-3.0.32-blue) ![Python](https://img.shields.io/badge/python-3.9+-blue) ![License](https://img.shields.io/badge/license-Apache--2.0-green)
57
57
  ![AI Cost](https://img.shields.io/badge/AI%20Cost-$7.50-orange) ![Human Time](https://img.shields.io/badge/Human%20Time-25.3h-blue) ![Model](https://img.shields.io/badge/Model-openrouter%2Fqwen%2Fqwen3--coder--next-lightgrey)
58
58
 
59
- - 🤖 **LLM usage:** $7.5000 (71 commits)
59
+ - 🤖 **LLM usage:** $7.5000 (72 commits)
60
60
  - 👤 **Human dev:** ~$2534 (25.3h @ $100/h, 30min dedup)
61
61
 
62
62
  Generated on 2026-04-20 using [openrouter/qwen/qwen3-coder-next](https://openrouter.ai/qwen/qwen3-coder-next)
63
63
 
64
64
  ---
65
65
 
66
- ![version](https://img.shields.io/badge/version-3.0.31-blue) ![python](https://img.shields.io/badge/python-%3E%3D3.9-blue) ![docs](https://img.shields.io/badge/docs-auto--generated-blueviolet)
66
+ ![version](https://img.shields.io/badge/version-3.0.32-blue) ![python](https://img.shields.io/badge/python-%3E%3D3.9-blue) ![docs](https://img.shields.io/badge/docs-auto--generated-blueviolet)
67
67
 
68
68
  > Auto-generate and sync project documentation from source code analysis.
69
69
 
@@ -200,7 +200,7 @@ code2docs can update only specific sections of an existing README using markers:
200
200
  ```markdown
201
201
  <!-- code2docs:start --># code2docs
202
202
 
203
- ![version](https://img.shields.io/badge/version-3.0.31-blue) ![python](https://img.shields.io/badge/python-%3E%3D3.9-blue) ![coverage](https://img.shields.io/badge/coverage-unknown-lightgrey) ![functions](https://img.shields.io/badge/functions-276-green)
203
+ ![version](https://img.shields.io/badge/version-3.0.32-blue) ![python](https://img.shields.io/badge/python-%3E%3D3.9-blue) ![coverage](https://img.shields.io/badge/coverage-unknown-lightgrey) ![functions](https://img.shields.io/badge/functions-276-green)
204
204
  > **276** functions | **57** classes | **51** files | CC̄ = 3.8
205
205
 
206
206
  > Auto-generated project documentation from source code analysis.
@@ -1,4 +1,4 @@
1
- code2docs/__init__.py,sha256=yQwu6DuPyl_1LGiKuY-cKbn4ETF5DnoKdYyKlauZU8U,901
1
+ code2docs/__init__.py,sha256=8lcgb2hKB40lS1_cE7KTZHxQNfxcZ2ZZM_5UNYZ6ABI,901
2
2
  code2docs/__main__.py,sha256=dGGkQIZVFDZXEXa9PWew7cBh7hBAYDWfJ9LeezMf2UI,116
3
3
  code2docs/base.py,sha256=tQT0I9iAxpxtCNHFZL8kYdgCD-96ywOvDKD2Iiksgj4,1319
4
4
  code2docs/cli.py,sha256=L9HcHqWhtyY22FGTyWZ1MhVTgatCcb_vwXJK7l6uoYo,12727
@@ -29,7 +29,7 @@ code2docs/generators/config_docs_gen.py,sha256=KTq_FhceFXXVMqMSOuCB-71iMYqU6FwQn
29
29
  code2docs/generators/contributing_gen.py,sha256=BqEwwutEPYzL5VEjGHhrVCvsy5r3EU0CWki3sEgtxPA,8861
30
30
  code2docs/generators/coverage_gen.py,sha256=SV9h00SCg20feLnfDb0k0g-qFg9FyJQAUFso9TvtDlI,4286
31
31
  code2docs/generators/depgraph_gen.py,sha256=n04TozkMbywK8JlU9SpnC9lpnPPCqOEGb_2P-oh72aA,5084
32
- code2docs/generators/examples_gen.py,sha256=a0520EZawKMFcdVo2VHc9fQptFgNpPEycCUTAZM3AHg,19293
32
+ code2docs/generators/examples_gen.py,sha256=ZME-GwtB1d3tqrsZ7HMnB7MUDtwWV2jAcuRdBNHFtMQ,18916
33
33
  code2docs/generators/getting_started_gen.py,sha256=P--4A0Lmeo338zKjuD1D5BYxVJ5IG_klUsF4qIlUW-Y,8258
34
34
  code2docs/generators/mkdocs_gen.py,sha256=ciETCRUzb3V3kSGAslM5DStHJUQ1Ju-pTxC1Iv_duzo,3849
35
35
  code2docs/generators/module_docs_gen.py,sha256=6FFH69AQlNxPlEMEEeX0ND366rb7URSP6geNlvf_Sjk,10090
@@ -45,9 +45,9 @@ code2docs/templates/example_usage.py.j2,sha256=G0mF7iLtisnsh-PfPTMLgVoNSDw6J-MqP
45
45
  code2docs/templates/index.md.j2,sha256=pj56gwiLuXxV64xVYfzmtboMLyFKF-Kty01Ps0t37xM,653
46
46
  code2docs/templates/module_doc.md.j2,sha256=oMcaDSSCbyMSjQtnal7garYr4dDbTcRAQobsjrYVYGo,1876
47
47
  code2docs/templates/readme.md.j2,sha256=OJ3EA3gezuBLyjYUDVtRI4whg4Pcjvkh5ZgnsuwDKv4,9170
48
- code2docs-3.0.31.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
49
- code2docs-3.0.31.dist-info/METADATA,sha256=Ssx2_7HTGKtMlRLrbQ39Uvfeb59YTj1ynqHCepvs8Ug,26843
50
- code2docs-3.0.31.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
51
- code2docs-3.0.31.dist-info/entry_points.txt,sha256=ATamjPNo2CbTaAUN3LfK8qrnY3EQE9gE7lMDgPYhLdQ,49
52
- code2docs-3.0.31.dist-info/top_level.txt,sha256=L-O2M4M-NSiphgcKSfXFsC-t6PqziMl8Ef6tsNR2DaM,10
53
- code2docs-3.0.31.dist-info/RECORD,,
48
+ code2docs-3.0.32.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
49
+ code2docs-3.0.32.dist-info/METADATA,sha256=2r8qj-Tm8-iwgsFlDZG-oiNJHrotM8GdHGvmlUlTKVw,26843
50
+ code2docs-3.0.32.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
51
+ code2docs-3.0.32.dist-info/entry_points.txt,sha256=ATamjPNo2CbTaAUN3LfK8qrnY3EQE9gE7lMDgPYhLdQ,49
52
+ code2docs-3.0.32.dist-info/top_level.txt,sha256=L-O2M4M-NSiphgcKSfXFsC-t6PqziMl8Ef6tsNR2DaM,10
53
+ code2docs-3.0.32.dist-info/RECORD,,