[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#798009: ITP: python-editor -- programmatically open an editor, capture the result



Package: wnpp
Severity: wishlist
Owner: Thomas Goirand <zigo@debian.org>

* Package name    : python-editor
  Version         : 0.4
  Upstream Author : Peter Ruibal <ruibalp@gmail.com>
* URL             : https://github.com/fmoo/python-editor
* License         : Apache-2.0
  Programming Lang: Python
  Description     : programmatically open an editor, capture the result

 python-editor is a library that provides the editor module for
 programmatically interfacing with your system's $EDITOR. The user can then
 enter a commit message for example.
 .
 Editor first looks for the ${EDITOR} environment variable.  If set, it uses
 the value as-is, without fallbacks. If no $EDITOR is set, editor will search
 through a list of known editors, and use the first one that exists on the
 system. For example, on Linux, editor will look for the following editors in
 order:
  * vim
  * emacs
  * nano
 .
 When calling the edit() function, editor will open the editor in a
 subprocess, inheriting the parent process's stdin, stdout

This is a new dependency of Alembic, which already is in Sid and misses it.


Reply to: