Alle Optionen
trixie  ] [  sid  ]
[ Quellcode: python-bitmath  ]

Paket: python3-bitmath (1.3.3.1-2)

Links für python3-bitmath

Screenshot

Debian-Ressourcen:

Quellcode-Paket python-bitmath herunterladen:

Betreuer:

Externe Ressourcen:

Ähnliche Pakete:

handle file sizes with different prefix notations (Python3 version)

bitmath simplifies many facets of interacting with file sizes in various units. Originally focusing on file size unit conversion, functionality now includes:

 * Converting between SI and NIST prefix units (kB to GiB)
 * Converting between units of the same type (SI to SI, or NIST to NIST)
 * Automatic human-readable prefix selection (like in hurry.filesize)
 * Basic arithmetic operations (subtracting 42KiB from 50GiB)
 * Rich comparison operations (1024 Bytes == 1KiB)
 * bitwise operations (<<, >>, &, |, ^)
 * Reading a device's storage capacity (Linux/OS X support only)
 * argparse integration as a custom type
 * click integration as a custom parameter type
 * progressbar integration as a better file transfer speed widget
 * String parsing
 * Sorting

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. The format produced for these representations is customizable via the functionality included in stdlibs string.format.

This package contains the Python 3 version of the library.

Andere Pakete mit Bezug zu python3-bitmath

  • hängt ab von
  • empfiehlt
  • schlägt vor
  • erweitert

python3-bitmath herunterladen

Download für alle verfügbaren Architekturen
Architektur Paketgröße Größe (installiert) Dateien
all 21,0 kB91,0 kB [Liste der Dateien]