code2flow-toon 0.2.4__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 (43) hide show
  1. code2flow/__init__.py +47 -0
  2. code2flow/__main__.py +6 -0
  3. code2flow/analysis/__init__.py +17 -0
  4. code2flow/analysis/call_graph.py +210 -0
  5. code2flow/analysis/cfg.py +293 -0
  6. code2flow/analysis/coupling.py +77 -0
  7. code2flow/analysis/data_analysis.py +249 -0
  8. code2flow/analysis/dfg.py +224 -0
  9. code2flow/analysis/smells.py +192 -0
  10. code2flow/cli.py +464 -0
  11. code2flow/core/__init__.py +36 -0
  12. code2flow/core/analyzer.py +765 -0
  13. code2flow/core/config.py +177 -0
  14. code2flow/core/models.py +194 -0
  15. code2flow/core/streaming_analyzer.py +666 -0
  16. code2flow/exporters/__init__.py +17 -0
  17. code2flow/exporters/base.py +13 -0
  18. code2flow/exporters/json_exporter.py +17 -0
  19. code2flow/exporters/llm_exporter.py +199 -0
  20. code2flow/exporters/mermaid_exporter.py +67 -0
  21. code2flow/exporters/toon.py +401 -0
  22. code2flow/exporters/yaml_exporter.py +108 -0
  23. code2flow/llm_flow_generator.py +451 -0
  24. code2flow/llm_task_generator.py +263 -0
  25. code2flow/mermaid_generator.py +481 -0
  26. code2flow/nlp/__init__.py +23 -0
  27. code2flow/nlp/config.py +174 -0
  28. code2flow/nlp/entity_resolution.py +326 -0
  29. code2flow/nlp/intent_matching.py +297 -0
  30. code2flow/nlp/normalization.py +122 -0
  31. code2flow/nlp/pipeline.py +388 -0
  32. code2flow/patterns/__init__.py +0 -0
  33. code2flow/patterns/detector.py +168 -0
  34. code2flow/refactor/__init__.py +0 -0
  35. code2flow/refactor/prompt_engine.py +150 -0
  36. code2flow/visualizers/__init__.py +0 -0
  37. code2flow/visualizers/graph.py +196 -0
  38. code2flow_toon-0.2.4.dist-info/METADATA +599 -0
  39. code2flow_toon-0.2.4.dist-info/RECORD +43 -0
  40. code2flow_toon-0.2.4.dist-info/WHEEL +5 -0
  41. code2flow_toon-0.2.4.dist-info/entry_points.txt +2 -0
  42. code2flow_toon-0.2.4.dist-info/licenses/LICENSE +201 -0
  43. code2flow_toon-0.2.4.dist-info/top_level.txt +1 -0
