Emacs Python Development Environment
Emacs Lisp Python Shell
Latest commit c793c9d Mar 20, 2017 @sam-s sam-s committed with Fix bug#1102: M-up and M-down fail in a buffer without mark
(elpy-nav-move-line-or-region-down, elpy-nav-move-line-or-region-up):
Do not use the "r" interactive instruction, get the region as necessary.
Permalink
Failed to load latest commit information.
docs Add commands to profile python buffers Feb 27, 2017
elpy Fix jedi 0.10.0 test for py 3.5 Feb 11, 2017
scripts Include elpy-django.el in release tarballs Feb 1, 2017
snippets/python-mode Return correct form of "super" depending on Python version Jan 20, 2016
test Add commands to profile python buffers Feb 27, 2017
.bumpversion.cfg Bump version: 1.14.0 → 1.14.1 Feb 1, 2017
.coveragerc Add coveralls badge. Jun 26, 2014
.gitignore Added yapf as another formatter Nov 6, 2015
.travis.yml Drop python 2.6 support. Mar 19, 2016
CONTRIBUTING.rst Switch URLs to readthedocs.io Apr 28, 2016
Cask Fix failing test for completion Feb 12, 2017
LICENSE Add LICENSE file. Jan 28, 2013
MANIFEST.in Fix MANIFEST.in Sep 20, 2013
NEWS.rst Update NEWS.rst for 1.14 Jan 28, 2017
README.rst One-line python requirements install line added Sep 16, 2016
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 Fix failing test for completion Feb 12, 2017
elpy-profile.el Add commands to profile python buffers Feb 27, 2017
elpy-refactor.el Update copyright lines. Jan 31, 2016
elpy.el Fix bug#1102: M-up and M-down fail in a buffer without mark Mar 24, 2017
requirements-dev.txt Update dependencies Feb 11, 2017
requirements.txt Update dependencies Feb 11, 2017
requirements3.txt Update dependencies Feb 11, 2017
setup.cfg Fix MANIFEST.in Sep 20, 2013
setup.py Update setup.py Jul 24, 2015

README.rst

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

Documentation

Elpy is fully documented at readthedocs.io:

https://elpy.readthedocs.io/en/latest/index.html

Quick Installation

First, install the required Python packages::

# Either of these
pip install rope
pip install jedi
# flake8 for code checks
pip install flake8
# importmagic for automatic imports
pip install importmagic
# and autopep8 for automatic PEP8 formatting
pip install autopep8
# and yapf for code formatting
pip install yapf

One-line install: pip install jedi flake8 importmagic autopep8

Evaluate this in your *scratch* buffer:

(require 'package)
(add-to-list 'package-archives
             '("elpy" . "https://jorgenschaefer.github.io/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:

(package-initialize)
(elpy-enable)

Done.

Contact

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.

License

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.