Skip to main content

sizebytes_tools

Project description

sizebytes_tools: Convert Bytes

Github License Updates Python 3 Code coverage

sizebytes_tools is a Python library convert bytes.

Installation

The code is packaged for PyPI, so that the installation consists in running:

pip install sizebytes-tools

Usage

from sizebyes_tools import convert_bytes

sizebytes = 155457451
size_text = convert_bytes(sizebytes)
print(size_text)

Terminal properties

============ ======= 
sizebytes    accept    
------------ ------- 
B             yes     
KB            yes     
MB            yes     
GB            yes     
TB            yes 
PB            yes 
EB            yes   
ZB            yes      
YB            yes      
============ ======= 

License

Apache License 2.0.

New features v1.0

BugFix

  • choco install visualcpp-build-tools

Reference

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

sizebytes_tools-0.0.3.tar.gz (3.3 kB view hashes)

Uploaded Source

Built Distribution

sizebytes_tools-0.0.3-py3-none-any.whl (3.6 kB view hashes)

Uploaded Python 3

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