Skip to main content

A simple disk space analyzer for *.ckpt & *.safetensors file extensions

Project description

HowMuch

60% Works

License Python Version Repo Size Last Commit Open Issues Closed Issues Pull Requests Stars

**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

  1. Clone the repository:

    git clone https://github.com/1e-2/HowMuch.git
    
  2. 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

For any additional questions or comments, please open an issue. image Screenshot_2083

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

howmuch-0.1.tar.gz (4.7 kB view hashes)

Uploaded Source

Built Distribution

howmuch-0.1-py3-none-any.whl (4.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page