Skip to main content

Rust-based disk usage analyzer with histogram visualization

Project description

Dustr

Dustr is a Rust-based implementation of duk, a commandline utility that shows disk usage statistics in a directory with a histogram visualization.

Introduction

Dustr provides the same functionality as duk but with a Rust backend for improved performance. It will show you a histogram of the disk usage in a directory:

Statistics of directory "." :

Size           In %   Histogram            Name
4.0 KB         1.39  #                    .gitignore
4.0 KB         1.39  #                    setup.py
4.0 KB         1.39  #                    README.md
12.0 KB        4.17  ##                   dist/
12.0 KB        4.17  ##                   dustr/
12.0 KB        4.17  ##                   build/
16.0 KB        5.56  ##                   duk.egg-info/
220.0 KB       76.39 ####################  .git/

Total directory size: 284.0 KB

Installation

From PyPI

pip install dustr

From source

First, ensure you have Rust installed (see rustup.rs).

Then install maturin:

pip install maturin

Build and install the package:

cd dustr
maturin develop  # For development
# OR
maturin build --release  # To build a wheel
pip install target/wheels/dustr-*.whl

Usage

dustr [OPTIONS] [DIRECTORY]

Options:

  • -i, --inodes: Show inode count instead of size
  • -g, --nogrouping: Don't use thousand separators (for inode mode)
  • -f, --noF: Don't add file type indicators (/ for directories, @ for symlinks)
  • -j, --json: Output results as JSON

JSON output

dustr --json .
{
  "directory": ".",
  "mode": "size",
  "entries": [
    { "name": ".gitignore", "value": 4, "percentage": 1.41 },
    { "name": ".git/", "value": 220, "percentage": 77.46 }
  ],
  "total": 284
}

Differences from duk

  • Performance: Rust backend with parallel directory traversal (jwalk + rayon)
  • Implementation: Uses native Rust file system operations instead of calling du command
  • Progress: Since the Rust implementation calculates all sizes in parallel, progress indication is less granular

Requirements

  • Python >= 3.9
  • Rust toolchain (for building from source)

License

LGPL-3.0-or-later

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

