Latest / Developer tools

pyscn

github.com · Package · Active

Python code quality analyzer for duplication, dead code and complexity

Visit github.com ↗Share

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 pyscn
pipx install pyscn
uv tool install pyscn

Confirmed 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

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

Releases per month, last 24 months (30 in total, busiest month 9). Based on the most recent releases on record.
  1. Repository created on GitHub: ludo-technologies/pyscn
  2. Release v0.1.0-beta.13 (pre-release)
  3. Found: d-yoda posted it to Show HN. Show HN
  4. Release v1.32.3
  5. Release v1.32.4
  6. Release v1.32.5
  7. Release v1.33.0
  8. Release v1.33.1
  9. Release v1.33.2
  10. Day-7 check recorded by Kip (details)
  11. 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

SourceRecordLast checked
Show HNlisting
official API record
GitHub repositoryludo-technologies/pyscn
REST API record
GitHub Releasesrelease 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

More in Developer tools

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.