Elpy
Emacs Python Development Environment (by jorgenschaefer)
envrc
Emacs support for direnv which operates buffer-locally (by purcell)
Our great sponsors
Elpy | envrc | |
---|---|---|
11 | 18 | |
1,880 | 328 | |
- | - | |
6.0 | 7.9 | |
4 months ago | 11 days ago | |
Emacs Lisp | Emacs Lisp | |
GNU General Public License v3.0 only | - |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Elpy
Posts with mentions or reviews of Elpy.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-02-04.
-
Issues with setting up elpy
If you want to stick with Elpy, I'd suggest side-stepping the RealPython tutorial and diving in to Elpy's documentation directly. But keep in mind that the project has been looking for a new maintainer since March of 2021.
- Eglot has landed on master: Emacs now has a built-in LSP client
-
Fold docstrings on python files?
Elpy allows to do that with its folding module.
-
Performant alternative to pyright?
you can use elpy for that its not lsp but it might be faster than pyright.
-
What is your setup for python coding in emacs?
The last commit in https://github.com/jorgenschaefer/elpy master was 16 days ago, so it seems yes.
-
What IDE do you use to code Python?
And I'm using Elpy on Emacs. It works like a charm, which provides (quote from it README): - Code completion - Code Navigation - Interactive evaluation and interactive Python shell - On-the-fly syntax checking - Access to documentation
-
doom emacs python ctrl-c ctrl-c does not open a new buffer
This is one of the (minor) reasons I abandoned anaconda-mode (default for Doom) for elpy. You can do the same with this snippet in your packages.el lisp (package! anaconda-mode :ignore t) (package! elpy :recipe (:host github :repo "jorgenschaefer/elpy") :pin "2203597") ;; Commit date 2021/3/28 Anaconda is lightweight by comparison. Elpy is also a python package that needs to be installed. Read their docs before using. https://github.com/jorgenschaefer/elpy
-
Elpy is looking for a maintainer
I (current maintainer of Elpy) am not able to properly maintain the project anymore.
- Concatenate webpages
-
What is your workflow to read opensource software in emacs?
For python development, I use https://github.com/jorgenschaefer/elpy (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.)
envrc
Posts with mentions or reviews of envrc.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-12-09.
-
Emacs Advent Calendar 9: devdocs, code-cells, dREPL, etc.
buffer-env: A pure-Elisp version of the direnv utility. Useful to make Emacs aware of Python virtualenvs (which, judging by the questions posted here, is unfortunately still a complication for a lot of people). Similar to (and inspired by) envrc, but doesn't require the direnv program.
-
Nix Survival Mode: macOS upgrades won't break Nix anymore
Yes, most Nix users employ https://direnv.net or the equivalent for your IDE of choice. Emacs for instance has https://github.com/purcell/envrc which set per-buffer variables.
-
Beginner question: how do I set up virtual environments in my Python buffer?
Also take a look at the envrc package. I think it handles multiple projects better.
-
How do YOU use your PKMS?
I further make my software projects so that when I click a link I go into an environment pre-loaded with their dependencies so dropping in/out of projects is always frictionless. I do this with the reproducibility guarantees of nix, along with glue like nix-direnv and envrc-mode to direnv.
-
Minimal approach for python devel environment with flake
In conjunction with installing direnv on your favorite text editor, it's a very hassle free experience. Everything happens automatically. If you use Emacs, i higly recommend envrc.el
-
Nix and envrc
Direnv is installed using the nix-direnv installation instructions under "Via configuration.nix in NixOS". I read some recommendations that envrc.el is a better alternative then direnv.el, and after some testing I have to agree. (envrc-global-mode) is enabled in my config. This works perfectly with a normal emacs instance.
-
Emacs + emacs-direnv + Nix + vterm does not just work
I don't use flake.nix, only shell.nix, though check if the envrc package works any better for you. https://github.com/purcell/envrc
-
Wrapping gcc with libraries
As an alternative to emacs-direnv, I’d recommend the “envrc” package.
-
Eglot appreciation post
btw, my main issue regarding tramp was the fact that I didn't have my environment generated by direnv, via the https://github.com/purcell/envrc package. I use direnv almost exclusively to activate my nix-shell, so I can access the exact software dependencies required by that directory of a project.
-
Is it possible to let overlay Emacs use locally configured Agda libraries inside nix-shell?
I'm not familiar with these tools too but I highly recommend to look at https://github.com/purcell/envrc. If you are not familiar with direnv I suggest to try it with nix-shell/flakes before.
What are some alternatives?
When comparing Elpy and envrc you can also consider the following projects:
Suplemon - :lemon: Console (CLI) text editor with multi cursor support. Suplemon replicates Sublime Text like functionality in the terminal. Try it out, give feedback, fork it!
emacs-direnv - direnv integration for emacs
anakin-language-server - Yet another Jedi Python language server
dotemacs
buffer-env - Buffer-local process environments for Emacs
direnv - unclutter your .profile
emacs.d - Fast and robust Emacs setup.
lsp-bridge - A blazingly fast LSP client for Emacs
anaconda-mode - Code navigation, documentation lookup and completion for Python.
GNU/Emacs go-mode - Emacs mode for the Go programming language
stack - The Haskell Tool Stack