straight.el
🍀 Next-generation, purely functional package manager for the Emacs hacker. [Moved to: https://github.com/radian-software/straight.el] (by raxod502)
poetry.el
Python dependency management and packaging in Emacs (by cybniv)
straight.el | poetry.el | |
---|---|---|
1 | 2 | |
2,182 | 142 | |
- | - | |
6.8 | 5.9 | |
over 1 year ago | about 1 month ago | |
Emacs Lisp | Emacs Lisp | |
MIT License | 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.
straight.el
Posts with mentions or reviews of straight.el.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-08-13.
-
Strategies for literate config in org-mode
;;; init.el -*- lexical-binding: t; -*- (require 'subr-x) ; for string-remove-suffix ;;; We will be using no-littering, but we need first to tell straight to keep ;;; repo and build directories out of the way (defun neo/litter-directory (&optional leaf-dir version) (let* ((dir (directory-file-name (file-name-directory user-emacs-directory))) (distribution (string-remove-suffix ".d" dir)) (package-dir (if leaf-dir leaf-dir "")) (version-dir (if version version ""))) (file-name-as-directory (format "%s-save.d/%s/%s" distribution package-dir version-dir)))) (setq straight-base-dir (neo/litter-directory)) (setq straight-build-dir (neo/litter-directory "straight/build" emacs-version)) ;;; streaight.el bootstrap code from https://github.com/raxod502/straight.el#getting-started ;;; NOTE: the directory used to be user-emacs-directory, we are moving packages ;;; out of our configuration and in places compatible with no-littering (defvar bootstrap-version) (let ((bootstrap-file (expand-file-name "straight/repos/straight.el/bootstrap.el" straight-base-dir)) (bootstrap-version 5)) (unless (file-exists-p bootstrap-file) (with-current-buffer (url-retrieve-synchronously "https://raw.githubusercontent.com/raxod502/straight.el/develop/install.el" 'silent 'inhibit-cookies) (goto-char (point-max)) (eval-print-last-sexp))) (load bootstrap-file nil 'nomessage)) ;;; Install org from upstream repo before using org-babel, or we would ;;; get whatever old version is distributed with Emacs. (straight-use-package '(org :type git :repo "https://code.orgmode.org/bzg/org-mode.git" :local-repo "org" :depth full :pre-build (straight-recipes-org-elpa--build) :build (:not autoloads) :files (:defaults "lisp/*.el" ("etc/styles/" "etc/styles/*")))) (straight-use-package 'use-package) ;; Configure use-package to use straight.el by default (use-package straight :custom (straight-use-package-by-default t)) (require 'ox-org) (with-temp-buffer (insert-file-contents "~/neo/neo.org") ;; TODO should export to a different file and move to this only if different ;; this would allow us to cache neo-flat.el. (let* ((flat-neo-config-dir (neo/litter-directory "neo")) (flat-neo-config-file (expand-file-name "neo-flat.org" flat-neo-config-dir))) (make-directory flat-neo-config-dir t) (org-export-to-file 'org flat-neo-config-file) (org-babel-load-file flat-neo-config-file)))
poetry.el
Posts with mentions or reviews of poetry.el.
We have used some of these posts to build our list of alternatives
and similar projects.
- what do you use to for managing environments/dependencies in python?
-
Setting up Eglot for Python
This snippet is what I'm using to configure eglot. The thing I found to be the more difficult is to make pyls find the project virtualenv/dependancies, for that I use https://github.com/cybniv/poetry.el with the minor mode poetry-tracking-mode.
What are some alternatives?
When comparing straight.el and poetry.el you can also consider the following projects:
quelpa-use-package - Emacs quelpa handler for use-package
diff-hl - Emacs package for highlighting uncommitted changes
emacs-pet - Tracks down the correct Python tooling executables from your virtualenvs so you can glue the binaries to Emacs and delete code in init.el
dotfiles - Literate configuration for linux box and emacs.
quelpa - Build and install your Emacs Lisp packages on-the-fly directly from source
straight.el - 🍀 Next-generation, purely functional package manager for the Emacs hacker.