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.15-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (669.6 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ x86-64

dustr-0.1.15-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (661.0 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ ARM64

dustr-0.1.15-cp314-cp314-macosx_11_0_arm64.whl (602.7 kB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

dustr-0.1.15-cp314-cp314-macosx_10_12_x86_64.whl (611.4 kB view details)

Uploaded CPython 3.14macOS 10.12+ x86-64

dustr-0.1.15-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (670.3 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

dustr-0.1.15-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (661.4 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ ARM64

dustr-0.1.15-cp313-cp313-macosx_11_0_arm64.whl (603.3 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

dustr-0.1.15-cp313-cp313-macosx_10_12_x86_64.whl (611.9 kB view details)

Uploaded CPython 3.13macOS 10.12+ x86-64

dustr-0.1.15-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (670.6 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

dustr-0.1.15-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (661.3 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ ARM64

dustr-0.1.15-cp312-cp312-macosx_11_0_arm64.whl (603.2 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

dustr-0.1.15-cp312-cp312-macosx_10_12_x86_64.whl (612.2 kB view details)

Uploaded CPython 3.12macOS 10.12+ x86-64

dustr-0.1.15-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (673.3 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

dustr-0.1.15-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (664.5 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64

dustr-0.1.15-cp311-cp311-macosx_11_0_arm64.whl (604.9 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

dustr-0.1.15-cp311-cp311-macosx_10_12_x86_64.whl (613.3 kB view details)

Uploaded CPython 3.11macOS 10.12+ x86-64

dustr-0.1.15-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (673.2 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

dustr-0.1.15-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (664.3 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ ARM64

dustr-0.1.15-cp310-cp310-macosx_11_0_arm64.whl (605.0 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

dustr-0.1.15-cp310-cp310-macosx_10_12_x86_64.whl (613.3 kB view details)

Uploaded CPython 3.10macOS 10.12+ x86-64

File details

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

File metadata

File hashes

Hashes for dustr-0.1.15-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b4c8238e7b5b222246989d60c5a38e6c0f8bc1501f93ce95407b39a53e7c02e5
MD5 b61fff962d77f33382108b9cde35aa65
BLAKE2b-256 7768a541f00ee4423ffc0ba82305a9f8942c437bc544b2ca30057612efe62880

See more details on using hashes here.

Provenance

The following attestation bundles were made for dustr-0.1.15-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.15-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for dustr-0.1.15-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 c8f9ce60531fe26e5823b30fe6f2cd33ebcb5163df0b4e1a7c4ebffccd295d4a
MD5 26ef32ac39d416d23766980aa6d58236
BLAKE2b-256 3e3abbcbd6d78a5826c5282f14ccc2aa93d99eeedf648bb602fc5605a6db4ffd

See more details on using hashes here.

Provenance

The following attestation bundles were made for dustr-0.1.15-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.15-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for dustr-0.1.15-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 015bb75292118d473da9b74f3532f1b6a5fd49681e565cb8df2b787f2dfd1f84
MD5 fc1abd89238f57cdc5dff9ec09aa3389
BLAKE2b-256 ae2a9170f0fc83242c574698d42b29dbada5c705e85175231b6889ecbe127ae4

See more details on using hashes here.

Provenance

The following attestation bundles were made for dustr-0.1.15-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.15-cp314-cp314-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for dustr-0.1.15-cp314-cp314-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 7d33ba48a0dac655d5e67f83af320b94d09b922d09c13f192a43af9cd3a8ca42
MD5 13af7436288997c4fe4819f2c16b08e1
BLAKE2b-256 3cbc494545ba1df5c806ac231b57052a1b16f83c4dc3902b245243f3d837d83c

See more details on using hashes here.

Provenance

The following attestation bundles were made for dustr-0.1.15-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.15-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for dustr-0.1.15-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4865070742840b3bcee39a2a644619eeef44d1baee7ae407c21a1f48bf60f3b3
MD5 0158204cc55329984cc86c2c6c080f3b
BLAKE2b-256 723f7b2406b9a40e03de620a04c6906ddd1e8a15856788559380032c81a19e7e

See more details on using hashes here.

Provenance

The following attestation bundles were made for dustr-0.1.15-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.15-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for dustr-0.1.15-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 0567f4f5b1e6a7dad69b7ca82b77d02bd14993344eb3944d2f4a4dc0b54ec5fb
MD5 6be9a69d09b79f87aecef2e52c5731b3
BLAKE2b-256 7230a500a519e095162841b41d287460643fcfe59215e3fbeeb6aa321df05577

See more details on using hashes here.

Provenance

The following attestation bundles were made for dustr-0.1.15-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.15-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for dustr-0.1.15-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1fad163a8e7538d4054503b3ff8c279204507e3df9fefcdcb1e8a7589d2cc6ae
MD5 c20f252f36a8d7a4a37393ff3a2b1444
BLAKE2b-256 274e749a237f9dc1740e258e840e2010f3393da0f2b7986332de971e122305f0

See more details on using hashes here.

Provenance

The following attestation bundles were made for dustr-0.1.15-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.15-cp313-cp313-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for dustr-0.1.15-cp313-cp313-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 1ca6dcf92eca352084647f37e988f73451d55372cdc572707b8a8e517016c1b6
MD5 a2d8f46181345d1a4351984f1e721fda
BLAKE2b-256 d15aff52c8beb6a9aec1dccdde8e7169519cd93fce542946e5d0c0195430218e

See more details on using hashes here.

Provenance

The following attestation bundles were made for dustr-0.1.15-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.15-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for dustr-0.1.15-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a7c3a1a10d87c82e57dc0e48b6dcc16312efa197f7c4b88e0daf1470ecef0a33
MD5 574482cb3e252b425242d93891027b79
BLAKE2b-256 3aea2ba81c539e619f24ba090b3d1e099d79c4d53bb597ee5fe64c8c8ee2654c

See more details on using hashes here.

Provenance

The following attestation bundles were made for dustr-0.1.15-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.15-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for dustr-0.1.15-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 9235e45e681549abddcdbb5e2bcf38e0343fdef51b3a1886b03cbf1f24c6a913
MD5 fcceba91dea87a5dbc5569ab86573be5
BLAKE2b-256 2d9c8c37260a620f180e266c2e40f3a2a8b7e626762e8cc58f52ea4010bd90d1

See more details on using hashes here.

Provenance

The following attestation bundles were made for dustr-0.1.15-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.15-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for dustr-0.1.15-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 875e66808beb184bddeaec56c8a7b6bada53a8cc885aac1486c753b5fe84a97b
MD5 074ba8797acc33bdea50d24d3a010b42
BLAKE2b-256 f240a3ce016cd701197688a836a601d8a2374d95f7c9bd362b2f1cb4aaae0b12

See more details on using hashes here.

Provenance

The following attestation bundles were made for dustr-0.1.15-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.15-cp312-cp312-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for dustr-0.1.15-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 bb8b9711e471c36c98e0c7179f5584dbb23d7ffff49d1fdd2b833bde213d5d8f
MD5 9d8d0ec6c6ec2b23cc5b098e941f6edd
BLAKE2b-256 c854b4f9e162c5fbea5d8f3126563b0620fa4ec400d421f1aec6d77e11d238eb

See more details on using hashes here.

Provenance

The following attestation bundles were made for dustr-0.1.15-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.15-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for dustr-0.1.15-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6a8803bb5a1d0cc84797f35fcd41fc15cfd3f05f0342cf56dab4d9fd4fd36006
MD5 f75a317067d630bebf652ef66830f40f
BLAKE2b-256 e8168e0eebf811d3dc117d69ba8ae3f803a248be6b5838e27e78680b60e276b7

See more details on using hashes here.

Provenance

The following attestation bundles were made for dustr-0.1.15-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.15-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for dustr-0.1.15-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 49e0a26e560fcc5ca9bd2c99ecb295937160a570f3244383c2cd2af132625941
MD5 219c868abbe0d0a31478ef2a674c93f8
BLAKE2b-256 c20b32feacc2b52a95884ad13ad3e2eb32aeb1bb0f9d2279f03a71a493355379

See more details on using hashes here.

Provenance

The following attestation bundles were made for dustr-0.1.15-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.15-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for dustr-0.1.15-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1ba255837a6785ea62171ba8f0fbecea987abbac67eb2977a8a4f088bde6a49c
MD5 978408759ad0eceb1d40720001db9f71
BLAKE2b-256 03083479836210a12963ed796a450dd469fff4866048017e5238960bf59c6178

See more details on using hashes here.

Provenance

The following attestation bundles were made for dustr-0.1.15-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.15-cp311-cp311-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for dustr-0.1.15-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 e4a3e582dd23cffe5e1c8a82981d901a9f937565862f60c38b1d73dd1c666eb7
MD5 f43acc74424f92a28fc4dda163e00828
BLAKE2b-256 7db4bd45aa986c145d196ff58b962b4764ef9c8963721937501d877841d08d1e

See more details on using hashes here.

Provenance

The following attestation bundles were made for dustr-0.1.15-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.15-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for dustr-0.1.15-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 bdc6b8157a6fa1ce59a85307882bc53ff91951e1d7614eaec4729d8fbbbfaa3c
MD5 09134a20531bf98192020d1413cb42d9
BLAKE2b-256 0285b12b718a2cec88af676b73d319668336899deea76251c82b51a6136c9009

See more details on using hashes here.

Provenance

The following attestation bundles were made for dustr-0.1.15-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.15-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for dustr-0.1.15-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 81fe8eac7f175bf53e5142cd4967fd51a8ad410959cf67ff49c2d2a32fe0d200
MD5 1774b19b676df2cb16262f0161116573
BLAKE2b-256 a3e0067921bb27d2cdaad2770e569679ab9e7ea78848b35aedf6bb4f875d0edd

See more details on using hashes here.

Provenance

The following attestation bundles were made for dustr-0.1.15-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.15-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for dustr-0.1.15-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 966d8ea942413e998f6c54d0353504030286fef10c1762b08f7e791888e83817
MD5 6c334af15afccf2ed1167ad6e7db8ee1
BLAKE2b-256 652f0d263ce8e0ea62e85b092127250e0a55e5178a01cb61826a520e13a15f5f

See more details on using hashes here.

Provenance

The following attestation bundles were made for dustr-0.1.15-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.15-cp310-cp310-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for dustr-0.1.15-cp310-cp310-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 7d9ced617097cfbf9db7d21be7721a444a3defbc1fd2db01d6229196fa322e6c
MD5 29334517ddf97c0957c1a913e1ad9be1
BLAKE2b-256 ed26ee5efa23f38ae66a8ff27b568f97c47b42dd0ef1192ae7b7e1d2e6acc153

See more details on using hashes here.

Provenance

The following attestation bundles were made for dustr-0.1.15-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