{"categories":[{"label":"Terminals","url":"https://skillfed.io/packages/category/terminals"}],"enrichment":{"capability":"Hides or shows the terminal cursor in Python scripts on Linux and Windows, with support for both Python 2 and Python 3.","skillfed_tags":["terminal-control","cursor-management","abandoned"],"use_cases":["Hide the cursor while displaying terminal spinners or progress indicators in CLI applications.","Manage cursor visibility in interactive terminal scripts where visual clarity is important.","Ensure cursor is restored after script execution using the context manager to prevent terminal state corruption.","Build command-line tools that need cross-platform cursor control without writing platform-specific code.","Integrate cursor control into terminal UI libraries that need to manage cursor state during rendering."],"what_it_does":"cursor is a minimal terminal utility that toggles cursor visibility in Python scripts. It wraps platform-specific escape sequences to hide or show the cursor on Linux and Windows, supporting both Python 2 and Python 3. The package provides two main interfaces: direct function calls (cursor.hide() and cursor.show()) for immediate control, and a context manager (HiddenCursor) that guarantees the cursor is restored even if exceptions occur during execution.\n\nThe package is abandoned\u2014its last commit was on 2022-06-16 and it has received no updates since. It has no runtime dependencies, making installation straightforward, but the lack of maintenance means compatibility with modern Python versions or terminal environments is not guaranteed. The GPLv3 license imposes copyleft obligations on any code that uses it.","worth_installing":"No. The package is abandoned (last commit 2022-06-16, no updates since) and carries a GPLv3 copyleft license that restricts how you can use it. For simple cursor control, platform-specific escape sequences or modern terminal libraries are safer bets. Install only if you are maintaining legacy code already using it."},"id":"cursor","links":{"html":"https://skillfed.io/packages/cursor","md":"https://skillfed.io/packages/cursor.md","pypi":"https://pypi.org/project/cursor/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2022-06-15","license_spdx":null,"license_treatment":"copyleft","name":"cursor","python_support":"unspecified","summary":"A small Python package to hide or show the terminal cursor"},"popularity":{"monthly_downloads":464967,"position":6512,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.3.5"}
