pyscn
github.com · Package · Active
Python code quality analyzer for duplication, dead code and complexity
- Developer tools
- Package
- Go
- Day-7 check
- Day-30 check
- python
- code quality
- linter
- architecture analysis
- clone detection
- code complexity
- dependency analysis
- static analysis
- dead code detection
- python code quality
- Stars
- 1.1k
- Forks
- 79
- Open issues
- 7
- Last commit
- Releases
- ≥ 103
- Found
- 14 months ago
GitHub figures as of . They are context, not a ranking.
pyscn is a code quality analyzer for Python that detects duplicated code, dead code, complexity and coupling using tree edit distance, control-flow graphs and cyclomatic complexity. It is built with Go and tree-sitter. It suits developers reviewing AI-assisted Python code for messy patterns.
Repository description on GitHub: “Code quality analysis for Python in the age of AI coding.”
What it does
- Detects duplicated code using tree edit distance
- Finds dead code and reports cyclomatic complexity
- Measures coupling and dependencies across Python modules
- Built with Go and tree-sitter
Good for
- Find duplicated and dead code in AI-generated Python
- Flag overly complex functions before code review
Suits: Python developers reviewing AI-assisted code for messy patterns.
What you can try
Run uvx pyscn analyze . or install it with pip, as the post shows.
Install
brew install pyscnpipx install pyscnuv tool install pyscnConfirmed against the package registry. Read the project’s own instructions before running anything.
Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.
Found vs. released
Kip first saw pyscn on , when d-yoda posted it to Show HN. The oldest published release on GitHub is v0.1.0-beta.13, dated . pyscn had been shipping tagged releases for 27 days before it was found. 103 releases or more have been published in total; the latest is v1.33.2 ().
Day-7 and day-30 updates
Day 7 5 releases shipped
- 5 releases in the first 7 days: v1.0.1 (7 Oct 2025), v1.0.2 (10 Oct 2025), v1.0.3 (10 Oct 2025), v1.1.0 (11 Oct 2025), v1.1.1 (12 Oct 2025)
- Show HN discussion at check time: 136 points, 84 comments. API record
Checked , later than day 7 because tracking began after.
Day 30 8 releases shipped
- 8 releases in the first 30 days: v1.0.1 (7 Oct 2025), v1.0.2 (10 Oct 2025), v1.0.3 (10 Oct 2025), v1.1.0 (11 Oct 2025), v1.1.1 (12 Oct 2025), v1.2.0 (18 Oct 2025), v1.2.1 (18 Oct 2025), v1.2.2 (18 Oct 2025)
- Show HN discussion at check time: 136 points, 84 comments. API record
Checked , later than day 30 because tracking began after.
Release timeline every entry links to its source
- Repository created on GitHub: ludo-technologies/pyscn
- Release v0.1.0-beta.13 (pre-release)
- Found: d-yoda posted it to Show HN. Show HN
- Release v1.32.3
- Release v1.32.4
- Release v1.32.5
- Release v1.33.0
- Release v1.33.1
- Release v1.33.2
- Day-7 check recorded by Kip (details)
- Day-30 check recorded by Kip (details)
Showing the first and the 6 latest of 103 releases. All releases on GitHub
Quick answers
- When was pyscn released?
- Its first tagged release on GitHub is dated 8 Sep 2025. Kip found it on Show HN on 5 Oct 2025.
- Is pyscn open source?
- Its source is public on GitHub at ludo-technologies/pyscn under the MIT licence.
- What does pyscn run on?
- Command line.
- Is pyscn free?
- It is open source, so the code is free to read and run; check the licence for terms.
- Is pyscn still maintained?
- Yes. It had a commit or release in the last 90 days as of the latest check.
Provenance
| Source | Record | Last checked |
|---|---|---|
| Show HN | listing official API record | |
| GitHub repository | ludo-technologies/pyscn REST API record | |
| GitHub Releases | release list REST API record |
Stable ID hn-45481298. Summary drafted with AI from the source records above and checked against KipFound’s rules before publishing. Dates and release facts come only from those records.
Share
Similar tools
Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.