< Home - < Back

python-blessed


Information about the package, python-blessed, which is shipped with common Linux distributions. The python-blessed package is designed for, A thin, practical wrapper around terminal capabilities in Python.


Package Name:

python-blessed

Summary:

A thin, practical wrapper around terminal capabilities in Python

Description:

Blessed is a thin, practical wrapper around terminal styling, screen positioning, and keyboard input. It provides: - Styles, color, and maybe a little positioning without necessarily clearing the whole screen first. - Works great with standard Python string formatting. - Provides up-to-the-moment terminal height and width, so you can responds to terminal size changes. - Avoids making a mess if the output gets piped to a non-terminal: outputs to any file-like object such as StringIO, files, or pipes. - Uses the terminfo(5) database so it works with any terminal type and supports any terminal capability: No more C-like calls to tigetstr and tparm. - Keeps a minimum of internal state, so you can feel free to mix and match with calls to curses or whatever other terminal libraries you like. - Provides plenty of context managers to safely express terminal modes, automatically restoring the terminal to a safe state on exit. - Act intelligently when somebody redirects your output to a file, omitting all of the terminal sequences such as styling, colors, or positioning. - Dead-simple keyboard handling: safely decoding unicode input in your system’s preferred locale and supports application/arrow keys. - Allows the printable length of strings containing sequences to be determined.

Architecture:

noarch

Version:

1.14.1

Release:

4.el6

Size:

135 k

Repository:

epel

From Repository:

Licence:

MIT



Handy Yum Commands for python-blessed


Control the python-blessed package with the following handy commands outlined below.


Command

Description of Command

yum install python-blessed

This command will install python-blessed on the server.

yum remove python-blessed

This command will un-install python-blessed on the server. When you run this command, you will be asked if you are sure that you want to remove python-blessed, so you have to manually confirm that you want to do this.

yum -y remove python-blessed

This command will un-install python-blessed on the server. When you run this command with th e -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove python-blessed when using the -y flag.

yum update python-blessed

This command will update python-blessed to the latest version. When you run this command, you will be asked if you are sure that you want to remove python-blessed, so you have to manually confirm that you want to do this.

yum -y update python-blessed

This command will update python-blessed to the latest version. When you run this command with the -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove python-blessed when using the -y flag.

yum info python-blessed

This command will show you core information about the python-blessed package.

yum deplist python-blessed

This command will show you the dependencies for python-blessed. Thankfully, when using Yum, if dependencies are required, these are also installed at the same time so you don't have to worry too much about that.

yum check-update python-blessed

This command will check if there is an update waiting on python-blessed. When you run this command this will return nothing if there is nothing to update, or, will return the package name if the package is due to be updated.