Hiding or showing the console cursor on Windows and Unix platforms with the Python Standard Library only
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
termcursor-1.0.0.tar.gz
(5.2 kB
view details)
Built Distribution
File details
Details for the file termcursor-1.0.0.tar.gz
.
File metadata
- Download URL: termcursor-1.0.0.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20958e3472c02efc2bdfc9534ccc3ead2825de3c5778f36c2d34461f23b70201 |
|
MD5 | 02b21ed709ce839e1d171e22e3016c4e |
|
BLAKE2b-256 | 4ab1f0793374c2eb6d2e3509d22908a2764ad0827d45872cd03cd2ac672d8dc8 |
File details
Details for the file termcursor-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: termcursor-1.0.0-py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ddc60ca0289cf8a2b3e2107645b582b3526f372ee105aca02b515de8ca50c7b8 |
|
MD5 | 1ad842200d8f39c4386cc03b22e24fce |
|
BLAKE2b-256 | 54380d639233cd019161751ccf19c44e8a92ce25cde56bb62190356bb9e288c2 |