pyscn 0.3.0b1__py3-none-win_amd64.whl → 0.5.0b1__py3-none-win_amd64.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.

Potentially problematic release.


This version of pyscn might be problematic. Click here for more details.

Binary file
@@ -0,0 +1,159 @@
1
+ Metadata-Version: 2.1
2
+ Name: pyscn
3
+ Version: 0.5.0b1
4
+ Summary: An intelligent Python code quality analyzer with architectural guidance
5
+ Home-page: https://github.com/ludo-technologies/pyscn
6
+ Author: DaisukeYoda
7
+ Author-email: daisukeyoda@users.noreply.github.com
8
+ License: MIT
9
+ Classifier: Development Status :: 4 - Beta
10
+ Classifier: Environment :: Console
11
+ Classifier: Intended Audience :: Developers
12
+ Classifier: License :: OSI Approved :: MIT License
13
+ Classifier: Operating System :: OS Independent
14
+ Classifier: Programming Language :: Python :: 3
15
+ Classifier: Programming Language :: Python :: 3.8
16
+ Classifier: Programming Language :: Python :: 3.9
17
+ Classifier: Programming Language :: Python :: 3.10
18
+ Classifier: Programming Language :: Python :: 3.11
19
+ Classifier: Programming Language :: Python :: 3.12
20
+ Classifier: Topic :: Software Development :: Quality Assurance
21
+ Requires-Python: >=3.8
22
+ Description-Content-Type: text/markdown
23
+
24
+ # pyscn - Python Code Quality Analyzer
25
+
26
+ [![PyPI](https://img.shields.io/pypi/v/pyscn?style=flat-square&logo=pypi)](https://pypi.org/project/pyscn/)
27
+ [![Go](https://img.shields.io/badge/Go-1.24+-00ADD8?style=flat-square&logo=go)](https://go.dev/)
28
+ [![License](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
29
+ [![CI](https://img.shields.io/badge/CI-Passing-brightgreen.svg)](https://github.com/ludo-technologies/pyscn/actions)
30
+
31
+ **pyscn** is an intelligent Python code quality analyzer that performs deep structural analysis to help you write cleaner, more maintainable code.
32
+
33
+ ## What Can It Do For You?
34
+
35
+ - 🔍 **Find Complex Code** - Identify functions that are hard to test and maintain
36
+ - 🧹 **Remove Dead Code** - Detect unreachable code that clutters your codebase
37
+ - 📋 **Detect Duplicates** - Find copy-pasted code for refactoring opportunities
38
+ - 🔗 **Analyze Dependencies** - Understand module relationships and coupling
39
+ - 📊 **Validate Architecture** - Ensure your code follows architectural patterns
40
+ - 📈 **Generate Reports** - Export findings in HTML, JSON, YAML, or CSV
41
+
42
+ ## Quick Start
43
+
44
+ ```bash
45
+ # Run analysis without installation
46
+ uvx pyscn analyze .
47
+ # or
48
+ pipx run pyscn analyze .
49
+ ```
50
+
51
+ ## Common Commands
52
+
53
+ ### `pyscn analyze`
54
+ Run comprehensive analysis with HTML report
55
+ ```bash
56
+ pyscn analyze . # All analyses with HTML report
57
+ pyscn analyze --json . # Generate JSON report
58
+ pyscn analyze --select complexity . # Only complexity analysis
59
+ pyscn analyze --select deps . # Only dependency analysis
60
+ pyscn analyze --select complexity,deps,deadcode . # Multiple analyses
61
+ ```
62
+
63
+ ### `pyscn check`
64
+ Fast CI-friendly quality gate
65
+ ```bash
66
+ pyscn check . # Quick pass/fail check
67
+ pyscn check --max-complexity 15 . # Custom thresholds
68
+ ```
69
+
70
+ ### `pyscn init`
71
+ Create configuration file
72
+ ```bash
73
+ pyscn init # Generate .pyscn.toml
74
+ ```
75
+
76
+ > 💡 Run `pyscn --help` or `pyscn <command> --help` for complete options
77
+
78
+ ## Configuration
79
+
80
+ Create a `.pyscn.toml` file or add `[tool.pyscn]` to your `pyproject.toml`:
81
+
82
+ ```toml
83
+ # .pyscn.toml
84
+ [complexity]
85
+ max_complexity = 15
86
+
87
+ [dead_code]
88
+ min_severity = "warning"
89
+
90
+ [output]
91
+ directory = "reports"
92
+ ```
93
+
94
+ > ⚙️ Run `pyscn init` to generate a full configuration file with all available options
95
+
96
+ ## Installation
97
+
98
+ ```bash
99
+ # Install with pipx (recommended)
100
+ pipx install pyscn
101
+
102
+ # Or run directly with uvx
103
+ uvx pyscn
104
+ ```
105
+
106
+ <details>
107
+ <summary>Alternative installation methods</summary>
108
+
109
+ ### Build from source
110
+ ```bash
111
+ git clone https://github.com/ludo-technologies/pyscn.git
112
+ cd pyscn
113
+ make build
114
+ ```
115
+
116
+ ### Go install
117
+ ```bash
118
+ go install github.com/ludo-technologies/pyscn/cmd/pyscn@latest
119
+ ```
120
+
121
+ </details>
122
+
123
+ ## CI/CD Integration
124
+
125
+ ```yaml
126
+ # .github/workflows/code-quality.yml
127
+ name: Code Quality
128
+ on: [push, pull_request]
129
+
130
+ jobs:
131
+ quality-check:
132
+ runs-on: ubuntu-latest
133
+ steps:
134
+ - uses: actions/checkout@v4
135
+ - run: pip install pyscn
136
+ - name: Quick quality check
137
+ run: pyscn check .
138
+ - name: Generate detailed report
139
+ run: pyscn analyze --json --select complexity,deadcode,deps src/
140
+ - name: Upload report
141
+ uses: actions/upload-artifact@v4
142
+ with:
143
+ name: code-quality-report
144
+ path: .pyscn/reports/
145
+ ```
146
+
147
+ ---
148
+
149
+ ## Documentation
150
+
151
+ 📚 **[Development Guide](docs/DEVELOPMENT.md)** • **[Architecture](docs/ARCHITECTURE.md)** • **[Testing](docs/TESTING.md)**
152
+
153
+ ## License
154
+
155
+ MIT License — see [LICENSE](LICENSE)
156
+
157
+ ---
158
+
159
+ *Built with ❤️ using Go and tree-sitter*
@@ -0,0 +1,8 @@
1
+ pyscn/__init__.py,sha256=HRv-Oi427RyttzZalJBUupLHKNFFErBDK49mgM93614,450
2
+ pyscn/__main__.py,sha256=W7pj0bglX-7BEIwWDVdW8yafZYzEsAh7IljY0wzVl6I,127
3
+ pyscn/bin/pyscn-windows-amd64.exe,sha256=FMktd1bpf9nINErIUoMk_9fhbPX8wUMELGoDZx1bKXs,10454528
4
+ pyscn/main.py,sha256=M_vLpulyfAZaM9gtI2HpY3DCFzHRM_ulv9FOdLQUqlE,2714
5
+ pyscn-0.5.0b1.dist-info/entry_points.txt,sha256=Hq59HuLE4ipwZthGmgvAv7aQF3oiixtCLxivVoNil5w,46
6
+ pyscn-0.5.0b1.dist-info/METADATA,sha256=en9eXUAqAQusbjg9dyRcDYtdmfQ1DQFO3zhvwQUAiDU,4628
7
+ pyscn-0.5.0b1.dist-info/WHEEL,sha256=ICN7qb8qrvTQybj9kVPKtBG-ipWcOAsdtIlsfZDPI74,96
8
+ pyscn-0.5.0b1.dist-info/RECORD,,
@@ -1,26 +0,0 @@
1
- Metadata-Version: 2.1
2
- Name: pyscn
3
- Version: 0.3.0b1
4
- Summary: An intelligent Python code quality analyzer with architectural guidance
5
- Home-page: https://github.com/ludo-technologies/pyscn
6
- Author: DaisukeYoda
7
- Author-email: daisukeyoda@users.noreply.github.com
8
- License: MIT
9
- Classifier: Development Status :: 4 - Beta
10
- Classifier: Environment :: Console
11
- Classifier: Intended Audience :: Developers
12
- Classifier: License :: OSI Approved :: MIT License
13
- Classifier: Operating System :: OS Independent
14
- Classifier: Programming Language :: Python :: 3
15
- Classifier: Programming Language :: Python :: 3.8
16
- Classifier: Programming Language :: Python :: 3.9
17
- Classifier: Programming Language :: Python :: 3.10
18
- Classifier: Programming Language :: Python :: 3.11
19
- Classifier: Programming Language :: Python :: 3.12
20
- Classifier: Topic :: Software Development :: Quality Assurance
21
- Requires-Python: >=3.8
22
- Description-Content-Type: text/markdown
23
-
24
- # pyscn - Python Quality of Life
25
-
26
- A next-generation Python static analysis tool that uses Control Flow Graph (CFG) and tree edit distance algorithms to provide deep code quality insights beyond traditional linters.
@@ -1,8 +0,0 @@
1
- pyscn/__init__.py,sha256=HRv-Oi427RyttzZalJBUupLHKNFFErBDK49mgM93614,450
2
- pyscn/__main__.py,sha256=W7pj0bglX-7BEIwWDVdW8yafZYzEsAh7IljY0wzVl6I,127
3
- pyscn/bin/pyscn-windows-amd64.exe,sha256=f2_eA9idlABciLqxDz9PscvxN1hCYqvadG0A88A5r7o,10199552
4
- pyscn/main.py,sha256=M_vLpulyfAZaM9gtI2HpY3DCFzHRM_ulv9FOdLQUqlE,2714
5
- pyscn-0.3.0b1.dist-info/entry_points.txt,sha256=Hq59HuLE4ipwZthGmgvAv7aQF3oiixtCLxivVoNil5w,46
6
- pyscn-0.3.0b1.dist-info/METADATA,sha256=fHpUQW_dkZFd_GY5RgDT9rY0jboTL16t0YRBF7hQ0S4,1133
7
- pyscn-0.3.0b1.dist-info/WHEEL,sha256=ICN7qb8qrvTQybj9kVPKtBG-ipWcOAsdtIlsfZDPI74,96
8
- pyscn-0.3.0b1.dist-info/RECORD,,