{"categories":[{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/2"}],"enrichment":{"capability":"Opens your system's default text editor (or a specified one) to edit a file or temporary buffer, blocks until editing is complete, and returns the edited content.","skillfed_tags":["text-editor","subprocess-wrapper","interactive-io"],"use_cases":["Collect multi-line user input in a CLI tool by opening the user's preferred editor.","Let users edit configuration or data files interactively from within a Python script.","Implement a 'compose' feature in a terminal application that spawns vim or another editor.","Capture detailed feedback or comments by opening an editor with pre-filled template text.","Build interactive workflows where editing a file is more natural than command-line prompts."],"what_it_does":"editor is a thin wrapper around your system's text editor that lets you spawn an interactive editing session from Python code. It detects and launches your preferred editor (via VISUAL or EDITOR environment variables, or platform defaults like Notepad on Windows or vim elsewhere), blocks while you edit, then returns the file contents back to your program. You can edit an existing file, create a new one, or work with a temporary buffer that gets cleaned up automatically.\n\nThe package is useful in CLI tools, interactive scripts, or any application that needs user input through a familiar text editor rather than stdin. It has minimal dependencies (runs and xmod) and supports current Python versions (3.10\u20133.14), making it straightforward to integrate into existing projects.","worth_installing":"Yes. The package solves a specific, real problem (spawning an editor and capturing its output) with minimal dependencies, active maintenance, permissive licensing, and no known vulnerabilities. Install it if you need interactive text editing in a Python application; skip it if your use case is purely programmatic file manipulation."},"id":"editor","links":{"html":"https://skillfed.io/packages/editor","md":"https://skillfed.io/packages/editor.md","pypi":"https://pypi.org/project/editor/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-05-09","license_spdx":"MIT","license_treatment":"permissive","name":"editor","python_support":"supports_current","summary":"\ud83d\udd8b Open the default text editor \ud83d\udd8b"},"popularity":{"monthly_downloads":4904859,"position":2203,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"1.8.0"}
