Mon, 09 Nov 2026 05:41:19 UTC Log in
Aids representing and manipulating file sizes in various prefix notations 83.51 KB built 2026-10-17 07:42:04 GMT

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%.

Dependencies

13 total
Requires7
  • /usr/bin/python3
  • python(abi) = 3.15
  • rpmlib(CompressedFileNames) <= 3.0.4-1
  • rpmlib(FileDigests) <= 4.6.0-1
  • rpmlib(PartialHardlinkSets) <= 4.0.4-1
  • rpmlib(PayloadFilesHavePrefix) <= 4.0-1
  • rpmlib(PayloadIsZstd) <= 5.4.18-1
Provides5
  • python-bitmath = 1.3.3.1-10.fc45
  • python3-bitmath = 1.3.3.1-10.fc45
  • python3.15-bitmath = 1.3.3.1-10.fc45
  • python3.15dist(bitmath) = 1.3.3.1
  • python3dist(bitmath) = 1.3.3.1
Obsoletes1
  • python-bitmath < 1.3.3.1-10.fc45
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances

Files

43
Name ascending sort Size
/usr/bin/bitmath 171.00 B
/usr/lib/python3.15/site-packages/bitmath 0.00 B
/usr/lib/python3.15/site-packages/bitmath-1.3.3.1.dist-info 0.00 B
/usr/lib/python3.15/site-packages/bitmath-1.3.3.1.dist-info/INSTALLER 4.00 B
/usr/lib/python3.15/site-packages/bitmath-1.3.3.1.dist-info/METADATA 14.91 KB
/usr/lib/python3.15/site-packages/bitmath-1.3.3.1.dist-info/WHEEL 91.00 B
/usr/lib/python3.15/site-packages/bitmath-1.3.3.1.dist-info/entry_points.txt 47.00 B
/usr/lib/python3.15/site-packages/bitmath-1.3.3.1.dist-info/licenses 0.00 B
/usr/lib/python3.15/site-packages/bitmath-1.3.3.1.dist-info/licenses/LICENSE 1.07 KB
/usr/lib/python3.15/site-packages/bitmath-1.3.3.1.dist-info/top_level.txt 8.00 B
/usr/lib/python3.15/site-packages/bitmath/__init__.py 50.44 KB
/usr/lib/python3.15/site-packages/bitmath/__pycache__ 0.00 B
/usr/lib/python3.15/site-packages/bitmath/__pycache__/__init__.cpython-315.opt-1.pyc 52.24 KB
/usr/lib/python3.15/site-packages/bitmath/__pycache__/__init__.cpython-315.pyc 52.24 KB
/usr/lib/python3.15/site-packages/bitmath/__pycache__/integrations.cpython-315.opt-1.pyc 3.67 KB
/usr/lib/python3.15/site-packages/bitmath/__pycache__/integrations.cpython-315.pyc 3.67 KB
/usr/lib/python3.15/site-packages/bitmath/integrations.py 4.01 KB
/usr/share/doc/python-bitmath/docs 0.00 B
/usr/share/doc/python-bitmath/docs/appendices 0.00 B
/usr/share/doc/python-bitmath/docs/appendices.rst 220.00 B
/usr/share/doc/python-bitmath/docs/appendices/mixed_math.rst 7.50 KB
/usr/share/doc/python-bitmath/docs/appendices/on_units.rst 4.75 KB
/usr/share/doc/python-bitmath/docs/appendices/related_projects.rst 3.76 KB
/usr/share/doc/python-bitmath/docs/appendices/who_uses.rst 1.29 KB
/usr/share/doc/python-bitmath/docs/classes.rst 7.26 KB
/usr/share/doc/python-bitmath/docs/commandline.rst 1.69 KB
/usr/share/doc/python-bitmath/docs/conf.py 8.02 KB
/usr/share/doc/python-bitmath/docs/conf.py.in 8.03 KB
/usr/share/doc/python-bitmath/docs/contact.rst 1.51 KB
/usr/share/doc/python-bitmath/docs/contributing.rst 8.91 KB
/usr/share/doc/python-bitmath/docs/copyright.rst 1.10 KB
/usr/share/doc/python-bitmath/docs/example_block_devices.rst 181.00 B
/usr/share/doc/python-bitmath/docs/index.rst 11.99 KB
/usr/share/doc/python-bitmath/docs/index.rst.in 4.14 KB
/usr/share/doc/python-bitmath/docs/instances.rst 11.85 KB
/usr/share/doc/python-bitmath/docs/module.rst 36.81 KB
/usr/share/doc/python-bitmath/docs/query_device_capacity_warning.rst 316.00 B
/usr/share/doc/python-bitmath/docs/real_life_examples.rst 11.35 KB
/usr/share/doc/python-bitmath/docs/simple_examples.rst 8.34 KB
/usr/share/doc/python3-bitmath 0.00 B
/usr/share/doc/python3-bitmath/NEWS.rst 10.46 KB
/usr/share/doc/python3-bitmath/README.rst 12.95 KB
/usr/share/man/man1/bitmath.1.gz 1019.00 B
Files 1–43 of 43

Component of

buildroots that installed this RPM

No Buildroots