python-rope / rope

a python refactoring library
GNU Lesser General Public License v3.0
1.88k stars 160 forks source link
ast python refactoring refactoring-tools

.. _GitHub python-rope / rope: https://github.com/python-rope/rope

rope -- the world's most advanced open source Python refactoring library

|Build status badge| |Latest version badge| |Download count badge| |ReadTheDocs status badge| |Codecov badge|

.. |Build status badge| image:: https://github.com/python-rope/rope/actions/workflows/main.yml/badge.svg :target: https://github.com/python-rope/rope/actions/workflows/main.yml :alt: Build Status

.. |Latest version badge| image:: https://badge.fury.io/py/rope.svg :target: https://badge.fury.io/py/rope :alt: Latest version

.. |Download count badge| image:: https://img.shields.io/pypi/dm/rope.svg :alt: Download count

.. |ReadTheDocs status badge| image:: https://readthedocs.org/projects/rope/badge/?version=latest :target: https://rope.readthedocs.io/en/latest/?badge=latest :alt: Documentation Status

.. |Codecov badge| image:: https://codecov.io/gh/python-rope/rope/graph/badge.svg?token=pU08MBXFIS :target: https://codecov.io/gh/python-rope/rope :alt: Codecov

Overview

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

.. _rope: https://github.com/python-rope/rope

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?

Bug Reports

Send your bug reports and feature requests at python-rope's issue tracker_ in GitHub.

.. _python-rope's issue tracker: https://github.com/python-rope/rope/issues

Maintainers

Current active maintainer of Rope is Lie Ryan (@lieryan_).

Special Thanks

Many thanks the following people:

.. @aligrudi: https://github.com/aligrudi .. @soupytwist: https://github.com/soupytwist .. @lieryan: https://github.com/lieryan .. @mcepl: https://github.com/mcepl .. all of our current and former contributors: https://github.com/python-rope/rope/blob/master/CONTRIBUTORS.md .. all authors of editor integrations: https://github.com/python-rope/rope/wiki/How-to-use-Rope-in-my-IDE-or-Text-editor%3F

Packaging Status

.. image:: https://repology.org/badge/vertical-allrepos/python:rope.svg?exclude_unsupported=1 :target: https://repology.org/project/python:rope/versions :alt: Packaging status

.. image:: https://repology.org/badge/vertical-allrepos/rope.svg?exclude_unsupported=1 :target: https://repology.org/project/rope/versions :alt: 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.

.. _COPYING: COPYING