Python Refactoring

Open-source Python projects categorized as Refactoring

Top 10 Python Refactoring Projects

  • pre-commit

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

    Project mention: Git: fu** the history! | | 2023-09-14

    You can learn more here:

  • jedi

    Awesome autocompletion, static analysis and refactoring library for python

  • InfluxDB

    Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.

  • pre-commit-hooks

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

    Project mention: How to Write Impeccably Clean Code That Will Save Your Sanity | | 2023-07-27

    repos: - repo: rev: 23.3.0 hooks: - id: black args: [--config=./pyproject.toml] language_version: python3.11 - repo: rev: 6.0.0 hooks: - id: flake8 args: [--config=./tox.ini] language_version: python3.11 - repo: rev: 5.12.0 hooks: - id: isort args: ["--profile", "black", "--filter-files"] language_version: python3.11 - repo: rev: v4.4.0 hooks: - id: requirements-txt-fixer language_version: python3.11 - id: debug-statements - id: detect-aws-credentials - id: detect-private-key

  • Rope

    a python refactoring library

    Project mention: In neovim ,how to do refactoring python code? | /r/neovim | 2023-04-20

    Hi, maintainer of rope here. There are a number of different options to use rope in Vim/Neovim, we've documented them in this page

  • Bowler

    Safe code refactoring for modern Python.

  • Laboratory

    Achieving confident refactoring through experimentation with Python 2.7 & 3.3+

  • best-of-python-dev

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

  • Mergify

    Tired of breaking your main and manually rebasing outdated pull requests?. Managing outdated pull requests is time-consuming. Mergify's Merge Queue automates your pull request management & merging. It's fully integrated to GitHub & coordinated with any CI. Start focusing on code. Try Mergify for free.

  • RedBaron

    Bottom-up approach to refactoring in python

  • reorder-python-imports

    Rewrites source to reorder python imports

    Project mention: Boring Python: Code Quality | | 2022-12-20

    Two developers on the same python project should also use the same version... with poetry it is straightforward to keep track of dev dependencies. Reorder python imports is an alternative for isort:

  • refactor

    AST-based fragmental source code refactoring toolkit for Python

    Project mention: Refactor: Python Refactoring tool at the AST level | | 2023-09-17
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). The latest post mention was on 2023-09-17.

Python Refactoring related posts


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

Project Stars
1 pre-commit 10,962
2 jedi 5,503
3 pre-commit-hooks 4,341
4 Rope 1,683
5 Bowler 1,489
6 Laboratory 1,261
7 best-of-python-dev 799
8 RedBaron 668
9 reorder-python-imports 667
10 refactor 411
Write Clean Python Code. Always.
Sonar helps you commit clean code every time. With over 225 unique rules to find Python bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.