{"categories":[{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/3"}],"enrichment":{"capability":"Programmatically open your system's $EDITOR from Python, capture edited content, and return it as bytes or modify files in place.","skillfed_tags":["editor-integration","subprocess-wrapper","cli-tools"],"use_cases":["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."],"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.\n\nTypical 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.","worth_installing":"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+."},"id":"python-editor","links":{"html":"https://skillfed.io/packages/python-editor","md":"https://skillfed.io/packages/python-editor.md","pypi":"https://pypi.org/project/python-editor/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2019-02-01","license_spdx":null,"license_treatment":"permissive","name":"python-editor","python_support":"unspecified","summary":"Programmatically open an editor, capture the result."},"popularity":{"monthly_downloads":2761129,"position":2898,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"1.0.4"}
