[ 原始碼: libbytesize ]
套件:python3-bytesize(2.5-1)
Python 3 bindings for libbytesize
Many projects need to work with sizes in bytes (be it sizes of storage space, memory,...) and all of them need to deal with the same issues like:
* How to get a human-readable string for the given size? * How to store the given size so that no significant information is lost? * If we store the size in bytes, what if the given size gets over the MAXUINT64 value? How to interpret sizes entered by users according to their locale and typing conventions? * How to deal with the decimal/binary units (MB vs. MiB) ambiguity?
This library aims to be as much generally usable as possible, small, fast and be easily interfaced from other languages.
This package contains bindings for libbytesize in Python3.
其他與 python3-bytesize 有關的套件
|
|
|
|
-
- dep: libbytesize1 (= 2.5-1)
- library for common operations with sizes in bytes
-
- dep: python3
- interactive high-level object-oriented language (default python3 version)
-
- dep: python3-six
- Python 2 and 3 compatibility library (Python 3 interface)