$npx skillfedfor your agent

python-editor

Programmatically open an editor, capture the result.

With conditionsPyPI LibrariesReleased Feb 20192.8M downloads / moApachePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — python_editor-1.0.4-py2-none-any.whl · python_editor-1.0.4-py3-none-any.whl
v1.0.4 · released 2019-02-01

Yes, if you need to invoke the user's system editor from Python. It is stable, dependency-free, and solves a specific problem well. Dormant maintenance is not a concern for a feature-complete library with no known vulnerabilities, but verify compatibility with your Python version before relying on it for new projects targeting Python 3.7+.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires a system editor (vim, emacs, nano, or $EDITOR environment variable) to be installed and accessible on the system.
  • Low install friction with no runtime dependencies.
  • Maintenance is dormant—last release was 2019-02-01 and last commit 2023-10-11—but the package is marked Production/Stable and has no known vulnerabilities, suggesting it is feature-complete rather than abandoned.

License · maintenance · safety

Apache (permissive) — Licensed under Apache (permissive), so you can use, modify, and distribute it freely in commercial and private projects without restriction.

last release 2019-02-01 (2751 days) · last repo commit 2023-10-11 · 89 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 2,761,129 downloads/mo, #2,898 on PyPI

Verify before relying

import editor
commit_msg = editor.edit(contents=b"# Enter commit message here")

# Or edit a file in place:
editor.edit(file="README.txt")
  • Whether the package works reliably with modern Python versions beyond 3.6 (classifiers list 3.4–3.6 but no newer versions).
  • Whether dormant maintenance status poses any risk for future Python or OS compatibility issues.
Same gist for agents: .md · .json

What it is and what it does

python-editor wraps your system's $EDITOR environment variable to let you spawn an interactive editor subprocess from Python code. It handles the plumbing of passing content to the editor, capturing the result, and returning it as bytes, or opening a file for in-place editing. The library searches for a known editor (vim, emacs, nano) if $EDITOR is not set, and supports TTY mode for programs whose output is piped elsewhere.

Typical use cases include building CLI tools that need user input (commit messages, configuration edits, bug reports), interactive Python scripts, and any workflow where you want to delegate text editing to the user's preferred editor rather than building your own UI. It has no runtime dependencies and installs with low friction.

Use it for

  • Building CLI tools that prompt users to edit commit messages, bug reports, or configuration in their preferred editor.
  • Interactive Python scripts that need to let users edit multi-line text or files without embedding an editor.
  • Git hooks or version-control workflows that programmatically invoke $EDITOR for commit messages or diffs.
  • Admin or deployment scripts that need to open a file for user review and modification before proceeding.
  • Testing frameworks or utilities that capture edited content for validation or logging.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need to invoke the user's system editor from Python.

It is stable, dependency-free, and solves a specific problem well. Dormant maintenance is not a concern for a feature-complete library with no known vulnerabilities, but verify compatibility with your Python version before relying on it for new projects targeting Python 3.7+.

Install

python-editor on PyPI

Before you install

Low install friction with no runtime dependencies. Maintenance is dormant—last release was 2019-02-01 and last commit 2023-10-11—but the package is marked Production/Stable and has no known vulnerabilities, suggesting it is feature-complete rather than abandoned.

Requires a system editor (vim, emacs, nano, or $EDITOR environment variable) to be installed and accessible on the system.

License in practice

Licensed under Apache (permissive), so you can use, modify, and distribute it freely in commercial and private projects without restriction.

Quickstart

import editor
commit_msg = editor.edit(contents=b"# Enter commit message here")

# Or edit a file in place:
editor.edit(file="README.txt")

Verify before relying

  • Whether the package works reliably with modern Python versions beyond 3.6 (classifiers list 3.4–3.6 but no newer versions).
  • Whether dormant maintenance status poses any risk for future Python or OS compatibility issues.

Package facts

LicenseApache permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceDormant 2,751 days since the last release
Last repo commit
First released
Downloads2,761,129 / month, #2,898 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Topic :: Software Development :: Libraries

Evidence: python_editor-1.0.4-py2-none-any.whl; python_editor-1.0.4-py3-none-any.whl

Tags

Capabilities
open editor from pythonprogrammatic editor interfacecapture editor outputsystem editor integrationinteractive text editingsubprocess editor launcheredit file contents programmatically
Topics
editor-integrationsubprocess-wrappercli-tools
PyPI keywords
editorlibraryvimemacs

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “open editor from python”

  • python-editorProgrammatically open your system's $EDITOR from Python, capture…
  • editorOpens your system's default text editor (or a specified one) to edit…
  • bcsfeA command-line save file editor for The Battle Cats game that reads,…

Give your agent the search over MCP, or paste the wish link into any chat.

More Libraries packages

urllib3 Worth it
PyPI · Libraries · released May 2026

urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
python-dateutil Worth it
PyPI · Libraries · released Mar 2024

Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.

Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.

Apache-2.0pure Python
1.2Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo
pytest Worth it
PyPI · Libraries · released Jun 2026

pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.

MITpure Python · 3.10+
1.1Bdownloads / mo

See also editor · bcsfe · pyvim · EditorConfig · scripttest · subprocess.run · ezodf · draftjs_exporter · subprocess-tee · pbxproj