Skip to content

emil-vdw/emacs-poetry

Repository files navigation

Emacs Poetry

Dead simple Python Poetry virtualenv integration and utilities.

Philosophy

This package is not intended to replace the Poetry CLI, only complement It. It just adds some utilities to make it easier to work on Poetry projects in Emacs.

If you want to install dependencies, lock, etc. use the CLI. If you want to activate/deactivate the virtualenv, jump to the pyproject.toml file, etc. use this package.

Features

2024-02-29-115149

  • Activate/deactivate poetry environment.
  • Jump to the active project's pyproject.toml file.
  • Jump to the active project's directory.
  • Integrates with eglot to reconnect manually/on virtualenv change when in an eglot managed buffer.

Installation

Using straight

(straight-use-package '(poetry :type git :host github :repo "emil-vdw/emacs-poetry"))

Straight and use-package

(use-package
  poetry
  :straight
  (poetry :type git :host github :repo "emil-vdw/emacs-poetry")
  :bind (("C-c m" . poetry-transient)))

About

Dead simple Python Poetry integration for Emacs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published