Skip to main content

Generic badge Generic badge

termcursor

Hiding or showing the console cursor on Windows and Unix platforms with the Python Standard Library only

Quickstart

Requirements

This module use Python Standard Library only. Python version should be higher than 3.10

Install

pip install termcursor

How to Use

This code works as module not a script.

Module level import

import termcursor

# hiding the console cursor
termcursor.hidecursor()

# showing the console cursor
termcursor.showcursor()

Function level import

from termcursor import hidecursor, showcursor

# hiding the console cursor
hidecursor()

# showing the console cursor
showcursor()

Help

import termcursor

help(termcursor)

Examples

Module level import

Example is available in the example.py

Function level import

Example is available in the example2.py

License

The content of this repository is licensed under MIT license. For more details, check LICENSE

Metadata

Release files for termcursor 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for termcursor 1.0.0
File Size Uploaded
termcursor-1.0.0.tar.gz 5.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for termcursor 1.0.0
File Interpreter ABI Platform
termcursor-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 11.5 kB

Release files / termcursor-1.0.0.tar.gz

Download URL termcursor-1.0.0.tar.gz
Size 5.2 kB
Tags Source
SHA-256 checksum
How to use checksums
20958e3472c02efc2bdfc9534ccc3ead2825de3c5778f36c2d34461f23b70201
BLAKE2b-256 checksum
How to use checksums
4ab1f0793374c2eb6d2e3509d22908a2764ad0827d45872cd03cd2ac672d8dc8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.8

Release files / termcursor-1.0.0-py3-none-any.whl

Download URL termcursor-1.0.0-py3-none-any.whl
Size 6.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ddc60ca0289cf8a2b3e2107645b582b3526f372ee105aca02b515de8ca50c7b8
BLAKE2b-256 checksum
How to use checksums
54380d639233cd019161751ccf19c44e8a92ce25cde56bb62190356bb9e288c2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.8

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page