Emacs Python Development Environment
Emacs Lisp Python Shell
Latest commit 5960e2a Dec 12, 2017 @gopar gopar Merge pull request #1242 from gopar/remove-importmagic
Remove importmagic
Failed to load latest commit information.
docs Remove importmagic Dec 10, 2017
elpy Remove importmagic Dec 10, 2017
scripts Add elpy-refactor to release script May 13, 2017
snippets/python-mode Return correct form of "super" depending on Python version Jan 20, 2016
test Merge pull request #1242 from gopar/remove-importmagic Dec 12, 2017
.bumpversion.cfg Bump version: 1.16.1 → 1.17.0 Oct 29, 2017
.coveragerc Add coveralls badge. Jun 26, 2014
.gitignore Added yapf as another formatter Nov 6, 2015
.travis.yml Remove importmagic Dec 10, 2017
CONTRIBUTING.rst Switch URLs to readthedocs.io Apr 28, 2016
Cask Use MELPA stable as the official package repository Dec 2, 2017
LICENSE Add LICENSE file. Jan 28, 2013
MANIFEST.in Fix MANIFEST.in Sep 20, 2013
NEWS.rst elpy-shell: added documentation Nov 30, 2017
README.rst Remove importmagic Dec 10, 2017
RELEASE.txt Remove release branch from RELEASE.txt, not needed anymore Oct 28, 2016
elpy-django.el Fix compilation warnings Dec 27, 2016
elpy-pkg.el Merge pull request #1185 from rgemulla/master Oct 29, 2017
elpy-profile.el Add commands to profile python buffers Feb 27, 2017
elpy-refactor.el Add obsolete message for importmagic functions Dec 11, 2017
elpy-shell.el Add project root to shell path Dec 7, 2017
elpy.el Merge pull request #1242 from gopar/remove-importmagic Dec 12, 2017
requirements-dev.txt Bump dependency versions Sep 22, 2017
requirements.txt Remove importmagic Dec 10, 2017
requirements3.txt Remove importmagic Dec 10, 2017
setup.cfg Fix MANIFEST.in Sep 20, 2013
setup.py Remove importmagic Dec 10, 2017


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.

https://secure.travis-ci.org/jorgenschaefer/elpy.png?branch=master https://coveralls.io/repos/jorgenschaefer/elpy/badge.png?branch=master


Elpy is fully documented at readthedocs.io:


Quick Installation

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 *scratch* buffer:

(require 'package)
(add-to-list 'package-archives
             '("melpa-stable" . "https://stable.melpa.org/packages/"))

Then run M-x package-refresh-contents to load the contents of the new repository, and M-x package-install RET elpy RET to install elpy.

Finally, add the following to your .emacs:




For questions regarding Elpy, do not hesitate to open an issue on github or visit us on IRC, channel #emacs-elpy on irc.freenode.net.


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.

Thank You

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.