It's a simple python package to calculate the file size.
Project description
file-size-package
English(US):
This simple Python package project was born from a curiosity to know the file size in each unit of measurement (B, KB, MB, GB, etc.). Futhermore, I was learning about how to create the Python package.
Português(BR):
Este simples projeto de pacote Python nasceu de uma curiosidade em saber o tamanho do arquivo em cada unidade de medida (B, KB, MB, GB, etc.). Além disso, eu estava aprendendo sobre como criar um pacote Python.
Installation
Você pode instalar o pacote via pip:
pip install file-size
Usage
from file_size.size import file_size
file_size(file_path)
Author
Kauã Fabricio
License
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file file-size-0.0.1.tar.gz.
File metadata
- Download URL: file-size-0.0.1.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6deecfeca985504f2dbec577686c4cc8d80af56bb7001e62d6d94bd75925528c
|
|
| MD5 |
00d7dc1eae953d63fb68cf06b46df34f
|
|
| BLAKE2b-256 |
d103b98c9402a651545a72ba33f2d6da31fa3b7931a3630b9d6c710dd9ef8ca6
|
File details
Details for the file file_size-0.0.1-py3-none-any.whl.
File metadata
- Download URL: file_size-0.0.1-py3-none-any.whl
- Upload date:
- Size: 2.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3a648e7692234dc4419af0535a8a827283a6da945458f517092fde722a6ca147
|
|
| MD5 |
7c90f18da6ad80a0bc8558576fc37d68
|
|
| BLAKE2b-256 |
538aa425a772234f5f347cbdd99c84b11953bd818a5eb4b2b98554f5a96e0577
|