Python Refactoring

Open-source Python projects categorized as Refactoring

Top 13 Python Refactoring Projects

Refactoring
  1. pre-commit

    A framework for managing and maintaining multi-language pre-commit hooks.

    Project mention: YouTube channel mirror on Jekyll - part 4 | dev.to | 2025-07-10

    Finally, just like the other script, we need to set up the local pre-commit hook with the Python dependencies as requirements.

  2. Sevalla

    Deploy and host your apps and databases, now with $50 credit! Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!

    Sevalla logo
  3. jedi

    Awesome autocompletion, static analysis and refactoring library for python

  4. pre-commit-hooks

    Some out-of-the-box hooks for pre-commit

    Project mention: Refactoring Our Codebase with Ruff and Pre-commit: A Developer's Guide | dev.to | 2025-04-18
  5. Rope

    a python refactoring library (by python-rope)

  6. Bowler

    Safe code refactoring for modern Python.

    Project mention: Refactoring Python with Tree-sitter and Jedi | news.ycombinator.com | 2024-09-27

    Great suggestion! Bowler seems to be abandoned actually. Its README mentions wanting to rewrite on top of LibCST though (https://github.com/facebookincubator/Bowler?tab=readme-ov-fi...).

  7. Laboratory

    Achieving confident refactoring through experimentation with Python 2.7 & 3.3+

  8. best-of-python-dev

    🏆 A ranked list of awesome python developer tools and libraries. Updated weekly.

  9. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  10. reorder-python-imports

    Rewrites source to reorder python imports

  11. RedBaron

    Bottom-up approach to refactoring in python

  12. refactor

    AST-based fragmental source code refactoring toolkit for Python

  13. repren

    Rename anything

    Project mention: Show HN: Rename Anything | news.ycombinator.com | 2024-12-03
  14. codelimit

    Your Refactoring Alarm 🔔

  15. legacy2modern

    L2M: Legacy website modernization with coordinated multi-agent AI

    Project mention: Is HTML and Bootstrap and jQuery and PHP Websites Comparable to COBOL? | news.ycombinator.com | 2025-08-07
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Python Refactoring discussion

Log in or Post with

Python Refactoring related posts

  • YouTube channel mirror on Jekyll - part 4

    1 project | dev.to | 10 Jul 2025
  • Claude 4

    11 projects | news.ycombinator.com | 22 May 2025
  • How one bad coder made our stack unbreakable

    1 project | dev.to | 18 May 2025
  • Refactoring Our Codebase with Ruff and Pre-commit: A Developer's Guide

    1 project | dev.to | 18 Apr 2025
  • Refactoring Python with Tree-sitter and Jedi

    9 projects | news.ycombinator.com | 27 Sep 2024
  • How to Estimate Cloud Costs with Terraform and InfraCost

    5 projects | dev.to | 6 Sep 2024
  • Show HN: Codemodder – A new codemod library for Java and Python

    7 projects | news.ycombinator.com | 23 Jan 2024
  • A note from our sponsor - SaaSHub
    www.saashub.com | 1 Sep 2025
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

What are some of the best open-source Refactoring projects in Python? This list will help you:

# Project Stars
1 pre-commit 14,246
2 jedi 5,991
3 pre-commit-hooks 5,984
4 Rope 2,105
5 Bowler 1,611
6 Laboratory 1,277
7 best-of-python-dev 1,167
8 reorder-python-imports 766
9 RedBaron 713
10 refactor 450
11 repren 366
12 codelimit 38
13 legacy2modern 15

Sponsored
Deploy and host your apps and databases, now with $50 credit!
Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!
sevalla.com

Did you know that Python is
the 2nd most popular programming language
based on number of references?