A simple disk space analyzer for *.ckpt & *.safetensors file extensions
Project description
HowMuch
**Have you ever asked yourself, "How much space have I wasted on .ckpt and .safetensors checkpoints?" 🤔 Say hello to HowMuch: Checking checkpoint wasted space since... well, now! 😄 Enjoy this somewhat unnecessary, yet "fun-for-the-whole-family" DiskSpaceAnalyzer tool. 😄
Overview
HowMuch
is a Python tool designed to scan your drives (or a specified directory) and report on the total space used by files with specific extensions, mainly .ckpt
and .safetensors
.
It outputs:
- The total storage capacity of each scanned drive or directory.
- The space occupied by
.ckpt
and.safetensors
files. - The free space available.
- A neat bar chart visualizing the above data.
Installation
From PyPI
You can easily install HowMuch
via pip:
pip install howmuch
From Source
-
Clone the repository:
git clone https://github.com/1e-2/HowMuch.git
-
Navigate to the cloned directory and install:
cd HowMuch pip install .
Usage
Run the tool without any arguments to scan all drives:
howmuch
Or, specify a particular directory or drive to scan:
howmuch --scan C:
The results will be displayed in the console, saved to a text file (HowMuch_output.txt
), and visualized in a bar chart (HowMuch_chart.png
).
Contributing
Feel free to fork the repository, make changes, and open a pull request. All contributions are welcome!
License
This project is licensed under the MIT License. See LICENSE for details.
Author
- idlebg - GitHub
For any additional questions or comments, please open an issue.
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
File details
Details for the file howmuch-0.1.1.tar.gz
.
File metadata
- Download URL: howmuch-0.1.1.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b091e53c7105820258e90688068d9a26225ff58649073f0235cabda573cec236 |
|
MD5 | 1013830dd504dad0b2570c9ed61e4ff0 |
|
BLAKE2b-256 | e239dbd9f0e4dfd15ba4c620a3ffa9153df7704c8200a2c5143355a8bcd4ecd9 |
File details
Details for the file howmuch-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: howmuch-0.1.1-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a35195874c15bf7b270d7bfc8b4ee4d30b0e1fe2aa05bd3d35a4044b78812b7 |
|
MD5 | a30d7260f6f8512a0b46fb186744c4bf |
|
BLAKE2b-256 | e6221de5a927fa7116dfb6a0b8b143b96e93253b56ae614ce75c625780915121 |