< Home - < Back

python2-bitmath


Information about the package, python2-bitmath, which is shipped with common Linux distributions. The python2-bitmath package is designed for, Aids representing and manipulating file sizes in various prefix.


Package Name:

python2-bitmath

Summary:

Aids representing and manipulating file sizes in various prefix

Description:

bitmath simplifies many facets of interacting with file sizes in various units. Examples include: converting between SI and NIST prefix units (GiB to kB), converting between units of the same type (SI to SI, or NIST to NIST), basic arithmetic operations (subtracting 42KiB from 50GiB), and rich comparison operations (1024 Bytes == 1KiB), bitwise operations, sorting, automatic best human-readable prefix selection, and completely customizable formatting. In addition to the conversion and math operations, bitmath provides human readable representations of values which are suitable for use in interactive shells as well as larger scripts and applications. It can also read the capacity of system storage devices. bitmath can parse strings (like "1 KiB") into proper objects and has support for integration with the argparse module as a custom argument type and the progressbar module as a custom file transfer speed widget. bitmath is thoroughly unittested, with almost 200 individual tests (a number which is always increasing). bitmath's test-coverage is almost always at 100%.

Architecture:

noarch

Version:

1.3.1

Release:

1.el6

Size:

81 k

Repository:

epel

From Repository:

Licence:

BSD



Handy Yum Commands for python2-bitmath


Control the python2-bitmath package with the following handy commands outlined below.


Command

Description of Command

yum install python2-bitmath

This command will install python2-bitmath on the server.

yum remove python2-bitmath

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

yum -y remove python2-bitmath

This command will un-install python2-bitmath 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 python2-bitmath when using the -y flag.

yum update python2-bitmath

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

yum -y update python2-bitmath

This command will update python2-bitmath 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 python2-bitmath when using the -y flag.

yum info python2-bitmath

This command will show you core information about the python2-bitmath package.

yum deplist python2-bitmath

This command will show you the dependencies for python2-bitmath. 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 python2-bitmath

This command will check if there is an update waiting on python2-bitmath. 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.