jedi
An autocompletion tool for Python that can be used for text editors.
Description
#################################################################################### Jedi - an awesome autocompletion, static analysis and refactoring library for Python #################################################################################### .. image:: http://isitmaintained.com/badge/open/davidhalter/jedi.svg :target: https://github.com/davidhalter/jedi/issues :alt: The percentage of open issues and pull requests .. image:: http://isitmaintained.com/badge/resolution/davidhalter/jedi.svg :target: https://github.com/davidhalter/jedi/issues :alt: The resolution time is the median time an issue or pull request stays open. .. image:: https://github.com/davidhalter/jedi/workflows/ci/badge.svg?branch=master :target: https://github.com/davidhalter/jedi/actions :alt: Tests .. image:: https://pepy.tech/badge/jedi :target: https://pepy.tech/project/jedi :alt: PyPI Downloads Jedi is a static analysis tool for Python that is typically used in IDEs/editors plugins. Jedi has a focus on autocompletion and goto functionality. Other features include refactoring, code search and finding references. Jedi has a simple API to work with. There is a reference implementation as a `VIM-Plugin <https://github.com/davidhalter/jedi-vim>`_. Autocompletion in your REPL is also possible, IPython uses it natively and for the CPython REPL you can install it. Jedi is well tested and bugs should be rare. Jedi can currently be used with the following editors/projects: - Vim (jedi-vim_, YouCompleteMe_, deoplete-jedi_, completor.vim_) - `Visual Studio Code`_ (via `Python Extension <https://marketplace.visualstudio.com/items?itemName=ms-python.python>`_) - Emacs (Jedi.el_, company-mode_, elpy_, anaconda-mode_, ycmd_) - Sublime Text (SublimeJEDI_ [ST2 + ST3], anaconda_ [only ST3]) - TextMate_ (Not sure if it's actually working) - Kate_ version 4.13+ supports it natively, you have to enable it, though. [`see <https://projects.kde.org/projects/kde/applications/kate/repository/show?rev=KDE%2F4.13>`_] - Atom_ (autocomplete-python-jedi_) - `GNOME Builder`_ (with support for GObject Introspection) - Gedit (gedi_) - wdb_ - Web Debugger - `Eric IDE`_ - `IPython 6.0.0+ <https://ipython.readthedocs.io/en/stable/whatsnew/version6.html>`_ - `xonsh shell <https://xon.sh/contents.html>`_ has `jedi extension <https://xon.sh/xontribs.html#jedi>`_ and many more! There are a few language servers that use Jedi: - `jedi-language-server <https://github.com/pappasam/jedi-language-server>`_ - `python-language-server <https://github.com/palantir/python-language-server>`_ (currently unmaintained) - `python-lsp-server <https://github.com/python-lsp/python-lsp-server>`_ (fork from python-language-server) - `anakin-language-server <https://github.com/muffinmad/anakin-language-server>`_ Here are some pictures taken from jedi-vim_: .. image:: https://github.com/davidhalter/jedi/raw/master/docs/_screenshots/screenshot_complete.png Completion for almost anything: .. image:: https://github.com/davidhalter/jedi/raw/master/docs/_screenshots/screenshot_function.png Documentation: .. image:: https://github.com/davidhalter/jedi/raw/master/docs/_screenshots/screenshot_pydoc.png Get the latest version from `github <https://github.com/davidhalter/jedi>`_ (master branch should always be kind of stable/working). Docs are available at `https://jedi.readthedocs.org/en/latest/ <https://jedi.readthedocs.org/en/latest/>`_. Pull requests with enhancements and/or fixes are awesome and most welcome. Jedi uses `semantic versioning <https://semver.org/>`_. If you want to stay **up-to-date** with releases, please **subscribe** to this mailing list: https://groups.google.com/g/jedi-announce. To subscribe you can simply send an empty email to ``jedi-announce+subscribe@googlegroups.com``. Issues & Questions ================== You can file issues and questions in the `issue tracker <https://github.com/davidhalter/jedi/>`. Alternatively you can also ask on `Stack Overflow <https://stackoverflow.com/questions/tagged/python-jedi>`_ with the label ``python-jedi``. Installation ============ `Check out the docs <https://jedi.readthedocs.org/en/latest/docs/installation.html>`_. Features and Limitations ======================== Jedi's features are listed here: `Features <https://jedi.readthedocs.org/en/latest/docs/features.html>`_. You can run Jedi on Python 3.6+ but it should also understand code that is older than those versions. Additionally you should be able to use `Virtualenvs <https://jedi.readthedocs.org/en/latest/docs/api.html#environments>`_ very well. Tips on how to use Jedi efficiently can be found `here <https://jedi.readthedocs.org/en/latest/docs/features.html#recipes>`_. API --- You can find a comprehensive documentation for the `API here <https://jedi.readthedocs.org/en/latest/docs/api.html>`_. Autocompletion / Goto / Documentation ------------------------------------- There are the following commands: - ``jedi.Scr
Release History
| Version | Changes | Urgency | Date |
|---|---|---|---|
| 0.19.2 | Imported from PyPI (0.19.2) | Low | 4/21/2026 |
| v0.19.2 | Tag v0.19.2 | Low | 11/11/2024 |
| v0.19.1 | Tag v0.19.1 | Low | 10/2/2023 |
| v0.19.0 | Tag v0.19.0 | Low | 7/28/2023 |
| v0.18.2 | Tag v0.18.2 | Low | 11/21/2022 |
| v0.18.1 | Tag v0.18.1 | Low | 11/17/2021 |
| v0.18.0 | Tag v0.18.0 | Low | 12/25/2020 |
| v0.17.2 | Tag v0.17.2 | Low | 7/17/2020 |
| v0.17.1 | Tag v0.17.1 | Low | 6/19/2020 |
| v0.17.0 | Tag v0.17.0 | Low | 4/14/2020 |
| v0.16.0 | Tag v0.16.0 | Low | 1/26/2020 |
| v0.15.2 | Tag v0.15.2 | Low | 12/20/2019 |
| v0.15.1 | Tag v0.15.1 | Low | 8/12/2019 |
| v0.15.0 | Tag v0.15.0 | Low | 8/11/2019 |
| v0.14.1 | Tag v0.14.1 | Low | 7/13/2019 |
| v0.14.0 | Tag v0.14.0 | Low | 6/20/2019 |
| v0.13.3 | Tag v0.13.3 | Low | 2/24/2019 |
| v0.13.2 | Tag v0.13.2 | Low | 12/15/2018 |
| v0.13.1 | Tag v0.13.1 | Low | 10/2/2018 |
| v0.13.0 | Tag v0.13.0 | Low | 10/1/2018 |
| v0.12.1 | Tag v0.12.1 | Low | 6/30/2018 |
