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

Uploaded CPython 3.14manylinux: glibc 2.17+ x86-64

dustr-0.1.14-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (660.6 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ ARM64

dustr-0.1.14-cp314-cp314-macosx_11_0_arm64.whl (602.6 kB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

dustr-0.1.14-cp314-cp314-macosx_10_12_x86_64.whl (620.5 kB view details)

Uploaded CPython 3.14macOS 10.12+ x86-64

dustr-0.1.14-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (670.4 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

dustr-0.1.14-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (661.2 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ ARM64

dustr-0.1.14-cp313-cp313-macosx_11_0_arm64.whl (603.2 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

dustr-0.1.14-cp313-cp313-macosx_10_12_x86_64.whl (620.5 kB view details)

Uploaded CPython 3.13macOS 10.12+ x86-64

dustr-0.1.14-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (670.7 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

dustr-0.1.14-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (661.0 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ ARM64

dustr-0.1.14-cp312-cp312-macosx_11_0_arm64.whl (603.1 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

dustr-0.1.14-cp312-cp312-macosx_10_12_x86_64.whl (620.8 kB view details)

Uploaded CPython 3.12macOS 10.12+ x86-64

dustr-0.1.14-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (673.1 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

dustr-0.1.14-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.14-cp311-cp311-macosx_11_0_arm64.whl (604.9 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

dustr-0.1.14-cp311-cp311-macosx_10_12_x86_64.whl (622.9 kB view details)

Uploaded CPython 3.11macOS 10.12+ x86-64

dustr-0.1.14-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (673.0 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

dustr-0.1.14-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.14-cp310-cp310-macosx_11_0_arm64.whl (604.9 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

dustr-0.1.14-cp310-cp310-macosx_10_12_x86_64.whl (623.0 kB view details)

Uploaded CPython 3.10macOS 10.12+ x86-64

File details

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

File metadata

File hashes

Hashes for dustr-0.1.14-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e4631e9e4c8131025a163e47eb28243920a7fa1b99b3a39260a561a133087f11
MD5 c865ed7e1c7949eb81acaa5d8d9d4fbe
BLAKE2b-256 c955be65bc0ff97b397494629451d6423cb07947b50695d72f90abf4c8fb9168

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.14-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 49caa068ba98740f19fffd8634c820e8c8e8fda6d8a4cc3b25f2fd6c4274894e
MD5 3ed7c90d1f7254a3337f17a60b120e57
BLAKE2b-256 0470e83a2550546f8c7d17a6eb215273650f59b1b723fc6a861e99fa3c7c4e67

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.14-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9ddfc9b7cd1a3c2ec816b81a176a996caae0503a6155973d241bec042677e92e
MD5 7be22babe20ea88719134c86faee43bd
BLAKE2b-256 e06dc18bd957f3d6cf95254087bdbe5d099d88dcd65e6ea70d351d40dd295458

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.14-cp314-cp314-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 899c48df58ad1194fecb021b5c6d0577cce54ccf58536aeed3bce9e36f73ee3e
MD5 d62af5f5726ab4f9dcf9c5f97a5863f4
BLAKE2b-256 24535c19bf764c40272d6b5bf87e23083a54308fd228ed6d7f0c898f30a8fffe

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.14-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 597e8a0fd9551f18b28d12e32c05653dba85e7c813ba38d7a2c2202605f57921
MD5 7e386bb972a85d9d5f3e6a94fdd523a2
BLAKE2b-256 5cc0ac19dab569c27572cd17e42d7c3c4dc05ff0f444777e0b7ef551b2733531

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.14-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 e40bc5d20a30c782014fc8a37bb3a92516de7031dcf536265e8d99b4f804c3e9
MD5 6d9ced56d92a3ef09e2a71baeb2e571e
BLAKE2b-256 c236ac85d0fa1577e1cf5f21392e2ff4d0e8949c5ecd3e8935d1f3bdb74e695d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.14-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 35744867bd8274b76b427515eb8087c5ec64c9391013c3d4e4e02e86dcd77337
MD5 9d322a1e0b0fd3a7708ca928c4842165
BLAKE2b-256 1639aa49f2a5f0dbe3f38be77f64c1b043ed280e69b83ae525e37af196d454bb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.14-cp313-cp313-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 d4147f8492d03b631949c633e7f90462d94487fd6c510d89d0175710fcff86eb
MD5 68cfec778da20b92155169b12bd21b5a
BLAKE2b-256 9d7901fb29794b6a8f34c779fbd303903c8a4a57739458b22968ea60030bff4a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.14-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 47a8c90c9e97219af9e53191e69e9f8e16830639e0cbe4b04bead6eb860e79ac
MD5 a0702d855f049ea70150d80f4bffb049
BLAKE2b-256 4881e9bf6ecc43f1da137d4b8a3890dc87cdeafc88c9b40fb8cea2adea034589

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.14-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 35697beead87e2a81ca57aaf0357d599caa5f39da1660692b25b068304e78f65
MD5 e1eab4532670b283ae811bfc43f06cb5
BLAKE2b-256 2240575533dbd8aa6b0540ca95306f1f4b3c2583d73d89a898b4b8cad7ed1db9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.14-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 cd00258bda81b63095e5abfe974f64571bcc80b7c50522e1db467c001c01a829
MD5 fe2a8e8bbe3a739aeef96cd37e94fc82
BLAKE2b-256 66571019639dd5293fa1fec3f2b0208a27696bdc7a85e0cfba7b1ea33cf63f2c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.14-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 b34403bddb12d0fb6e74be795b3dd0c2058a23b3d09855613bc108636de90236
MD5 7652120ff385ab770e55ab5e5bb8c25b
BLAKE2b-256 dbc0a04fc2aecdf70973df5d64ef577e15674fc359e28507f90e8caa005cf2cd

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.14-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5cca03a98576e589d366539d63b67f18b583642b601bd07a6eff71b86f3c7a64
MD5 0561285f3b885b76230e252aa1e10186
BLAKE2b-256 4659ebc641d9c3fc56ab152120b988af012eb3b3491e97b5e18c797d1a8648f9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.14-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 d357a8b61a783298ccd11b813e25a4dc91f3d3b8fddf1719bfbcd685697d1734
MD5 4e67f29b7b948b57a7ef3e080e950df9
BLAKE2b-256 552374d72ffa22456493a8e77058d9fdaca6a9938a03ff70de86f6500b9ed5ea

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.14-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 87d3d01e10a199f6d5f5a51fa0c712d8e329137fa4182788a253fac14b90cce9
MD5 97e9efe386df1970cfa6b23cc75e9355
BLAKE2b-256 afb7cbba12c0a5d1a6f97038dfa981825a33c82896bafc0d7716194163e2af32

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.14-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 c79454ba77fed7d681241201bdffe6faa1faf8e4f704d58ee8bd7b8359fefc58
MD5 7766fb27cb46ac63700ed70ddc8aaa34
BLAKE2b-256 cc730f4f369941f69b8b0520c6d3cd1369091ae6b566438b50eaee58dbeb0d84

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.14-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4e1de00276f4019e77a1806b9feb81b4f8abe8604b94ba30fa690d3e1ebceb9c
MD5 cedd33b94fa9d8d14c4134b7d6760ab1
BLAKE2b-256 93567a3d90224831752fa1c3a3a866220240dc3ca926185141ee493a8e81b0e4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.14-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 5a0c9d8903a26c56dc87f0e62f1bcf6397b309c5a507794ac364324f897c89a1
MD5 a69f6e89bc106a42003fcbc56b63c4da
BLAKE2b-256 14706b933d0637fd76c1c2b9a70ba0916f58dfe40a40e9a91cbb69214f67ead1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.14-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ac180e2e4fdd2cfea7f40f23dbd6a620ace9f70c7ecfdb42754c57d3b5f1ffd6
MD5 3f91adcf454872198673a09c03cceb64
BLAKE2b-256 58f2ed0a20fd8b1288927c1a186b1e000149c9b874559af197c7c19e2f549c9d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.14-cp310-cp310-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 306d568d6003bc0c2ef73d07b4694734f43defb72133019d48ac2cbf5065df06
MD5 1cd67da8333e935b7d2df84c607e25b5
BLAKE2b-256 3b56dcf0f9a48007f5ddb3524362a4421641f7299be5ca6e54f0a3d88cfa5178

See more details on using hashes here.

Provenance

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