Skip to main content

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


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)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page