{"categories":[{"label":"Quality Assurance","url":"https://skillfed.io/packages/category/software-development-quality-assurance/4"},{"label":"Code Generators","url":"https://skillfed.io/packages/category/software-development-code-generators"}],"enrichment":{"capability":"OpenRewrite Python provides a framework for authoring and testing automated refactoring recipes that transform Python source code using a lossless semantic tree representation.","skillfed_tags":["code-transformation","refactoring-framework","ast-manipulation"],"use_cases":["Rename function calls or refactor APIs across a large codebase without manual edits.","Migrate deprecated library calls to their modern equivalents automatically.","Enforce code style or naming conventions by applying transformations to all matching patterns.","Delete or replace obsolete code patterns in batch across multiple repositories.","Author and test custom refactoring recipes for domain-specific code transformations.","Build a marketplace of reusable recipes for your organization's refactoring needs."],"what_it_does":"OpenRewrite Python is a framework for writing automated code refactoring recipes that transform Python source code. It provides a lossless semantic tree representation of Python code, a recipe authoring API using dataclasses and visitor patterns, and a test harness for validating transformations before deployment. Recipes are written in pure Python and unit-tested locally, but execution against real codebases is orchestrated by the JVM runtime via the Moderne CLI over an RPC bridge\u2014there is no standalone in-process parser.\n\nThe package is designed for teams that need to apply large-scale, consistent code transformations across Python repositories. Typical use involves subclassing the Recipe class, implementing a visitor that traverses and modifies the tree, and registering the recipe with the Moderne CLI marketplace. The test harness lets you verify transformations on code snippets before running them at scale.","worth_installing":"Yes, if you need to author and test Python refactoring recipes and have access to the Moderne CLI infrastructure. The package is actively maintained, has no known vulnerabilities, and low install friction. However, verify that the Moderne Source Available License terms suit your use case, and confirm that your deployment environment can support the JVM runtime requirement for executing recipes at scale."},"id":"openrewrite","links":{"html":"https://skillfed.io/packages/openrewrite","md":"https://skillfed.io/packages/openrewrite.md","pypi":"https://pypi.org/project/openrewrite/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-14","license_spdx":null,"license_treatment":"unclear","name":"openrewrite","python_support":"supports_current","summary":"OpenRewrite automated refactoring for Python."},"popularity":{"monthly_downloads":112268,"position":12374,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"8.90.0"}