@@ -0,0 +1,599 @@
1
+ Metadata-Version: 2.4
2
+ Name: code2flow-toon
3
+ Version: 0.2.4
4
+ Summary: High-performance Python code flow analysis with optimized TOON format - CFG, DFG, call graphs, and intelligent code queries
5
+ Home-page: https://github.com/wronai/stts
6
+ Author: STTS Project
7
+ Author-email: Tom Sapletta <tom@sapletta.com>
8
+ License-Expression: Apache-2.0
9
+ Project-URL: Homepage, https://github.com/wronai/stts
10
+ Project-URL: Repository, https://github.com/wronai/stts
11
+ Project-URL: Issues, https://github.com/wronai/stts/issues
12
+ Keywords: static-analysis,control-flow,data-flow,call-graph,reverse-engineering,toon-format,code-analysis,ast,optimization,complexity-analysis
13
+ Classifier: Development Status :: 4 - Beta
14
+ Classifier: Intended Audience :: Developers
15
+ Classifier: Programming Language :: Python :: 3
16
+ Classifier: Programming Language :: Python :: 3.8
17
+ Classifier: Programming Language :: Python :: 3.9
18
+ Classifier: Programming Language :: Python :: 3.10
19
+ Classifier: Programming Language :: Python :: 3.11
20
+ Classifier: Programming Language :: Python :: 3.12
21
+ Classifier: Programming Language :: Python :: 3.13
22
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
23
+ Classifier: Topic :: Software Development :: Code Generators
24
+ Classifier: Topic :: Software Development :: Quality Assurance
25
+ Requires-Python: >=3.8
26
+ Description-Content-Type: text/markdown
27
+ License-File: LICENSE
28
+ Requires-Dist: networkx>=2.6
29
+ Requires-Dist: matplotlib>=3.4
30
+ Requires-Dist: pyyaml>=5.4
31
+ Requires-Dist: numpy>=1.20
32
+ Requires-Dist: jinja2>=3.0
33
+ Requires-Dist: radon>=5.1
34
+ Requires-Dist: astroid>=3.0
35
+ Requires-Dist: vulture>=2.10
36
+ Requires-Dist: tiktoken>=0.5
37
+ Requires-Dist: tree-sitter>=0.21
38
+ Requires-Dist: tree-sitter-python>=0.21
39
+ Provides-Extra: dev
40
+ Requires-Dist: pytest>=6.2; extra == "dev"
41
+ Requires-Dist: pytest-cov>=2.12; extra == "dev"
42
+ Requires-Dist: black>=21.0; extra == "dev"
43
+ Requires-Dist: flake8>=3.9; extra == "dev"
44
+ Requires-Dist: mypy>=0.910; extra == "dev"
45
+ Dynamic: author
46
+ Dynamic: home-page
47
+ Dynamic: license-file
48
+ Dynamic: requires-python
49
+
50
+ # code2flow
51
+
52
+ **Python Code Flow Analysis Tool** - Static analysis for control flow graphs (CFG), data flow graphs (DFG), and call graph extraction with optimized TOON format.
53
+
54
+ ![img.png](img.png)
55
+
56
+ ## 🚀 New: TOON Format
57
+
58
+ **TOON** is the new default output format - optimized for performance and readability:
59
+
60
+ - **🎯 10x smaller** than standard YAML (204KB vs 2.5MB)
61
+ - **⚡ Faster processing** with intelligent sorting
62
+ - **📊 Enhanced insights** with complexity analysis
63
+ - **🔍 Smart recommendations** for refactoring
64
+ - **📋 Complete validation** with built-in testing
65
+
66
+ ```bash
67
+ # Default: TOON format only
68
+ code2flow /path/to/project
69
+
70
+ # Generate all formats
71
+ code2flow /path/to/project -f all
72
+
73
+ # TOON + YAML (for comparison)
74
+ code2flow /path/to/project -f toon,yaml
75
+ ```
76
+
77
+ ## Performance Optimization
78
+
79
+ For large projects (>1000 functions), use **Fast Mode**:
80
+
81
+ ```bash
82
+ # Ultra-fast analysis (5-10x faster)
83
+ code2flow /path/to/project --fast
84
+
85
+ # Custom performance settings
86
+ code2flow /path/to/project \
87
+ --parallel-workers 8 \
88
+ --max-depth 3 \
89
+ --skip-data-flow \
90
+ --cache-dir ./.cache
91
+ ```
92
+
93
+ ### Performance Tips
94
+
95
+ | Technique | Speedup | Use Case |
96
+ |-----------|---------|----------|
97
+ | `--fast` mode | 5-10x | Initial exploration |
98
+ | Parallel workers | 2-4x | Multi-core machines |
99
+ | Caching | 3-5x | Repeated analysis |
100
+ | Depth limiting | 2-3x | Large codebases |
101
+ | Skip private methods | 1.5-2x | Public API analysis |
102
+
103
+ ### Benchmarks
104
+
105
+ | Project Size | Functions | Time (fast) | Time (full) |
106
+ |--------------|-----------|-------------|-------------|
107
+ | Small (<100) | ~50 | 0.5s | 2s |
108
+ | Medium (1K) | ~500 | 3s | 15s |
109
+ | Large (10K) | ~2000 | 15s | 120s |
110
+
111
+ ## Features
112
+
113
+ - **🎯 TOON Format**: Optimized compact output (default)
114
+ - **Control Flow Graph (CFG)**: Extract execution paths from Python AST
115
+ - **Data Flow Graph (DFG)**: Track variable definitions and dependencies
116
+ - **Call Graph Analysis**: Map function calls and dependencies
117
+ - **Pattern Detection**: Identify design patterns and code smells
118
+ - **Multiple Output Formats**: TOON, YAML, JSON, Mermaid diagrams, PNG visualizations
119
+ - **LLM-Ready Output**: Generate prompts for reverse engineering
120
+ - **Smart Validation**: Built-in format validation and testing
121
+
122
+ ## Installation
123
+
124
+ ```bash
125
+ # Install from source
126
+ pip install -e .
127
+
128
+ # Or with development dependencies
129
+ pip install -e ".[dev]"
130
+ ```
131
+
132
+ ## Quick Start
133
+
134
+ ```bash
135
+ # Analyze a Python project (default: TOON format)
136
+ code2flow /path/to/project
137
+
138
+ # With verbose output
139
+ code2flow /path/to/project -v
140
+
141
+ # Generate all formats
142
+ code2flow /path/to/project -f all
143
+
144
+ # Use different analysis modes
145
+ code2flow /path/to/project -m static # Fast static analysis only
146
+ code2flow /path/to/project -m hybrid # Combined analysis (default)
147
+ ```
148
+
149
+ ## Usage
150
+
151
+ ### Output Formats
152
+
153
+ ```bash
154
+ # Default: TOON format only
155
+ code2flow /path/to/project
156
+
157
+ # All formats (toon,yaml,json,mermaid,png)
158
+ code2flow /path/to/project -f all
159
+
160
+ # Custom combinations
161
+ code2flow /path/to/project -f toon,yaml
162
+ code2flow /path/to/project -f json,png
163
+ code2flow /path/to/project -f mermaid,png
164
+ ```
165
+
166
+ ### Analysis Modes
167
+
168
+ ```bash
169
+ # Static analysis only (fastest)
170
+ code2flow /path/to/project -m static
171
+
172
+ # Dynamic analysis with tracing
173
+ code2flow /path/to/project -m dynamic
174
+
175
+ # Hybrid analysis (recommended)
176
+ code2flow /path/to/project -m hybrid
177
+
178
+ # Behavioral pattern focus
179
+ code2flow /path/to/project -m behavioral
180
+
181
+ # Reverse engineering ready
182
+ code2flow /path/to/project -m reverse
183
+ ```
184
+
185
+ ### Custom Output
186
+
187
+ ```bash
188
+ code2flow /path/to/project -o my_analysis
189
+ ```
190
+
191
+ ## Output Files
192
+
193
+ | File | Description | Size |
194
+ |------|-------------|------|
195
+ | `analysis.toon` | **🎯 Optimized TOON format** (default) | ~200KB |
196
+ | `analysis.yaml` | Complete structured analysis data | ~2.5MB |
197
+ | `analysis.json` | JSON format for programmatic use | ~2.6MB |
198
+ | `flow.mmd` | Full Mermaid flowchart (all nodes) | ~9KB |
199
+ | `compact_flow.mmd` | Compact flowchart - deduplicated nodes | ~9KB |
200
+ | `calls.mmd` | Function call graph | ~9KB |
201
+ | `cfg.png` | Control flow visualization | ~7MB |
202
+ | `call_graph.png` | Call graph visualization | ~3.7MB |
203
+ | `llm_prompt.md` | LLM-ready analysis summary | ~35KB |
204
+
205
+ ## 🎯 TOON Format Structure
206
+
207
+ The TOON format provides optimized, human-readable output:
208
+
209
+ ```yaml
210
+ meta:
211
+ project: /path/to/project
212
+ mode: hybrid
213
+ generated: '2026-02-28T22:13:30'
214
+ version: '2.0'
215
+
216
+ stats:
217
+ files_processed: 42
218
+ functions_found: 443
219
+ classes_found: 77
220
+ nodes_created: 2734
221
+ edges_created: 3223
222
+
223
+ functions:
224
+ - name: export
225
+ module: code2flow.exporters.base.LLMPromptExporter
226
+ complexity: 45.0
227
+ tier: critical
228
+ nodes: 52
229
+ has_loops: true
230
+ has_conditions: true
231
+ has_returns: false
232
+
233
+ insights:
234
+ complexity_summary:
235
+ critical_functions: 115
236
+ high_complexity: 64
237
+ avg_complexity: 3.17
238
+ recommendations:
239
+ - type: complexity
240
+ priority: high
241
+ message: "Refactor 115 critical functions"
242
+ ```
243
+
244
+ ### Complexity Tiers
245
+
246
+ - **🔴 Critical** (≥5.0): Immediate refactoring needed
247
+ - **🟠 High** (≥3.0): Consider refactoring
248
+ - **🟡 Medium** (≥1.5): Monitor complexity
249
+ - **🟢 Low** (>0): Acceptable complexity
250
+ - **⚪ Basic** (0): Simple functions
251
+
252
+ ## Validation & Testing
253
+
254
+ Built-in validation ensures output quality:
255
+
256
+ ```bash
257
+ # Validate TOON format
258
+ python validate_toon.py analysis.toon
259
+
260
+ # Compare TOON vs YAML
261
+ python validate_toon.py analysis.yaml analysis.toon
262
+
263
+ # Run comprehensive tests
264
+ bash project.sh
265
+ ```
266
+
267
+ ### Test Results
268
+
269
+ - **✅ Functions**: 100% data consistency (443/443)
270
+ - **✅ Statistics**: Perfect correlation
271
+ - **✅ Structure**: All required sections present
272
+ - **✅ Insights**: Actionable recommendations generated
273
+
274
+ ## Understanding the Output
275
+
276
+ ### LLM Prompt Structure
277
+ The generated prompt includes:
278
+ - System overview with metrics
279
+ - Call graph structure
280
+ - Behavioral patterns with confidence scores
281
+ - Data flow insights
282
+ - State machine definitions
283
+ - Reverse engineering guidelines
284
+
285
+ ### Behavioral Patterns
286
+ Each pattern includes:
287
+ - **Name**: Descriptive identifier
288
+ - **Type**: sequential, conditional, iterative, recursive, state_machine
289
+ - **Entry/Exit points**: Key functions
290
+ - **Decision points**: Conditional logic locations
291
+ - **Data transformations**: Variable dependencies
292
+ - **Confidence**: Pattern detection certainty
293
+
294
+ ### Reverse Engineering Guidelines
295
+ The analysis provides specific guidance for:
296
+ 1. Preserving call graph structure
297
+ 2. Implementing identified patterns
298
+ 3. Maintaining data dependencies
299
+ 4. Recreating state machines
300
+ 5. Preserving decision logic
301
+
302
+ ## Advanced Features
303
+
304
+ ### State Machine Detection
305
+ Automatically identifies:
306
+ - State variables
307
+ - Transition methods
308
+ - Source and destination states
309
+ - State machine hierarchy
310
+
311
+ ### Data Flow Tracking
312
+ Maps:
313
+ - Variable dependencies
314
+ - Data transformations
315
+ - Information flow paths
316
+ - Side effects
317
+
318
+ ### Dynamic Tracing
319
+ When using dynamic mode:
320
+ - Function entry/exit timing
321
+ - Call stack reconstruction
322
+ - Exception tracking
323
+ - Performance profiling
324
+
325
+ ## Integration with LLMs
326
+
327
+ The generated `llm_prompt.md` is designed to be:
328
+ - **Comprehensive**: Contains all necessary system information
329
+ - **Structured**: Organized for easy parsing
330
+ - **Actionable**: Includes specific implementation guidance
331
+ - **Language-agnostic**: Describes behavior, not implementation
332
+
333
+ Example usage with an LLM:
334
+ ```
335
+ "Based on the TOON analysis provided, implement this system in Go,
336
+ preserving all behavioral patterns and data flow characteristics."
337
+ ```
338
+
339
+ ## Format Comparison
340
+
341
+ | Feature | TOON | YAML | JSON |
342
+ |---------|------|------|------|
343
+ | **Size** | 🎯 200KB | 2.5MB | 2.6MB |
344
+ | **Readability** | ⭐⭐⭐⭐⭐ | ⭐⭐⭐ | ⭐⭐ |
345
+ | **Processing Speed** | ⚡ Fast | 🐌 Slow | 🐌 Slow |
346
+ | **Human-Friendly** | ✅ Yes | ❌ No | ❌ No |
347
+ | **Machine-Readable** | ✅ Yes | ✅ Yes | ✅ Yes |
348
+ | **Insights** | ✅ Built-in | ❌ No | ❌ No |
349
+
350
+ ## Limitations
351
+
352
+ - Dynamic analysis requires test files
353
+ - Complex inheritance hierarchies may need manual review
354
+ - External library calls are treated as black boxes
355
+ - Runtime reflection and metaprogramming not fully captured
356
+
357
+ ## Contributing
358
+
359
+ The analyzer is designed to be extensible. Key areas for enhancement:
360
+ - Additional pattern types
361
+ - Language-specific optimizations
362
+ - Improved visualization
363
+ - Real-time analysis mode
364
+ - TOON format enhancements
365
+
366
+ ## 🎯 Quick Reference
367
+
368
+ | Command | Output | Use Case |
369
+ |---------|--------|----------|
370
+ | `code2flow ./project` | `analysis.toon` | Quick analysis (default) |
371
+ | `code2flow ./project -f all` | All formats | Complete analysis |
372
+ | `code2flow ./project -f toon,yaml` | TOON + YAML | Comparison |
373
+ | `code2flow ./project -m hybrid -v` | TOON + verbose | Detailed analysis |
374
+ | `python validate_toon.py analysis.toon` | Validation | Quality check |
375
+
376
+ ## 🔧 Advanced Usage
377
+
378
+ ### Custom Analysis Configuration
379
+
380
+ ```bash
381
+ # Deep analysis with all insights
382
+ code2flow ./project \
383
+ -m hybrid \
384
+ -f toon \
385
+ --max-depth 15 \
386
+ --full \
387
+ -v
388
+
389
+ # Performance-optimized for large projects
390
+ code2flow ./project \
391
+ -m static \
392
+ -f toon \
393
+ --strategy quick \
394
+ --max-memory 500
395
+
396
+ # Refactoring-focused analysis
397
+ code2flow ./project \
398
+ -m behavioral \
399
+ -f toon \
400
+ --refactor \
401
+ --smell god_function
402
+ ```
403
+
404
+ ### Integration Examples
405
+
406
+ #### CI/CD Pipeline
407
+ ```bash
408
+ #!/bin/bash
409
+ # Analyze code quality in CI
410
+ code2flow ./src -f toon -o ./analysis
411
+ python validate_toon.py ./analysis/analysis.toon
412
+ if [ $? -eq 0 ]; then
413
+ echo "✅ Code analysis passed"
414
+ else
415
+ echo "❌ Code analysis failed"
416
+ exit 1
417
+ fi
418
+ ```
419
+
420
+ #### Pre-commit Hook
421
+ ```bash
422
+ #!/bin/sh
423
+ # .git/hooks/pre-commit
424
+ code2flow ./ -f toon -o ./temp_analysis
425
+ python validate_toon.py ./temp_analysis/analysis.toon
426
+ rm -rf ./temp_analysis
427
+ ```
428
+
429
+ ## 📊 Real-World Examples
430
+
431
+ ### Microservice Analysis
432
+ ```bash
433
+ # Analyze microservice complexity
434
+ code2flow ./microservice -f toon -o ./service_analysis
435
+ # Results: 15 critical functions, 3 modules need refactoring
436
+ ```
437
+
438
+ ### Legacy Code Migration
439
+ ```bash
440
+ # Prepare for legacy system migration
441
+ code2flow ./legacy -f toon,yaml -o ./migration_analysis
442
+ # Use TOON for quick overview, YAML for detailed migration planning
443
+ ```
444
+
445
+ ### Code Review Enhancement
446
+ ```bash
447
+ # Generate insights for code review
448
+ code2flow ./feature-branch -f toon --refactor -o ./review
449
+ # Focus on critical functions and code smells
450
+ ```
451
+
452
+ ## 🚀 Migration Guide
453
+
454
+ ### From YAML to TOON
455
+
456
+ **Before:**
457
+ ```bash
458
+ code2flow ./project -f yaml -o ./analysis
459
+ # Output: analysis.yaml (2.5MB)
460
+ ```
461
+
462
+ **After:**
463
+ ```bash
464
+ code2flow ./project -f toon -o ./analysis
465
+ # Output: analysis.toon (204KB)
466
+ ```
467
+
468
+ **Benefits:**
469
+ - 10x smaller files
470
+ - Faster processing
471
+ - Built-in insights
472
+ - Automatic recommendations
473
+
474
+ ### Backward Compatibility
475
+
476
+ ```bash
477
+ # Still generate YAML if needed
478
+ code2flow ./project -f toon,yaml
479
+ # Both formats available for comparison
480
+ ```
481
+
482
+ ## 📋 TOON Format Specification
483
+
484
+ ### File Structure
485
+ ```
486
+ analysis.toon
487
+ ├── meta # Metadata (project, mode, timestamp)
488
+ ├── stats # Analysis statistics
489
+ ├── functions # Function analysis with complexity
490
+ ├── classes # Class information from function grouping
491
+ ├── modules # Module-level statistics
492
+ ├── patterns # Detected design patterns
493
+ ├── call_graph # Top 50 most important functions
494
+ └── insights # Recommendations and summaries
495
+ ```
496
+
497
+ ### Complexity Scoring
498
+
499
+ | Factor | Weight | Example |
500
+ |--------|--------|---------|
501
+ | Loops (FOR/WHILE) | 2.0 | `for i in range(10):` |
502
+ | Conditions (IF) | 1.0 | `if condition:` |
503
+ | Method calls | 1.0 | `obj.method()` |
504
+ | Size (>10 nodes) | 1.0 | Large functions |
505
+ | Returns/Assignments | 0.5 | `return value`, `x = 1` |
506
+
507
+ ### Tier Classification
508
+
509
+ - **Critical (≥5.0)**: Immediate refactoring required
510
+ - **High (3.0-4.9)**: Consider refactoring
511
+ - **Medium (1.5-2.9)**: Monitor complexity
512
+ - **Low (0.1-1.4)**: Acceptable
513
+ - **Basic (0.0)**: Simple functions
514
+
515
+ ## 🔍 Troubleshooting
516
+
517
+ ### Common Issues
518
+
519
+ **Issue:** `analysis.toon not found`
520
+ ```bash
521
+ # Solution: Check output directory
522
+ ls -la ./output/
523
+ # Should contain analysis.toon file
524
+ ```
525
+
526
+ **Issue:** Validation fails
527
+ ```bash
528
+ # Solution: Run with verbose output
529
+ code2flow ./project -f toon -v
530
+ # Check for any errors during analysis
531
+ ```
532
+
533
+ **Issue:** Large file sizes
534
+ ```bash
535
+ # Solution: Use TOON format instead of YAML
536
+ code2flow ./project -f toon # 200KB vs 2.5MB
537
+ ```
538
+
539
+ ### Performance Issues
540
+
541
+ **Memory Usage:**
542
+ ```bash
543
+ # Limit memory for large projects
544
+ code2flow ./large-project --max-memory 500 -f toon
545
+ ```
546
+
547
+ **Slow Analysis:**
548
+ ```bash
549
+ # Use fast mode for initial exploration
550
+ code2flow ./project -m static -f toon --strategy quick
551
+ ```
552
+
553
+ ## 🤝 Contributing to TOON Format
554
+
555
+ The TOON format is designed to be extensible. Areas for contribution:
556
+
557
+ - **New complexity metrics**
558
+ - **Additional pattern detection**
559
+ - **Enhanced recommendations**
560
+ - **Visualization improvements**
561
+ - **Integration with other tools**
562
+
563
+ ### Development Setup
564
+
565
+ ```bash
566
+ # Clone and setup development environment
567
+ git clone https://github.com/tom-sapletta/code2flow.git
568
+ cd code2flow
569
+ pip install -e ".[dev]"
570
+
571
+ # Run tests
572
+ bash project.sh
573
+
574
+ # Validate TOON format
575
+ python validate_toon.py output/analysis.toon
576
+ ```
577
+
578
+ ## 📚 Additional Resources
579
+
580
+ - [TOON Format Validation](validate_toon.py) - Built-in validation tool
581
+ - [Project Testing Script](project.sh) - Comprehensive test suite
582
+ - [CLI Reference](code2flow/cli.py) - Complete command-line interface
583
+ - [Exporter Implementation](code2flow/exporters/base.py) - TOON format implementation
584
+
585
+ ---
586
+
587
+ **Ready to analyze your code?** Start with the optimized TOON format:
588
+
589
+ ```bash
590
+ code2flow ./your-project -f toon
591
+ ```
592
+
593
+ ## License
594
+
595
+ Apache License 2.0 - see [LICENSE](LICENSE) for details.
596
+
597
+ ## Author
598
+
599
+ Created by **Tom Sapletta** - [tom@sapletta.com](mailto:tom@sapletta.com)
@@ -0,0 +1,43 @@
1
+ code2flow/__init__.py,sha256=qTjqgR9ODIN28-dmkX7P-_gMWPewb7rSwKixC-tAfJY,1068
2
+ code2flow/__main__.py,sha256=uhNwQhN-MYxasOaS-ETTFjd45y50DFwTEN6qW_x3Pjw,115
3
+ code2flow/cli.py,sha256=QTmtlf4nMEi2OXEg_zgFA94D6GG3tGAE_Kx70Hpo5To,16392
4
+ code2flow/llm_flow_generator.py,sha256=EfrIFgEWvoQ4D3pgmmlgbFbsjgrXzr3rGRQ-9hnUODI,13177
5
+ code2flow/llm_task_generator.py,sha256=47wc-PO_ZrMhXQj2o5DKDK3IwOEeX2CzpnSdpUbgl6k,8471
6
+ code2flow/mermaid_generator.py,sha256=LBHnHAgA8vSrLEKcKD5PAZ1YcchGWM9x343AhsyYKvA,18354
7
+ code2flow/analysis/__init__.py,sha256=bsXZ2KRe1crHwhjSg6GcVzpj9atrEh8qXSAyn7FHdn8,400
8
+ code2flow/analysis/call_graph.py,sha256=dTVe8HefxvJIVarYUwgKNkr6I0EqmRlKKY0qhE9BE4w,7605
9
+ code2flow/analysis/cfg.py,sha256=Kx12QLP4R5pVWrFQbLIl-pxK1u6TDOt8iI9ZEa3VhZo,10716
10
+ code2flow/analysis/coupling.py,sha256=68uDclqSR78KwkHt_U-rRHPfC9DdAZ028NQSNh3D8j4,3319
11
+ code2flow/analysis/data_analysis.py,sha256=FqQjB5UkaeF_EhGLgCy4f1fl9kADcSmfiw0mecURVQQ,14433
12
+ code2flow/analysis/dfg.py,sha256=fKLT0mF1xU3FT7Kf3I1QZupSUSnzjb03BhPxc2TAOYc,8487
13
+ code2flow/analysis/smells.py,sha256=VBinDPkX6NlJlo_0XRAmhSUp5rFIs-DTiezwkdmXqi0,9193
14
+ code2flow/core/__init__.py,sha256=vj840f-QrXBcUl0FroOe9C1p59FXHtzl_1xnE3_NEXI,835
15
+ code2flow/core/analyzer.py,sha256=8yEsK-7qtCDMkR5ob8Pp7VfciLMd6yjw2-iKAUIGbIY,31060
16
+ code2flow/core/config.py,sha256=GmqPJuT9w3U_bJQFC6G5TBKzFANvv21-cSDYG9ze09E,4679
17
+ code2flow/core/models.py,sha256=2yMXguavdeEgu6JGc3Dk9onl7nG5-90t2hgc0Wk3q8c,6106
18
+ code2flow/core/streaming_analyzer.py,sha256=vHsb8akdfe6kVPnxkbpbXjvzP_W8WpddLcpUi3sWwDQ,23253
19
+ code2flow/exporters/__init__.py,sha256=5OvREfI_-jrzEqUd0407PGA7O53xx67OW3feedmaRqk,405
20
+ code2flow/exporters/base.py,sha256=_Mx1lePMSglPhZzhP6xw5GTf0PVibaw4U8Z1J5cEJXE,371
21
+ code2flow/exporters/json_exporter.py,sha256=lBhcfQ8XR7s9yEqut52bLSlbLl065JnMSqnHgLb3DrA,658
22
+ code2flow/exporters/llm_exporter.py,sha256=LeezkvM3afZMn4YsWMxTh44teKHaRMr0ykJn2JG-JGc,9780
23
+ code2flow/exporters/mermaid_exporter.py,sha256=ZOnpSGufDeqfATratKejF4jLC8MW_yB_i382o--JyAM,2623
24
+ code2flow/exporters/toon.py,sha256=EFRvH6ffo_DtgGd8KMSKMYriqfZZ-SmtxazeQDM_Cg4,16785
25
+ code2flow/exporters/yaml_exporter.py,sha256=SDFSlTKFxmrNeg7ke5JAfR9viWJ2_1Q2dyAFYrTFg_M,5455
26
+ code2flow/nlp/__init__.py,sha256=jCxrdpEJmCWhoWltzPbTSrJvE9kB-Q-1p6-3P0ioVZs,586
27
+ code2flow/nlp/config.py,sha256=ZL_5yiW0UpD-S8axCiH-iCD5F1rYQ02KkTEY_c4Rzhw,6189
28
+ code2flow/nlp/entity_resolution.py,sha256=7R0LUMTFvWMZqp4vjyzxDqoqhdVdQa3EUIHDIg1gwNM,12034
29
+ code2flow/nlp/intent_matching.py,sha256=O721054NpUZ8AawHSW7_-pxktJFENWgUouNqbja42C0,10894
30
+ code2flow/nlp/normalization.py,sha256=Qy2Nd4EG7FVEm0EIU45qlNhSlnhucEzfR2hdtpeI6eg,4350
31
+ code2flow/nlp/pipeline.py,sha256=cWQdZMvmdbz9gOLk5t8MGH4a_BJ9_FbtZFMro-kQUsw,13931
32
+ code2flow/patterns/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
33
+ code2flow/patterns/detector.py,sha256=dytO145ULT0zn-nPIgLAK1NO1GfqqODRJvCuEviQMSA,6751
34
+ code2flow/refactor/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
35
+ code2flow/refactor/prompt_engine.py,sha256=wCZYSloiPrnQE-GJEad1VpJZigDQYgL57AOs4hfx8K0,7738
36
+ code2flow/visualizers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
37
+ code2flow/visualizers/graph.py,sha256=uk6pjR4Qf3QUAqmNJteexkAhMULZTA5ZO5N53SUdFE8,6415
38
+ code2flow_toon-0.2.4.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
39
+ code2flow_toon-0.2.4.dist-info/METADATA,sha256=-0kq6rE488HBHKhuY3skZHSf4YgxsVpaeA33mptsIJI,15754
40
+ code2flow_toon-0.2.4.dist-info/WHEEL,sha256=YCfwYGOYMi5Jhw2fU4yNgwErybb2IX5PEwBKV4ZbdBo,91
41
+ code2flow_toon-0.2.4.dist-info/entry_points.txt,sha256=ZeUga-oQQIRw1EpzqvNodYnyPWbmoeVlZj8W1xddGVs,49
42
+ code2flow_toon-0.2.4.dist-info/top_level.txt,sha256=e-l_BvGCgzuB4vVmCMbArcK8Qk_GpQMYNEdEIsboIGE,10
43
+ code2flow_toon-0.2.4.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (82.0.0)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ code2flow = code2flow.cli:main