Skip to main content

This software computes an estimate of the file disk usage for files and directories, similarly to the UNIX program ‘du’. The result is then displayed to the console in a human friendly format.

It includes the following features:

  • a progress bar of each item for quick visual inspection

  • percentage information (precision can be set)

  • show the size of each item in the specified units

  • support for SI, IEC and UNIX (‘du’) units

  • maximum depth (of the displayed items) can be specified

  • optionally follow symlinks, mount points, special files and hidden files

  • can filter results to display only directories

  • can output results ending with ‘\0’ instead of newlines (useful for parsing)

  • can sort results by name or by size

Installation

The recommended way of installing the software is through PyPI:

$ pip install hdu

Alternatively, you can the clone the source repository from GitHub:

$ mkdir hdu
$ cd hdu
$ git clone git@github.com:norok2/hdu.git
$ python setup.py install

(last step may require additional permissions depending on your configuration)

The shoftware does not have additional dependencies beyond Python and its standard library.

It was tested with Python 2.7 and 3.5. Other version were not tested.

Note

Although the software is ready, the packaging is still experimental. If you experience any issues, please consider reporting it. Suggestions and improvements are welcome!

Metadata

Release files for hdu 0.2.3.12

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for hdu 0.2.3.12
File Interpreter ABI Platform
hdu-0.2.3.12-py2.py3-none-any.whl Python 2, Python 3 none any Details

Release files / hdu-0.2.3.12-py2.py3-none-any.whl

Download URL hdu-0.2.3.12-py2.py3-none-any.whl
Size 10.1 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
8dccd2be4f9a8d1edd38bebf89e205ae71e949816720bd791c32c500656879b8
BLAKE2b-256 checksum
How to use checksums
915ecb32ce11b76718f51c855003e6c9f8bd1f266160485e2c10dc4a77489f0e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.10.0 pkginfo/1.2.1 requests/2.23.0 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.5 CPython/3.6.9

Release history Release notifications | RSS feed

This release

0.2.3.12 This release

1 release file

0.2.3.10

0.2.3.9

1 release file

0.2.3.8

1 release file

0.2.3.0

1 release file

0.2.2

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page