Python3 module to easily get a folder size.
Project description
getfoldersize
Python3 module to easily get a folder size.
Installation
Install with pip
pip3 install -U getfoldersize
Usage
In [1]: import getfoldersize
In [2]: from pathlib import Path
In [3]: getfoldersize.get_folder_size(
Path("/home/user/Documents")
)
Out[3]: 954460474
In [4]: getfoldersize.get_folders_size(
Path("/home/user/Documents")
)
Out[4]: 466944
In [5]: getfoldersize.get_files_size(
Path("/home/user/Documents")
)
Out[5]: 953993530
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
getfoldersize-0.1.tar.gz
(1.6 kB
view details)
File details
Details for the file getfoldersize-0.1.tar.gz
.
File metadata
- Download URL: getfoldersize-0.1.tar.gz
- Upload date:
- Size: 1.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa2c076d594434c056c85440aabf73705dce1fddf3e1e882c2c18f25a90a78b2 |
|
MD5 | 4dc68df8b186cc1280ced4ce82f575b3 |
|
BLAKE2b-256 | 2af9820fc10bd4846f9696ce4aa567c0f3ef814659190f2deae7e38bbed95462 |