Skip to main content

Calculates count and average file size of files recorded by file extension

Project description

Calculates statistics about minimum, maximum and mean average file sizes for each file extension within a directory.

Apache V2

Intallation

pip install storage_stats

Documentation

Usage: storage_stats [-h] [-o OUTPUT] [--no-recursion] [-s] path

Calculates file size statistics for the specified folder

positional arguments:

path the folder to characterise

optional arguments:
-h, --help

show this help message and exit

-o OUTPUT

CSV file to output statistics too

--no-recursion

do not include sub-folders in stats

-s, --silent

turn off command line output (useful if you just want to output a CSV file

Licence

Released under Apache version 2.0 license.

Contribute

  1. Fork the GitHub project

  2. Change the code and push into the forked project

  3. Submit a pull request

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

storage_stats-0.2.zip (8.4 kB view hashes)

Uploaded Source

Built Distributions

storage_stats-0.2-py2.7.egg (24.2 kB view hashes)

Uploaded Source

storage_stats-0.2-py2-none-any.whl (13.3 kB view hashes)

Uploaded Python 2

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