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

Uploaded CPython 3.14manylinux: glibc 2.17+ x86-64

dustr-0.1.12-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (654.3 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ ARM64

dustr-0.1.12-cp314-cp314-macosx_11_0_arm64.whl (592.6 kB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

dustr-0.1.12-cp314-cp314-macosx_10_12_x86_64.whl (612.9 kB view details)

Uploaded CPython 3.14macOS 10.12+ x86-64

dustr-0.1.12-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (668.3 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

dustr-0.1.12-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (654.6 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ ARM64

dustr-0.1.12-cp313-cp313-macosx_11_0_arm64.whl (594.2 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

dustr-0.1.12-cp313-cp313-macosx_10_12_x86_64.whl (612.8 kB view details)

Uploaded CPython 3.13macOS 10.12+ x86-64

dustr-0.1.12-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (668.5 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

dustr-0.1.12-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (654.3 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ ARM64

dustr-0.1.12-cp312-cp312-macosx_11_0_arm64.whl (594.6 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

dustr-0.1.12-cp312-cp312-macosx_10_12_x86_64.whl (613.2 kB view details)

Uploaded CPython 3.12macOS 10.12+ x86-64

dustr-0.1.12-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (671.5 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

dustr-0.1.12-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (657.4 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64

dustr-0.1.12-cp311-cp311-macosx_11_0_arm64.whl (596.8 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

dustr-0.1.12-cp311-cp311-macosx_10_12_x86_64.whl (614.3 kB view details)

Uploaded CPython 3.11macOS 10.12+ x86-64

dustr-0.1.12-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (671.4 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

dustr-0.1.12-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (657.2 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ ARM64

dustr-0.1.12-cp310-cp310-macosx_11_0_arm64.whl (597.1 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

dustr-0.1.12-cp310-cp310-macosx_10_12_x86_64.whl (614.5 kB view details)

Uploaded CPython 3.10macOS 10.12+ x86-64

File details

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

File metadata

File hashes

Hashes for dustr-0.1.12-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 53fe5183bb314b27cfade1c15121c29733c813b76a156a4fdd71a5cae9986307
MD5 f69553ae9969a3c262d5119044f9f3ef
BLAKE2b-256 a03e6eb7cf510d659facd418134702706e35dfc14b1da8c9bb63371a324199bf

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.12-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 ee205c7d91fba98f4803ebbdf3b50566e3e23e7d7a26efe9bfa1769e690a6edc
MD5 3964b87658b8a9bf797320d41dc4b8be
BLAKE2b-256 73085f5dc3627ad8e436775a1ad67beaa8b391fffe569bf232fe9a5633c19211

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.12-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 27e89b87355578a482daa5f0d3e34b2a010d93717ad98bdb6b1ad46c71b45196
MD5 dc4f2b2afe92e8922c43f56e7791432b
BLAKE2b-256 71bf500e23f12500aa9186191d8801c4b13574a86061159bcf2edfa7fc8e9bd4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.12-cp314-cp314-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 35feba7fde98fd213c8e1698bb7a88b93180676eb7e838a0af7bb3656a09cf3c
MD5 bfa635231d0c7d715c5dc637dde92ee8
BLAKE2b-256 631534af94a4af82bae399a9fc78fffd552681dcf01bde1247a9377340d82ddd

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.12-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b016cbbecc58f915047b62ebba4717ad9129ae028f7d222c8fd186cc734a3294
MD5 ce2be85ec52b5a3e40722cb72484b43d
BLAKE2b-256 f0933eadd3fd87820238660001e8531703f9204910481118ee2b54c17b22b45b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.12-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 967035a9d1ead5c6b5828b0f8b64308e941b5d93658f55b6817ecc36c8d44e92
MD5 712969dff8baf375b96f9d32c51d76b9
BLAKE2b-256 154b6d34d80ce503a9ef7fab170fc4c15bb9fb91e7276e65657a37e01cc8227b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.12-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ffe184bcf8e94acda637cf00fcaf93d1ec1fd2de01c48ad17e950bbe991601d1
MD5 fd9a733ee0b59caf72160b69e65e0da3
BLAKE2b-256 c7f039774473ab62a1d4b5c8f1eeef4af0bc5aeac02b63afcdd8fe5a52cb9146

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.12-cp313-cp313-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 0b71f852dcd2e5db3a5b9a4edcd9060f8250dca49d4c4fef2011327b15c8140e
MD5 5203e1aa0ce2f705f40026400e98faf5
BLAKE2b-256 0c2294b3232c5066eaaef6795cd1c88ccd9f3adbb40c98dac6e2bddf15154b7e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.12-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ae652b2d0ec93b8cc596c8fba52bcd51ff16f921caad3b2a0af3aebdd43db518
MD5 5f525b714289722873bca56e89e2ac34
BLAKE2b-256 4aca1920a8b5d227beed46e8952f0cf418c41996bd75395d44c59cb8d41d60a6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.12-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 5fb7a1dadd4934665bedf08675e2a3d63f9a69bc993335b8ed6addab77d6a73a
MD5 6db71663f91a944bfe9975593db949d2
BLAKE2b-256 35328f2371c784f4db41bd94d6272cd73ad69d8136b4bbf2c537dde7c0a1859e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.12-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2a772f0a0a46503fd1227d92c999e5e894fa00a9720b446310bd11b96b1ff2cf
MD5 7b81963f4095d0d021b3e02ffbc23070
BLAKE2b-256 b2adb68a42b04d1e10ff1c0278b35571e7da9161abd4f51d0b61c835dab0451c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.12-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 4f5a3bb33a606dd121e5ffd7fc39f7ccf7ff418d62a615fdc5e997da3906ea2a
MD5 bb92593536f6f261effba2a5d0fa0d1e
BLAKE2b-256 a9be6d28b69092b8feafd4dda7916fa07b88839fb1111f7f5b843e9b95bb0718

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.12-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6cae0390762f6157ae761d288b893b857d519972e8ded954cce9bfddc30efd80
MD5 8d40ab97f5ea3c292ba94b9e6005716d
BLAKE2b-256 96999de7d0bdd10124e117380226a9295360229801779e9bfc2cff513675130a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.12-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 b7d1b96207981ed05b349f159b2ea95c1441c0ed8973d5afc1bfdff215955808
MD5 98b3bd30061aec41cc200ca048422863
BLAKE2b-256 9c605d66a80f3d89f17dcfe416f73630e71076ce79c12f58d55ed04164687d83

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.12-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 afaae91dfd5dc3ed609c5389b3a0aceab2cc618c18cadb2e127d9ab57e4cdd71
MD5 66051d6bed6c4f367a33fb7705ac7d17
BLAKE2b-256 b5645584bf27dfd6b37820913937e0e6c39cd06ced9217e1d854859b5190e2d3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.12-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 6d96dd6ec37da167156202f75797b0a25add4220a7bdfefff9855decbcd307b3
MD5 7c5085fd972076cc3e7ff002094f742e
BLAKE2b-256 5edc6dc45444901d111f68402ca59ccaf6fd914f39259a153e9bc6bd29fb426c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.12-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 52a89a6d67c619e097bf9bcd29269e489d2f291143b898838cc85315a234fe4b
MD5 6e923a76433485e34afe9be6dbeaf88c
BLAKE2b-256 f9bdeeaa53f1341193f012353f54262c7aaefea1c1b73e8d616991bc56efbbc9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.12-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 fc0ef3b531f0121a2c37d9ef92d243e1a5d34930e3b18f6f73e94f523816858e
MD5 0a4350c941a69ace20d90fd6e0f11eb8
BLAKE2b-256 937d67171d8545c945be6977f5a457fb271cdf17dcc7993048d9f693107c077e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.12-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 85dd74f4ba29c0992bc0576e4c9202b7f9ffd106a8d0a980b049719cf3a50f4b
MD5 d7deadfbd05d6a70f5b5e7f4fd5137d6
BLAKE2b-256 8fa2a8940e4d1f8abdf99fd5a44a645aced3067d9ebd060f34127cbb98e102e9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.12-cp310-cp310-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 a62844604e6bf12a99c815792ac804b7adb5273d9ab260e2e9276021503aee3a
MD5 89bb134d9ef609bfd0af1be59009168e
BLAKE2b-256 98f916d229a8ff615238552fce6272a3d8e59bcffb404f3a8fda7e9171a86801

See more details on using hashes here.

Provenance

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