Elpy, the Emacs Lisp Python Environment
Elpy is an Emacs package to bring powerful Python editing to Emacs. It combines and configures a number of other packages, both written in Emacs Lisp as well as Python.
Elpy is fully documented at readthedocs.io:
First, install the required Python packages::
# Either of these pip install rope pip install jedi # flake8 for code checks pip install flake8 # and autopep8 for automatic PEP8 formatting pip install autopep8 # and yapf for code formatting pip install yapf
One-line install: pip install jedi flake8 autopep8
Evaluate this in your
(require 'package) (add-to-list 'package-archives '("melpa-stable" . "https://stable.melpa.org/packages/"))
M-x package-refresh-contents to load the contents of the
new repository, and
M-x package-install RET elpy RET to install
Finally, add the following to your
For questions regarding Elpy, do not hesitate to open an issue on
github or visit us on IRC, channel
This project is free software: You can redistribute it and/or modify it under the terms of the GNU General Public License, either version 3 of the License, or (at your option) any later version.
If you would like to support this work, you can become a patreon:
Please note that this is completely voluntary, and does not make you more important than others when it comes to issues, feature requests or anything. I appreciate donations, but do not feel compelled to spend money, and do not feel bad if you don't.