Dev tools · alternatives · 2026
24 alternatives to Python Source Code Refactoring Toolkit via AST
AST-based fragmental source code refactoring toolkit for Python
Python Source Code Refactoring Toolkit via AST is a developer tool for refactoring Python code using abstract syntax tree analysis. It helps programmers automatically transform and improve their codebase by parsing… Below are 24 products that do a similar job, ranked by how close each is in meaning and then by launch-day votes. Prices are shown for the 17 we have checked on their own sites, 16 of them free or with a free tier. Python Source Code Refactoring Toolkit via AST launched in 2021; newer entries below may have overtaken it.
the first sentences were written by AI from its launch page and website · 7 September 2026
Only the free ones: free alternatives to Python Source Code Refactoring Toolkit via AST →
- 1
Refurbfree▲123A tool for refurbishing and modernizing Python codebases
2022 · github.com · its alternatives →
- 2
Sourceryfree tier, from $12/mo▲487AI Agents that investigate and fix Sentry Issues
2021 · sourcery.ai · its alternatives →
- 3
DevSwat AST- visualizer with analyzerone-time $500▲81Turn codebases into interactive maps, graphs, and governance
Jul 2026 · dev-swat.com · its alternatives →
- 4
COBOL-REKTfree▲91This is an evolving toolkit of capabilities helpful for analysing and reverse engineering legacy Cobol code. Currently, the following capabilities are available: - Program / Section-level flowchart generation based on AST (SVG or PNG) - Parse Tree generation (with export to JSON) - Control Flow Tree generation (with export to JSON) - Allows embedding code comments as comment nodes in the graph - The SMOJOL Interpreter (WIP) - Injecting AST and Control Flow into Neo4J - Injecting Cobol data layouts from Data Division into Neo4J (with dependencies like MOVE, COMPUTE, etc.) + export to…
2024 · github.com · its alternatives →
- 5

An example of PEG usage.
2016 · github.com · its alternatives →
- 6AI
This tool helps C++ developers perform static code analysis by providing interactive exploration of abstract syntax trees (ASTs).
May 2026 · uvic-aurora.github.io · its alternatives →
- 7
ast-grep▲63It is heavily inspired by semgrep, but intends to be an AST-base searcher/linter/rewriter. https://github.com/ast-grep/ast-grep
2023 · ast-grep.github.io · its alternatives →
- 8
Modshimfree▲109Modshim is a Python development tool that provides an alternative to monkey-patching, forking, or vendoring packages.
2025 · github.com · its alternatives →
- 9
Coercefree▲155Actor runtime and distributed systems framework for Rust
2019 · github.com · its alternatives →
- 10

Copapy is a Python compiler designed for hard real-time systems like robotics and control applications.
Feb 2026 · github.com · its alternatives →
- 11
Refraction▲156Generate unit tests, create docs and refactor code using AI.
2023 · refraction.dev · its alternatives →
- 12

- 13
Refactoring▲83Make bad design better w/o messing w ext code behavior
2015 · amazon.com · its alternatives →
- 14

A simple Python debugger and profiler that generates animated visualizations of program flow, useful for algorithm learning.
2020 · github.com · its alternatives →
- 15

- 16
RepoReaperfree▲7RepoReaper to solve code context fragmentation in RAG.
Jan 2026 · github.com · its alternatives →
- 17SStepKit▲36
StepKit is an open-source SDK and framework for building durable workflows that run across any platform—including self-hosted environments, Inngest, Cloudflare, and Netlify—without platform-specific…
2025 · its alternatives →
- 18
Onboard-CLIfree▲24Onboard-CLI is an AI-powered command-line tool that uses abstract syntax trees (AST) to visualize codebases.
Jul 2026 · github.com · its alternatives →
- 19
FORGEfree▲9Formalized Optimized Refactoring Guided by Explainable AI
2025 · github.com · its alternatives →
- 20
Codegen▲14Codegen is an open-source Python library for programmatically manipulating Python and JavaScript/React codebases.
2025 · docs.codegen.com · its alternatives →
- 21
Refact▲17Refact is a Copilot alternative that has an autocomplete, integrated AI chat and powerful editing. We use our own models that are fine-tuned for each language, they are smaller than the one in Copilot, but are very powerful for their size. On certain tasks, you will not notice much difference: the model look up and down, and the context window is the same. Try it for free for JetBrains and VS Code.
2023 · refact.ai · its alternatives →
- 22
AST Visualizerfree tier, from $21.6/mo▲7Understand Complex Python Codebases in Seconds
Feb 2026 · creview.io · its alternatives →
- 23

Review the Python you changed, not the Python you inherited. Git-aware AST code review that runs in the seconds before git push.
Aug 2026 · github.com · its alternatives →
- 24
Larkfree▲15Lark is a parsing toolkit for Python, built with a focus on ergonomics, performance and modularity.
2017 · github.com · its alternatives →
Also compare
Ranked by how close each launch is in meaning, then by votes. Prices were read from each product’s own site when checked and can change. Refine with your own description →