cursor
A small Python package to hide or show the terminal cursor
Decision gist · record as of 2026-08-14
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.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Cursor state persists after script exit unless explicitly shown or managed via context manager or atexit handler.
- High install friction: the package is abandoned as of 2022, with no updates since June 2022.
- No runtime dependencies, but the lack of active maintenance means bugs or compatibility issues are unlikely to be addressed.
License · maintenance · safety
copyleft license (copyleft) — Licensed under GPLv3 (copyleft). Any code that imports and uses cursor must comply with GPLv3 terms, including potential source code disclosure obligations if you distribute your application.
last release 2022-06-15 (1521 days) · last repo commit 2022-06-16 · 39 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 464,967 downloads/mo, #6,512 on PyPI
Alternatives
Verify before relying
pip install cursor
import cursor
cursor.hide() # Hide the cursor
cursor.show() # Show the cursor
# Or use context manager to ensure cursor is shown again:
with cursor.HiddenCursor():
print('Cursor is hidden')- Whether the package remains compatible with Python versions released after 2022.
- Whether terminal emulators beyond Linux and Windows (e.g., macOS) are actually supported despite the 'OS Independent' classifier.
What it is and 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.
The package is abandoned—its 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.
Use it for
- 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.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
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.
Install
cursor on PyPI
Before you install
High install friction: the package is abandoned as of 2022, with no updates since June 2022. No runtime dependencies, but the lack of active maintenance means bugs or compatibility issues are unlikely to be addressed.
Cursor state persists after script exit unless explicitly shown or managed via context manager or atexit handler.
License in practice
Licensed under GPLv3 (copyleft). Any code that imports and uses cursor must comply with GPLv3 terms, including potential source code disclosure obligations if you distribute your application.
Quickstart
pip install cursor
import cursor
cursor.hide() # Hide the cursor
cursor.show() # Show the cursor
# Or use context manager to ensure cursor is shown again:
with cursor.HiddenCursor():
print('Cursor is hidden')
Verify before relying
- Whether the package remains compatible with Python versions released after 2022.
- Whether terminal emulators beyond Linux and Windows (e.g., macOS) are actually supported despite the 'OS Independent' classifier.
Package facts
| License | copyleft license copyleft |
| Python support | Not specified |
| Install friction | High. Source build required |
| Runtime dependencies | None |
| Maintenance | Abandoned 1,521 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 464,967 / month, #6,512 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Intended Audience :: DevelopersLicense :: OSI Approved :: GNU General Public License v3 (GPLv3)Operating System :: OS IndependentProgramming Language :: Python :: 2.7Programming Language :: Python :: 3 |
Evidence: cursor-1.3.5.tar.gz
Tags
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 › “hide terminal cursor python”
- cursorHides or shows the terminal cursor in Python scripts on Linux and…
- blessingsBlessings provides a clean Python API for terminal colors, text…
- ansiProvides ANSI escape codes for cursor movement and text styling…
Give your agent the search over MCP, or paste the wish link into any chat.
More Terminals packages
Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.
Rich renders styled text, tables, progress bars, syntax highlighting, markdown, and tracebacks to the terminal with minimal code.
Colorama makes ANSI escape sequences for colored terminal text work on Windows by intercepting and converting them to win32 API calls, while passing through unchanged on other platforms.
Install it if you need colored terminal output to work on Windows or want to use ANSI-based libraries portably; skip it only if you target non-Windows platforms…
Measures the displayed width of Unicode strings in terminals, accounting for wide characters, combining marks, and terminal escape sequences that standard Python string functions mishandle.
Install it if your application formats text for terminals and handles non-ASCII characters.
Run a subprocess in a pseudo terminal (pty) and interact with its input and output, enabling automation of interactive programs that require terminal features like password prompts or curses-style interfaces.
However, note that it is aging (last release 2020-12-28) and not actively maintained; it works well for its narrow, well-defined purpose but won't receive updates for…
Pexpect spawns and controls interactive console applications by sending input and matching output patterns, automating tasks that would otherwise require manual interaction.
See also ansi · yaspin · PyAutoGUI · blessings · publication · log-symbols · blessed · sphinx-togglebutton · textual-autocomplete