Skip to main content

rope – the world’s most advanced open source Python refactoring library

Build Status Latest version Download count Documentation Status Codecov

Overview

Rope is the world’s most advanced open source Python refactoring library (yes, I totally stole that tagline from Postgres).

Standard Python syntax is supported up to Python 3.15. Please file bugs and contribute patches if you encounter gaps.

Since version 1.0.0, rope no longer supports 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 dependencies, 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:

Packaging Status

Packaging status 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.

Metadata

Release files for rope 1.16.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rope 1.16.0
File Size Uploaded Provenance Actions
rope-1.16.0.tar.gz 311.5 kB With provenance Details for rope-1.16.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rope 1.16.0
File Interpreter ABI Platform Actions
rope-1.16.0-py3-none-any.whl Python 3 none any Details for rope-1.16.0-py3-none-any.whl

Total release size: 520.8 kB

Release files / rope-1.16.0.tar.gz

Download URL rope-1.16.0.tar.gz
Size 311.5 kB
Tags Source
SHA-256 checksum
How to use checksums
396896fe82f58c0f3af8e886461be77e65746e4365bcc0cfcfe25a7c007158a2
BLAKE2b-256 checksum
How to use checksums
9829956c22a4d5116520e31df777e9ba2e92f30cdd5584482a6fd69051c3fd8a
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 Nov 28, 2026.

Transparency log

Release files / rope-1.16.0-py3-none-any.whl

Download URL rope-1.16.0-py3-none-any.whl
Size 209.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b4345d9cd7726ca98615b3310daca411552b5b5f79a65f53eee98e31ca3c3f86
BLAKE2b-256 checksum
How to use checksums
5dfe08acb6e60f9e70ba89efde702a5d3a5ebedd74a119b81ce85b63b3d6af41
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 Nov 28, 2026.

Transparency log

Security for rope 1.16.0

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for rope-1.16.0.tar.gz

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 Nov 28, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.16.0 This release

2 release files Full provenance

0.9.1

0.9

0.8.4

0.8.3

0.8.2

0.8.1

0.8

0.7.9

0.7.8

0.7.7

0.7.6

0.7.5

0.7.4

0.7.3

0.7.2

0.7.1

0.7

0.6.2

0.6.1

0.6

0.5

0.5rc1

0.4

0.4rc1

0.3

0.3rc1

0.2

0.2pre4

0.2pre3

0.2pre2

0.2RC

0.6m6

0.6m5

0.6m4

0.6m3

0.6m2

0.6m1

0.5m5

0.5m4

0.5m3

0.5m2

0.5m1

0.4m5

0.4m4

0.4m3

0.4m2

0.4m1

0.3m5

0.3m4

0.3m3

0.3m2

0.3m1

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page