dustr-0.1.13-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (668.2 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ x86-64

dustr-0.1.13-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (658.8 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ ARM64

dustr-0.1.13-cp314-cp314-macosx_11_0_arm64.whl (592.5 kB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

dustr-0.1.13-cp314-cp314-macosx_10_12_x86_64.whl (620.4 kB view details)

Uploaded CPython 3.14macOS 10.12+ x86-64

dustr-0.1.13-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (667.7 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

dustr-0.1.13-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (658.1 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ ARM64

dustr-0.1.13-cp313-cp313-macosx_11_0_arm64.whl (593.0 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

dustr-0.1.13-cp313-cp313-macosx_10_12_x86_64.whl (620.4 kB view details)

Uploaded CPython 3.13macOS 10.12+ x86-64

dustr-0.1.13-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (668.1 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

dustr-0.1.13-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (658.0 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ ARM64

dustr-0.1.13-cp312-cp312-macosx_11_0_arm64.whl (593.1 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

dustr-0.1.13-cp312-cp312-macosx_10_12_x86_64.whl (620.5 kB view details)

Uploaded CPython 3.12macOS 10.12+ x86-64

dustr-0.1.13-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (673.6 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

dustr-0.1.13-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (663.9 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64

dustr-0.1.13-cp311-cp311-macosx_11_0_arm64.whl (598.0 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

dustr-0.1.13-cp311-cp311-macosx_10_12_x86_64.whl (623.2 kB view details)

Uploaded CPython 3.11macOS 10.12+ x86-64

dustr-0.1.13-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (673.4 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

dustr-0.1.13-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (663.7 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ ARM64

dustr-0.1.13-cp310-cp310-macosx_11_0_arm64.whl (597.9 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

dustr-0.1.13-cp310-cp310-macosx_10_12_x86_64.whl (623.1 kB view details)

Uploaded CPython 3.10macOS 10.12+ x86-64

File details

Details for the file dustr-0.1.13-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for dustr-0.1.13-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3fb19946b1a4315944f270d0231b463b11f13df60baccdca60ac29d1ba212a53
MD5 d3c8c29ad3738e26a1736f3699db0b3b
BLAKE2b-256 eb37024f03dae343908692b31f9c89fde84fef0d4f50399d9bc5950e8c43cb23

See more details on using hashes here.

Provenance

The following attestation bundles were made for dustr-0.1.13-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: build.yml on wvangeit/dustr

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dustr-0.1.13-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for dustr-0.1.13-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 6cc015dceb2084d4bd11bb6489d6aacfe74b0d1ef3ffca26ebd3ce630948db03
MD5 6a936d83a67c19a3b23d6837f821010b
BLAKE2b-256 560ea6907f42ff5bc63d89c689ee9141186eaa1ac503a841a58304f94f8a01b1

See more details on using hashes here.

Provenance

The following attestation bundles were made for dustr-0.1.13-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: build.yml on wvangeit/dustr

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dustr-0.1.13-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for dustr-0.1.13-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d914d92b8c646f651de56f13ef0a924245e3ed55e5dcbf68460c4520b1e64096
MD5 e744049bdfe8af739fe46db24142b459
BLAKE2b-256 8e92f47076b222326734459ffbaffdb4220ac25e658746ed227ae49bb8f642df

See more details on using hashes here.

Provenance

The following attestation bundles were made for dustr-0.1.13-cp314-cp314-macosx_11_0_arm64.whl:

Publisher: build.yml on wvangeit/dustr

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dustr-0.1.13-cp314-cp314-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for dustr-0.1.13-cp314-cp314-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 c73f31bd62b57105dad8415e7083ab11fad0a5f59f31d45c539d240d1ebc0405
MD5 8181c706c3eb4c02f33172cda842b850
BLAKE2b-256 4eb48dbda57a442a539f52b35037d02d65ac000dda1e89b725d2735e15c0ce8e

See more details on using hashes here.

Provenance

The following attestation bundles were made for dustr-0.1.13-cp314-cp314-macosx_10_12_x86_64.whl:

Publisher: build.yml on wvangeit/dustr

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dustr-0.1.13-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for dustr-0.1.13-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7fa33052ed2cf62c1e71af585f7bb654ddd443c46e5b42a8de417f970fe95ec5
MD5 b5aa4a1c9a9fe36be94f46b52f900616
BLAKE2b-256 ded46f0b0b8ba70c246242481cf7a9617b63ea4065687cd1e66ededfd8a789c0

See more details on using hashes here.

Provenance

The following attestation bundles were made for dustr-0.1.13-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: build.yml on wvangeit/dustr

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dustr-0.1.13-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for dustr-0.1.13-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 0146ae75dfda709ce52b02263f2f4865a30b4e0e55be975934934895d4f5c568
MD5 6c7c9a4b8ee5ad9dbd7b47b71f627097
BLAKE2b-256 ccd39c4cf02fd325e23a2863147cec55840cf18750f923ad32d809d0f634dd97

See more details on using hashes here.

Provenance

The following attestation bundles were made for dustr-0.1.13-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: build.yml on wvangeit/dustr

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dustr-0.1.13-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for dustr-0.1.13-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 228dd84e6b22861f267162dc436d3316c09256be0d3b76c122ca855575d75ec2
MD5 3dd3f72b6c87a42cf3ce904d31d76c2a
BLAKE2b-256 ea35c36eae729a8296d871450b74dab6ca80ecd35acb686a59e1e878f9dcac01

See more details on using hashes here.

Provenance

The following attestation bundles were made for dustr-0.1.13-cp313-cp313-macosx_11_0_arm64.whl:

Publisher: build.yml on wvangeit/dustr

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dustr-0.1.13-cp313-cp313-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for dustr-0.1.13-cp313-cp313-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 31eb5fc9807cfd858308bd4b2082f91d8312009c9161cbcc4676f09e290a9c18
MD5 f464787ca1c4ef79855aafb6a6181d2b
BLAKE2b-256 8408554846532855e20e2f8eb95768c8b2079c9971ac8ce7fdf2ed41be0e0e9a

See more details on using hashes here.

Provenance

The following attestation bundles were made for dustr-0.1.13-cp313-cp313-macosx_10_12_x86_64.whl:

Publisher: build.yml on wvangeit/dustr

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dustr-0.1.13-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for dustr-0.1.13-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5f3170d7a722c9f194fcbbd7f00d9b74310ae991b70789a687af028552e8bc58
MD5 d0461fac39ce83602be05980c816963c
BLAKE2b-256 be412a02b743ca24df4ffe672e397def6a89db8a9849618808394ce357cf7dca

See more details on using hashes here.

Provenance

The following attestation bundles were made for dustr-0.1.13-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: build.yml on wvangeit/dustr

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dustr-0.1.13-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for dustr-0.1.13-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 618da488433ba29a358fd05e4dfe5346a586951a3b6cb2e337e5879415f2f41a
MD5 687c4cadf5d6a0c5c28252f79a4b57ea
BLAKE2b-256 5c9e476603f366a3a5a1e54133b7bf33a2661a2d2096b4bd3ca64bff53e059c7

See more details on using hashes here.

Provenance

The following attestation bundles were made for dustr-0.1.13-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: build.yml on wvangeit/dustr

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dustr-0.1.13-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for dustr-0.1.13-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e34169b6dbcddd47cc375fdc6a8e7d9c6c88222ded97e7e88000ce292574e856
MD5 17a1af0267c7188edf089fd2c4d4d4b0
BLAKE2b-256 0d73ff27f4e4252a543a570ad4ed3b56ef569aeceb64e93780f7f9f598ccbbbe

See more details on using hashes here.

Provenance

The following attestation bundles were made for dustr-0.1.13-cp312-cp312-macosx_11_0_arm64.whl:

Publisher: build.yml on wvangeit/dustr

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dustr-0.1.13-cp312-cp312-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for dustr-0.1.13-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 ec0943b7da096899219af77bf2a1c45647d3ad60a7b6da0baed03308b406c094
MD5 5f7baf9141f4b5b063c95bb457d4e02a
BLAKE2b-256 ea25b427a4d83cd0158f93b1dfa652822fec9f6eacb97b9ec030c42464da8c32

See more details on using hashes here.

Provenance

The following attestation bundles were made for dustr-0.1.13-cp312-cp312-macosx_10_12_x86_64.whl:

Publisher: build.yml on wvangeit/dustr

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dustr-0.1.13-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for dustr-0.1.13-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f8342eecb982afde585b8014e58b04e49ea1f7ff011eedadfc1b83355ec97138
MD5 fbb900cbf0bad6c9279d7f3ca479fb22
BLAKE2b-256 8e4591b55af8dbdd147d4e7d6f62aff348ac74318f755210354045659bc557bf

See more details on using hashes here.

Provenance

The following attestation bundles were made for dustr-0.1.13-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: build.yml on wvangeit/dustr

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dustr-0.1.13-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for dustr-0.1.13-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 101e3d5fb88086aecb52aa6b9f55c866dafaf093897f0a4ea91eef3a51d4eabe
MD5 d54689b0ab1529f5ee194758f6693623
BLAKE2b-256 8d615c60872f052789a878f1f357d60fc5ff435db4f15e017f1accfeb62c60e8

See more details on using hashes here.

Provenance

The following attestation bundles were made for dustr-0.1.13-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: build.yml on wvangeit/dustr

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dustr-0.1.13-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for dustr-0.1.13-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3bd0c055379b9381dbf8d4d43f4ad02cf41c7a0be57ae7cb3ea6591afbb74e31
MD5 5d525600901afcd0e51c0f539fae83e8
BLAKE2b-256 121f92d78572a962ca158fdb3ef53c0ef0334373b21d759241821e8abe19c86e

See more details on using hashes here.

Provenance

The following attestation bundles were made for dustr-0.1.13-cp311-cp311-macosx_11_0_arm64.whl:

Publisher: build.yml on wvangeit/dustr

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dustr-0.1.13-cp311-cp311-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for dustr-0.1.13-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 a6adbc335ce020f00a7cbab750c61e47da8af2172df26151df431b61ca4cd9bd
MD5 57e855cc2fe0ac77239c5ca4ef84008c
BLAKE2b-256 e709739ef4a664ce8f26e3808100a938f34779753074442e31fc148d6f41497c

See more details on using hashes here.

Provenance

The following attestation bundles were made for dustr-0.1.13-cp311-cp311-macosx_10_12_x86_64.whl:

Publisher: build.yml on wvangeit/dustr

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dustr-0.1.13-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for dustr-0.1.13-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 fda8087e9c8714a2fdef5665b4ca74c00f882b60b8ca3e95db8a753c71c6c9a3
MD5 9284a8f8eac6ad252f67f1486b6e4637
BLAKE2b-256 0140220cadddc4878160af294bebd600297ad40bb179195a5f46d221997aa02c

See more details on using hashes here.

Provenance

The following attestation bundles were made for dustr-0.1.13-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: build.yml on wvangeit/dustr

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dustr-0.1.13-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for dustr-0.1.13-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 695c2f59025feeac46b8736e71c8676dccdacbc36d2f3ac405477e390d903406
MD5 c193f827c81d3b124e33bde0fe4602f5
BLAKE2b-256 15096e0dec0e9523631e029c8ddbbe64a036501dde5c16ad84b81173b454c44b

See more details on using hashes here.

Provenance

The following attestation bundles were made for dustr-0.1.13-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: build.yml on wvangeit/dustr

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dustr-0.1.13-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for dustr-0.1.13-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6d9bc8607a782edb9d3c17e69c8cb2dcacdbcdcdfd3e15594dce6b09173071c7
MD5 54f5a910c06272fb0a322b4b6a0e21f4
BLAKE2b-256 89956c719eeb1d9eeee0a0657e2711697182f8f8f48d6e2361f7d076eacbdff5

See more details on using hashes here.

Provenance

The following attestation bundles were made for dustr-0.1.13-cp310-cp310-macosx_11_0_arm64.whl:

Publisher: build.yml on wvangeit/dustr

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dustr-0.1.13-cp310-cp310-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for dustr-0.1.13-cp310-cp310-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 3bdb55aa512c8d1ab8c12da564341018123b51b9cc2e572b530ae64e3838e2aa
MD5 386799008bfe3c4c9a1409629c06769b
BLAKE2b-256 d4a7f2c4eb5e17e8dc429cef2888a8e74909fbb57886881f5f60c9b75e5a7adb

See more details on using hashes here.

Provenance

The following attestation bundles were made for dustr-0.1.13-cp310-cp310-macosx_10_12_x86_64.whl:

Publisher: build.yml on wvangeit/dustr

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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