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: How to setup Black and pre-commit in python for auto text-formatting on commit | dev.to | 2024-03-29

    Today we are going to look at how to setup Black (a python code formatter) and pre-commit (a package for handling git hooks in python) to automatically format you code on commit.

  • jedi

    Awesome autocompletion, static analysis and refactoring library for python

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • pre-commit-hooks

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

  • Project mention: Implementing Quality Checks In Your Git Workflow With Hooks and pre-commit | dev.to | 2023-12-13

    # See https://pre-commit.com for more information # See https://pre-commit.com/hooks.html for more hooks repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v3.2.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer - id: check-yaml - id: check-toml - id: check-added-large-files - repo: local hooks: - id: tox lint name: tox-validation entry: pdm run tox -e test,lint language: system files: ^src\/.+py$|pyproject.toml|^tests\/.+py$ types_or: [python, toml] pass_filenames: false - id: tox docs name: tox-docs language: system entry: pdm run tox -e docs types_or: [python, rst, toml] files: ^src\/.+py$|pyproject.toml|^docs\/ pass_filenames: false - repo: https://github.com/pdm-project/pdm rev: 2.10.4 # a PDM release exposing the hook hooks: - id: pdm-lock-check - repo: https://github.com/jumanjihouse/pre-commit-hooks rev: 3.0.0 hooks: - id: markdownlint

  • Rope

    a python refactoring library

  • Bowler

    Safe code refactoring for modern Python.

  • Laboratory

    Achieving confident refactoring through experimentation with Python 2.7 & 3.3+

  • Project mention: Scientist: A Ruby library for carefully refactoring critical paths | news.ycombinator.com | 2023-11-14

    Yes, at the bottom it lists all similar libraries in other languages. Python has https://github.com/joealcorn/laboratory

  • best-of-python-dev

    šŸ† A ranked list of awesome python developer tools and libraries. Updated weekly.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • reorder-python-imports

    Rewrites source to reorder python imports

  • RedBaron

    Bottom-up approach to refactoring in python

  • Project mention: Show HN: Codemodder ā€“ A new codemod library for Java and Python | news.ycombinator.com | 2024-01-23

    https://github.com/PyCQA/redbaron

    E.g. PyCQA/bandit does static analysis for security issues in Python code:

  • refactor

    AST-based fragmental source code refactoring toolkit for Python

  • Project mention: Refactor: Python Refactoring tool at the AST level | news.ycombinator.com | 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).

Python Refactoring related posts

Index

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

Project Stars
1 pre-commit 12,006
2 jedi 5,652
3 pre-commit-hooks 4,874
4 Rope 1,833
5 Bowler 1,513
6 Laboratory 1,273
7 best-of-python-dev 907
8 reorder-python-imports 710
9 RedBaron 681
10 refactor 434

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com