SizeScan
SizeScan is a script that displays the sizes of subfolders or files within a specified folder. It highlights items in red if they exceed a specified size limit.
Features
- Display the sizes of subfolders within a specified folder.
- Option to display the sizes of files instead of subfolders.
- Highlight items that exceed a specified size limit.
Requirements
- Python 3.x
tqdmrich
You can install the required packages using pip:
pip install tqdm rich
Usage
sizescan <folder> [-mb <max_mb>] [-f]
Arguments
<folder>: The folder to scan and display sizes.-mb,--max-mb: The size limit in MB. Items exceeding this size will be highlighted in red. Default is 1000 MB.-f,--files: Display sizes of files instead of subfolders.
Examples
Display sizes of subfolders:
sizescan /path/to/folder
Display sizes of files:
sizescan /path/to/folder -f
Highlight items exceeding 500 MB:
sizescan /path/to/folder -mb 500
Display sizes of files and highlight items exceeding 200 MB:
sizescan /path/to/folder -f -mb 200
Metadata
Release files for sizescan 0.1.2
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 |
|---|---|---|---|---|
| sizescan-0.1.2.tar.gz | 2.8 kB | Without provenance | Details for sizescan-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sizescan-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for sizescan-0.1.2-py3-none-any.whl |
Total release size: 5.9 kB
Release files / sizescan-0.1.2.tar.gz
| Download URL | sizescan-0.1.2.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ead9fe0f3eef08606c388ca90bfdd2899f7abe6093cc54bb1649d33cb7728093
|
|
BLAKE2b-256 checksum How to use checksums |
01eea0381b1791f24b304405ae0d5be5c69778e4d53838a4f95c6aff88fc083b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.9
|
Release files / sizescan-0.1.2-py3-none-any.whl
| Download URL | sizescan-0.1.2-py3-none-any.whl |
|---|---|
| Size | 3.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1a6fdc428feb36a55ff9a6c4087643d62a954e0cfbd2013feb8044ae20f53e16
|
|
BLAKE2b-256 checksum How to use checksums |
12789f7733efc7860c31b5afe9bf667ee5f639024b3174b63915e325bb69c2f1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.9
|
Security for sizescan 0.1.2
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.