Giter Club home page Giter Club logo

elpy's Introduction

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.svg?branch=master Documentation Status https://coveralls.io/repos/jorgenschaefer/elpy/badge.svg?branch=master

Documentation

Elpy is fully documented at readthedocs.io:

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

Quick Installation

Python packages

First, install the required Python packages::

# Completion and code navigation
pip install jedi
# Code checks
pip install flake8
# Automatic formatting (PEP8, Yapf or Black)
pip install autopep8
pip install yapf
pip install black

One-line install: pip install jedi flake8 autopep8 black yapf

With use-package

(use-package elpy
  :ensure t
  :init
  (elpy-enable))

Or if you want to defer Elpy loading:

(use-package elpy
  :ensure t
  :defer t
  :init
  (advice-add 'python-mode :before 'elpy-enable))

Manually from Melpa

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.

Elpy can then be activated by running M-x elpy-enable. This can be made automatic by adding the following to your .emacs:

(elpy-enable)

From apt (Debian ≥10 an Ubuntu ≥18.10)

Users of Debian ≥10 or Ubuntu ≥18.10 can skip the instructions above this line and may simply install Elpy and all of its recommended dependencies with the following command::

sudo apt install elpa-elpy

Elpy can then be activated by running M-x elpy-enable. This can be made automatic by adding the following to your .emacs:

(elpy-enable)

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.

Thank You

If you would like to support this work, you can become a patreon:

https://www.patreon.com/jorgenschaefer

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.

elpy's People

Contributors

abangfarhan avatar apteryks avatar backwardspy avatar birkenfeld avatar chillaranand avatar coroa avatar cpitclaudel avatar fleimgruber avatar gaetano-guerriero avatar galaunay avatar georgek avatar gopar avatar jorgenschaefer avatar lins05 avatar offby1 avatar ohnemax avatar ptrv avatar rgemulla avatar roshanshariff avatar rpgoldman avatar sam-s avatar steinitzu avatar sten0 avatar stsquad avatar sww avatar teoric avatar thalmann avatar tommyx12 avatar tomnor avatar xuhdev avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.