rope – the world’s most advanced open source Python refactoring library
Overview
Rope is the world’s most advanced open source Python refactoring library (yes, I totally stole that tagline from Postgres).
Most Python syntax up to Python 3.10 is supported. Please file bugs and contribute patches if you encounter gaps.
Since version 1.0.0, rope no longer support running on Python 2. If you need Python 2 support, then check out the python2 branch or the 0.x.x releases.
Getting Started
Why use Rope?
Rope aims to provide powerful and safe refactoring
Rope is light on dependency, Rope only depends on Python itself
Unlike PyRight or PyLance, Rope does not depend on Node.js
Unlike PyLance or PyCharm, Rope is open source.
Unlike PyRight and PyLance, Rope is written in Python itself, so if you experience problems, you would be able to debug and hack it yourself in a language that you are already familiar with
In comparison to Jedi, Rope is focused on refactoring. While Jedi provides some basic refactoring capabilities, Rope supports many more advanced refactoring operations and options that Jedi does not.
Bug Reports
Send your bug reports and feature requests at python-rope’s issue tracker in GitHub.
Maintainers
Current active maintainer of Rope is Lie Ryan (@lieryan).
Special Thanks
Many thanks the following people:
Ali Gholami Rudi (@aligrudi) for initially creating the initial Rope project and most of Rope’s code
Matej Cepl (@mcepl) as former long-time Rope maintainer
Nick Smith <nicks@fastmail.fm> (@soupytwist) as former Rope maintainer
all maintainers of distro/package managers
Packaging Status
License
This program is under the terms of LGPL v3+ (GNU Lesser General Public License). Have a look at COPYING for more information.
Release files for rope 1.14.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| rope-1.14.0.tar.gz | 296.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| rope-1.14.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 503.9 kB
Release files / rope-1.14.0.tar.gz
| Download URL | rope-1.14.0.tar.gz |
|---|---|
| Size | 296.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8803e3b667315044f6270b0c69a10c0679f9f322ed8efe6245a93ceb7658da69
|
|
BLAKE2b-256 checksum How to use checksums |
743a85e60d154f26ecdc1d47a63ac58bd9f32a5a9f3f771f6672197f02a00ade
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 12, 2025.
Transparency logRelease files / rope-1.14.0-py3-none-any.whl
| Download URL | rope-1.14.0-py3-none-any.whl |
|---|---|
| Size | 207.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
00a7ea8c0c376fc0b053b2f2f8ef3bfb8b50fecf1ebf3eb80e4f8bd7f1941918
|
|
BLAKE2b-256 checksum How to use checksums |
7535130469d1901da2b3a5a377539b4ffcd8a5c983f1c9e3ba5ffdd8d71ae314
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 12, 2025.
Transparency log