PYTHON DISK USAGE
Takes a path as an argument and returns it's total disk usage recursively.
INSTALLATION
pip install pdu
CLI USAGE
usage: pdu [-h] [path]
Python Disk Usage Calculator.
positional arguments:
path A valid path.
optional arguments:
-h, --help show this help message and exit
PYTHON USAGE
path = '/path/to/some/file/or/directory'
from pdu import du
human_readable_size = du(path)
from pdu import calc
size_in_bytes = calc(path)
from pdu import convert
human_readable_units = convert(bytes)
Metadata
Release files for pdu 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pdu-0.0.3.tar.gz | 2.2 kB | Without provenance | Details for pdu-0.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pdu-0.0.3-py3-none-any.whl | Python 3 | none | any | Details for pdu-0.0.3-py3-none-any.whl |
Total release size: 5.1 kB
Release files / pdu-0.0.3.tar.gz
| Download URL | pdu-0.0.3.tar.gz |
|---|---|
| Size | 2.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
17866085f4fbb7c65a5d4b0e50fdc49ac0cad1508a846aae336de54b61b8932a
|
|
BLAKE2b-256 checksum How to use checksums |
f54bf127b1867d394763beee889dcb68d84b0517db50fa551f6c0f617ce4721a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / pdu-0.0.3-py3-none-any.whl
| Download URL | pdu-0.0.3-py3-none-any.whl |
|---|---|
| Size | 2.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a4dfbcb8774d33cb61e42a0de21841e650504745a9fee6e06183b71fc17e06d4
|
|
BLAKE2b-256 checksum How to use checksums |
dfecc666d47daff4e99b43161ef4f9d17aae54876e06c79b2c49b85db110eecd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for pdu 0.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.