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 "." :

in kByte       in %   histogram            name
4              1.39   #                    .gitignore
4              1.39   #                    setup.py
4              1.39   #                    .travis.yml
4              1.39   #                    README.md
12             4.17   ##                   dist/
12             4.17   ##                   dustr/
12             4.17   ##                   build/
16             5.56   ##                   duk.egg-info/
220            76.39  #################### .git/

Total directory size: 288 kByte

Installation

From PyPI (once published)

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 [directory]

Options:

  • --nogrouping: Don't group thousands with commas
  • --noprogress: Don't show progress bar (note: Rust version calculates all at once, so this has less effect)
  • --inodes: Show inode count instead of size
  • --noF: Don't add file type indicators (/ for directories, @ for symlinks)

Differences from duk

  • Performance: Rust backend provides faster directory traversal
  • 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.4-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (305.5 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ x86-64

dustr-0.1.4-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (297.4 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ ARM64

dustr-0.1.4-cp314-cp314-macosx_11_0_arm64.whl (264.0 kB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

dustr-0.1.4-cp314-cp314-macosx_10_12_x86_64.whl (272.0 kB view details)

Uploaded CPython 3.14macOS 10.12+ x86-64

dustr-0.1.4-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (306.1 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

dustr-0.1.4-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (298.1 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ ARM64

dustr-0.1.4-cp313-cp313-macosx_11_0_arm64.whl (264.4 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

dustr-0.1.4-cp313-cp313-macosx_10_12_x86_64.whl (272.4 kB view details)

Uploaded CPython 3.13macOS 10.12+ x86-64

dustr-0.1.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (306.4 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

dustr-0.1.4-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (298.6 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ ARM64

dustr-0.1.4-cp312-cp312-macosx_11_0_arm64.whl (264.7 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

dustr-0.1.4-cp312-cp312-macosx_10_12_x86_64.whl (272.6 kB view details)

Uploaded CPython 3.12macOS 10.12+ x86-64

dustr-0.1.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (309.1 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

dustr-0.1.4-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (300.7 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64

dustr-0.1.4-cp311-cp311-macosx_11_0_arm64.whl (266.1 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

dustr-0.1.4-cp311-cp311-macosx_10_12_x86_64.whl (273.8 kB view details)

Uploaded CPython 3.11macOS 10.12+ x86-64

dustr-0.1.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (309.0 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

dustr-0.1.4-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (300.5 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ ARM64

dustr-0.1.4-cp310-cp310-macosx_11_0_arm64.whl (266.1 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

dustr-0.1.4-cp310-cp310-macosx_10_12_x86_64.whl (274.0 kB view details)

Uploaded CPython 3.10macOS 10.12+ x86-64

File details

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

File metadata

File hashes

Hashes for dustr-0.1.4-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 932a61de1e96ab265aa1cff659a1e4c9b1c658e0ec6d8282a50ab2a99a64a2b8
MD5 3f685ca17418cfc5032271a2f1132bac
BLAKE2b-256 bbd1a162521d6162bd5828180d53d2f7c5f30f01f69ccd1833ca1f30d91cd2a4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.4-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 e43b65f9f91d4637a97f7a172c70cae00902ada1b161a2a487b2090adbfa0c8d
MD5 e20bbc6cb07b4b0756510868f175c6d5
BLAKE2b-256 90a837f10ad15abfb590d72df6f735165c375dfb42db2e7a219cb0f44ccaf2e9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.4-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d0be723140218de4faff3c675af0e955fcecafbd96dcd24742f404f79365403c
MD5 c96b23017f7a80969b855e931028a170
BLAKE2b-256 e4f9ba51b1d4284e634da8fe594ea9060d8eab68718c37f0f0e65a825375be5b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.4-cp314-cp314-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 9bf0ba54383de00bf78936e7fb2406b0c9d789ba11c08a72b178ea1fdcf24ade
MD5 bbd0a22a97f9744f267c3f790fe2f1f3
BLAKE2b-256 9034bba2dc82dd2b64ed1196960bfc00bc555f7324caf9568b2f269cd0ca5dab

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.4-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5eb801be87b3d97fc57c9d0f135a57cd6877cdd8490c33b024d98b64f35a2241
MD5 32db3560418393b15d952e261a09301f
BLAKE2b-256 04049e3c06dd483ccad54ac9f1d8866f2982ce95fdf08d8298c9d57a52113a86

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.4-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 92006cb1ed3db42a6c05c24452d522319f2d014b272ebb482d33dd291b8f4533
MD5 ed42dfdf536de9af1195f120a9b1423d
BLAKE2b-256 07c168d66c2f30ee2c50f0d18561ce5f09df0d057f409cd0273089b4e1322532

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.4-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ba4e16cfd89df905fe593f2886c716f5cf9a83a8070ed826b26a755f11022f9f
MD5 2946bb2ef845735548a91ad1088b3272
BLAKE2b-256 0cb2ca208a20fbb0bf6005c89733fd46b3ea9b84102db3d3a9c7bd40490f081d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.4-cp313-cp313-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 6f58e716bd2ba58c38fb24c2dbeff3823daaa333918a04864523bc55e44780fd
MD5 495a45e57d55c137311e97e6c5c66229
BLAKE2b-256 faf9a583dfb7b4e2d6a1eb10dafab7af27d1264d8df6930ed091a2d50135ba9c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9c6a9995d12c56673f96bf515d848be9130cb38ac5aa76b78dafd374251a281c
MD5 06471acc44df1600eb2cd45207c356ff
BLAKE2b-256 0310e2062c917fa6108c6dcb1c82ac486eb33339b584e73fa108dac1b712d61d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.4-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 6d376e45fcd63f678faa21201fb465990df7a62e5265b05f6d41a0a716c5b236
MD5 70c9f464478c39c7668fc6c19502083a
BLAKE2b-256 2b6e11517d754152446d016aef9543b615fece360dd5c9dd3169c36c50b83046

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.4-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 740532d8bb9b2a31665d1c339bdf878181c018b9b81116855f50ba2e03ad866c
MD5 e4faf4694a6e3c187b0b838b36cf5e5c
BLAKE2b-256 e8e6f6dcd91b64b1d0440b5e60df8fb8a7bea655558b42ffd242066666f932e0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.4-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 3b950920edad3a81e0677040d72a3ce07164614f6d85ceb2bd4e69d83d6177d8
MD5 318198a2ff4f3f2d4f72162a7a6e3228
BLAKE2b-256 c23c5c4ecb91e85399cff1bdad20a96b9d17753bcb7c1e5be24eba178716a579

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 02c2b3ae2e39ed1bae1fbcb71808fab49712deada41d997c342ff46995979b05
MD5 1fb8e323638ccb64336fca50f4c10cf1
BLAKE2b-256 ab1d83c236f1aae63486b81393170198b441d99ef67804d080c558a53aa14afc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.4-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 bf4901b3054f3f6bc8cf5d25304898f81c623c5da4d7057a49282541cb5837e5
MD5 614c990d3248c6864c9272ccfaf29d06
BLAKE2b-256 9a59a11aba36dbd513ecda8e36686138ee66058a088c40477545f8e138e774b1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.4-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 36ac9e5eba4a60973ddf8ca6017547a64f2b019a5a128f86bf8557cb0ffc69b5
MD5 c6252a8cefb707827f188b1e04b1e29e
BLAKE2b-256 818f8dd0c0c214a4b80cf41a89e33b0f4d0294acfcce362ba6b3ee436f552484

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.4-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 cbcc05bebbe473b51cb3289545ee815eaba6423858d42f08d14d81c063a790bf
MD5 b96b9fc2425c344bbac004ca4d299933
BLAKE2b-256 98c74b91843038bdec3c1a289e5689d3c0463d95848d345fdd2409609010b16f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 93a1c4d02ef51ef99fb08fccd37d2d91123a7dd5758d982f389e1f952fa03e64
MD5 cf6d3ad8b06326250dd003bfe8ef54af
BLAKE2b-256 d4e25d35e1b37c8c59f89ff81e74e8c68eb6d64e1f5d8500c757f1f18bc1a2a2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.4-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 a086a2fed61b2622124db05e7eaa0b3756d35d976e1f22b4b86dc4f1961e5860
MD5 d68ec402bafac2fca8955b22aeb8159a
BLAKE2b-256 ba1da139be8e4d3d235c5663d236414eb7a5db96ebe80af30b317e1321d9a477

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.4-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4136ee6c8e563ee80a6112ef31d3acf0f9b811aa0640a3c3b02dec7763625f28
MD5 ad0fa390777d6b3f6bdcfb0c2c5f58af
BLAKE2b-256 1d79e32625776f3febdfa08326b02d75e41a218ed5fe41bcf9eca51eee703f4a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.4-cp310-cp310-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 d01fdc599396935b9e509391c38a48285a7285f63a225dee6df24c86efcd3d9a
MD5 769b3fb87f0375c03b1cdafcf5bbff4a
BLAKE2b-256 e779ad74a9c5ce06f1a4c2c6dd2ccbeeb95210d430726eb0395f64aea00337d4

See more details on using hashes here.

Provenance

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