$npx skillfedfor your agent

rope

a python refactoring library...

Worth itPyPI Software DevelopmentReleased Jul 20251.6M downloads / moLGPL-3.0-or-laterPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — rope-1.14.0-py3-none-any.whl
v1.14.0 · released 2025-07-12 · Python >=3.8 · 1 runtime deps: pytoolconfig

Yes. Rope is worth installing if you need to build or integrate refactoring capabilities into Python tooling. It has low install friction, active maintenance, no security vulnerabilities, and a copyleft license that is straightforward for open-source projects. The copyleft requirement is the main consideration for proprietary applications—review LGPL-3.0-or-later obligations if your use case is commercial.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.8 or later; Python 2 is not supported as of version 1.0.0.
  • Low install friction with a single runtime dependency (pytoolconfig).
  • The package is actively maintained with recent commits and has been in development since 2006, indicating stability and community trust.

License · maintenance · safety

LGPL-3.0-or-later (copyleft) — Licensed under LGPL-3.0-or-later (copyleft). Any derivative work or distribution must remain open source under compatible terms; proprietary applications using rope as a library should review copyleft obligations carefully.

last release 2025-07-12 (398 days) · last repo commit 2026-08-12 · 2,232 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,610,834 downloads/mo, #3,720 on PyPI

Verify before relying

pip install rope

from rope.base.project import Project
from rope.refactor.rename import Rename

project = Project('.')
rename = Rename(project, project.root.get_file('module.py'), 0)
changes = rename.get_changes('new_name')
project.do(changes)
  • Exact scope of Python 3.10 syntax support and any known gaps beyond what the description states
  • Performance characteristics when refactoring large codebases or projects with many files
  • Integration maturity with specific IDEs mentioned in the documentation
Same gist for agents: .md · .json

What it is and what it does

Rope is a library for programmatic Python code refactoring that parses and transforms Python source code safely. It handles common refactoring operations like renaming symbols across a codebase, extracting methods, moving code between modules, and reorganizing class hierarchies. The library works as a backend that IDEs and text editors can integrate with to provide refactoring capabilities to end users.

Rope is designed to be lightweight and self-contained—it depends only on Python itself and pytoolconfig, with no external system dependencies like Node.js. It's written in pure Python, making it debuggable and hackable by developers familiar with the language. The library supports Python syntax up to version 3.10 and is actively maintained with a long development history dating back to 2006.

Use it for

  • Integrate refactoring capabilities into a custom IDE, editor plugin, or development tool
  • Automate large-scale code migrations across a Python project (e.g., renaming a widely-used function)
  • Build a code analysis or transformation pipeline that needs to safely reorganize modules or extract common patterns
  • Provide refactoring as a service in a language server or remote development environment
  • Perform batch refactoring operations programmatically without manual editor interaction

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

Rope is worth installing if you need to build or integrate refactoring capabilities into Python tooling. It has low install friction, active maintenance, no security vulnerabilities, and a copyleft license that is straightforward for open-source projects. The copyleft requirement is the main consideration for proprietary applications—review LGPL-3.0-or-later obligations if your use case is commercial.

Install

rope on PyPI

Before you install

Low install friction with a single runtime dependency (pytoolconfig). The package is actively maintained with recent commits and has been in development since 2006, indicating stability and community trust.

Requires Python 3.8 or later; Python 2 is not supported as of version 1.0.0.

License in practice

Licensed under LGPL-3.0-or-later (copyleft). Any derivative work or distribution must remain open source under compatible terms; proprietary applications using rope as a library should review copyleft obligations carefully.

Quickstart

pip install rope

from rope.base.project import Project
from rope.refactor.rename import Rename

project = Project('.')
rename = Rename(project, project.root.get_file('module.py'), 0)
changes = rename.get_changes('new_name')
project.do(changes)

Verify before relying

  • Exact scope of Python 3.10 syntax support and any known gaps beyond what the description states
  • Performance characteristics when refactoring large codebases or projects with many files
  • Integration maturity with specific IDEs mentioned in the documentation

Package facts

LicenseLGPL-3.0-or-later copyleft
Python supportSupports the current Python release >=3.8
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
pytoolconfig
MaintenanceActively maintained 398 days since the last release
Last repo commit
First released
Downloads1,610,834 / month, #3,720 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaEnvironment :: MacOS XEnvironment :: Win32 (MS Windows)Environment :: X11 ApplicationsIntended Audience :: DevelopersLicense :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)Natural Language :: EnglishOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development

Evidence: rope-1.14.0-py3-none-any.whl

Tags

Capabilities
python refactoring librarycode transformation automationrename variables and functionsextract method refactoringpython ast manipulationide refactoring backendsafe code reorganization
Topics
code-transformationast-manipulationide-backend

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “python refactoring library”

  • ropeRope is a Python refactoring library that enables programmatic code…
  • fissixfissix is a backport of Python's lib2to3 library with enhancements,…
  • redbaronRedBaron is a Python library for programmatically modifying source…

Give your agent the search over MCP, or paste the wish link into any chat.

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.

permissive licensepure Python
323.3Mdownloads / mo

See also jedi · wirerope · openrewrite · fissix · jedi-language-server · google-pasta · laboratory · bpython · redbaron · parso