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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file sizebytes_tools-0.0.3.tar.gz.

File metadata

  • Download URL: sizebytes_tools-0.0.3.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.10

File hashes

Hashes for sizebytes_tools-0.0.3.tar.gz
Algorithm Hash digest
SHA256 9a9d9008dc0ea9c268c26177eef0439af54f06c7290a6f79ebb06a4d10804fa2
MD5 d49168d8052039ebf37b28bb8d3b12fa
BLAKE2b-256 3a7f96158316c704f123b8bafeab612d98fba5b18ed1eaa9055450c7b28155cf

See more details on using hashes here.

File details

Details for the file sizebytes_tools-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: sizebytes_tools-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.10

File hashes

Hashes for sizebytes_tools-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b6906a52e98e77b78fca663bb823ff9dc1542eebc4bd4159c389519361d78909
MD5 9665a65d81935508e58ac0e35b3b8728
BLAKE2b-256 405fd5461ec275f90593c13b17ccd7d0e1e0854c75973bcefe863a763029f3d3

See more details on using hashes here.

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