pyscn
A code quality analyzer for Python that looks at complexity, duplicated code, dead code and dependencies. It aims to keep AI-generated code maintainable.
Share on XLicense: MIT
Overview
pyscn is a code quality analyzer for Python, built with Go and tree-sitter. With one command it scores a whole codebase from 0 to 100 with an A to F grade and produces an HTML report showing what to fix first. It examines dead code, duplicated code, complexity, module and directory hotspots, architecture issues such as circular imports and layer violations, and class design. It is aimed at keeping code written with AI tools maintainable, and can run through uvx or pipx.
Key features
- Dead code and duplicate code detection
- Cyclomatic and cognitive complexity checks
- Architecture checks for circular imports and layer rule violations
- Class design metrics such as coupling and cohesion
Best for
Useful for Python developers who use AI coding tools and want a quick structural health check with a prioritized report.
- Upstream
- ludo-technologies/pyscn
- Fork on GitHub
- Guo-astro/pyscn
- Upstream stars
- 1.1k
- Category
- Developer tools and infrastructure
- Language
- Go
- License
- MIT
- Forked
- 2025-10-13
- Sync status
- In syncLast synced 2026-10-10
More in Developer tools and infrastructure
Creates full-stack project scaffolds from compatible stack parts, reducing setup and integration work. Use the CLI, browser builder, or MCP server to generate a project.
Forked 2026-10-09Last synced 2026-10-10License: MITDeveloper tools and infrastructureGitHub
A Python SDK for adding local face detection, landmark extraction, and face comparison to applications on Windows and Linux, without sending images off-device.
Forked 2026-10-09Last synced 2026-10-10No license declaredDeveloper tools and infrastructureGitHub
Whole-disk file search for macOS that finds files by name quickly, handles typos, and searches indexed file contents. Best for local desktop search from the CLI or Rust crate.
Forked 2026-10-08Last synced 2026-10-10License: MITDeveloper tools and infrastructureGitHub
REA helps reverse engineers inspect apps, binaries, and runtime behavior with agent workflows. It is used to understand how a feature works, find evidence, and build a similar capability in a project.
Forked 2026-10-08Last synced 2026-10-10License: MITDeveloper tools and infrastructureGitHub