File size utils contains method for conversion between size unit like byte, kilobyte, megabyte...
Project description
File Size Utils
A library provide function converting file size or memory size between different unit byte, kilo byte, mega byte...
Installation
pip install pyFileSizeUtils
Demo
import pyFileSizeUtils
from pyFileSizeUtils import BinarySize,SizeUnit
oneMB = BinarySize.ofMBFromInt(1).inByte()
print(oneKB.inByte()) # 1024
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyFileSizeUtils-0.0.2.tar.gz
(15.1 kB
view hashes)