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

Uploaded CPython 3.14manylinux: glibc 2.17+ x86-64

dustr-0.1.5-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (297.9 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ ARM64

dustr-0.1.5-cp314-cp314-macosx_11_0_arm64.whl (264.3 kB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

dustr-0.1.5-cp314-cp314-macosx_10_12_x86_64.whl (272.2 kB view details)

Uploaded CPython 3.14macOS 10.12+ x86-64

dustr-0.1.5-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (306.5 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

dustr-0.1.5-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (298.5 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ ARM64

dustr-0.1.5-cp313-cp313-macosx_11_0_arm64.whl (264.8 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

dustr-0.1.5-cp313-cp313-macosx_10_12_x86_64.whl (272.7 kB view details)

Uploaded CPython 3.13macOS 10.12+ x86-64

dustr-0.1.5-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (306.7 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

dustr-0.1.5-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (298.9 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ ARM64

dustr-0.1.5-cp312-cp312-macosx_11_0_arm64.whl (265.0 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

dustr-0.1.5-cp312-cp312-macosx_10_12_x86_64.whl (272.8 kB view details)

Uploaded CPython 3.12macOS 10.12+ x86-64

dustr-0.1.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (309.4 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

dustr-0.1.5-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (300.9 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64

dustr-0.1.5-cp311-cp311-macosx_11_0_arm64.whl (266.3 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

dustr-0.1.5-cp311-cp311-macosx_10_12_x86_64.whl (274.0 kB view details)

Uploaded CPython 3.11macOS 10.12+ x86-64

dustr-0.1.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (309.3 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

dustr-0.1.5-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (300.8 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ ARM64

dustr-0.1.5-cp310-cp310-macosx_11_0_arm64.whl (266.3 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

dustr-0.1.5-cp310-cp310-macosx_10_12_x86_64.whl (274.2 kB view details)

Uploaded CPython 3.10macOS 10.12+ x86-64

File details

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

File metadata

File hashes

Hashes for dustr-0.1.5-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 14b266b157c6edbd78506fff76b7638d67a8c3565ab32d68a7db2258fd9c00c7
MD5 7c16c506a74d1b08ef1c206d9e7e2d6d
BLAKE2b-256 70a27384800a92df6a3e973122428b2fd1a5952ccfc17be91f0b16842773642e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.5-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 992bafaf103afb13342d30c62c9f63a1f940a5a7510f1a4fc438da8f23aa9e14
MD5 828b37fc4da1472805be0dbef9921448
BLAKE2b-256 ca2a8f27f61bd3fae149a60301105dff7e10b2ffeb4b8ec3d268a0a051159ed6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.5-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9bf2f60991cc2aa94b1ae047416999d082fe6f67d727ffd0c669c74428b54de9
MD5 4dccb5d0998a63774977b3690ce77726
BLAKE2b-256 a76933688cd3bd6399efdbb1d91ad1f0f3f61dd05daad5a3a33ab00bb0407db6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.5-cp314-cp314-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 a53bfa13f6c44cfe08cff92ceecd26121feb86f56735d99d27b9a7621fda2658
MD5 881e4e38907f77116e4004ce5b27288b
BLAKE2b-256 630b76c2d001496bdec60ac2a330eba2647c2cb74a0b98fe06fec3f45c7df043

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.5-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a3e4713ae58d408c997cc62eeb85d686d58f284b39db67fa4582f4fd0a5c887f
MD5 1502368a97c10ffc94a1ae6ae2f051ab
BLAKE2b-256 5441af4810eb206eea91019099c8e4420a349aa043da0b6cc5a626b8495dfa50

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.5-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 5b89206c4e46a56a63715fe9cbb69820b80b3963cb87304d5695e0ea999c42d9
MD5 b76f06f718af143c5111847fc0f228ea
BLAKE2b-256 43f0d1c638b8122af47ca6b238947f29edf98ddaddad75c63391b4299b4fc37c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.5-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 392f3574e010daff063aaa910f86ece76243fd62e0b88ac07c69b13cbc87596c
MD5 08217c483e45bea261b401b0b3588314
BLAKE2b-256 c5ff649fe14731cda0377d305d98ea7582dba6db6c3e6fb7dd8f5f43f0194978

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.5-cp313-cp313-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 f3dcceea5e69cc01cc3034f08c10d65d0440a1059f0cbc48e4af873084ecdaf8
MD5 edd7b10bb97ddb673be237b171996a5e
BLAKE2b-256 6a4fc1e1af280efcecde9a9719edaa2b5999aa7832796f8e125d00b6ae9c5d4a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.5-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6f2cad0e8b14f971deadb08af0ce8b0a660887accebb5e554f1cd72d8eea0300
MD5 c9caa6bd910d369e7899b01bd6968720
BLAKE2b-256 cff55390d229f635bb653de8cef1c0f41c0c7b9e67eb7fa7b0973d7492d01182

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.5-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 78e92837cf04cd85de4391f4434a11add668031d95da405759476b2303e2c17e
MD5 46919a8aef375b30d24321475dd4de2b
BLAKE2b-256 165aa07b6c19774caa9d993c97253ab04cd859f2b10e65c94992a406ad570bb3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.5-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 bde9306efb2b68c78871afb3bc9504d57c70819048f5cbf9bd197ca8762ea40c
MD5 565492ecff7c924799ef44ec07d414b4
BLAKE2b-256 296282a6f80dc8a0496b076761fa7cae42f939e5cd27e5e49c12b360b61c36e2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.5-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 8d243a9ebaa87fcc420492057104b003fd555bb16f93aa86836cb6c271d6b86c
MD5 eaa404efa6abc453dcb5e0b47b2e93ff
BLAKE2b-256 dc35461440ff53fa44a2f111a0d419176c16b18ae745ca16a1a1e50cb37a60ca

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 24f6fb26c04b3545b3460d9b800e6ed11a6b2b64f60b4f0a84b8c9d97187621a
MD5 c2370c9d7c3c6d436da0c7501d54433d
BLAKE2b-256 d4715e0d9a356a5140a293a19102c54c64ce9caa87b6a2ac859bd3f3eef7ac57

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.5-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 bc1895073743c7f140cf20c7790489b434f0d3179782dab36e449b267776962f
MD5 37cddda5820ccc57cec5fd22e20b1253
BLAKE2b-256 7aaae6d17d550398664f472f48afa1ce70312f8d5b63a068fd7bed6943362592

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.5-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6948c8690764627086b2067a1870d19e684cc724aec31c8d13291e631838967e
MD5 0c05cef845c7f9856750677197180472
BLAKE2b-256 0b44d2fcc7335616a75626db776d7393adc38269127f79f0b3d2adb1b88221a5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.5-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 c94080a70d5585b51b05e2affc863ccbc0099a8558d42e0396bfdadf0e9b33b4
MD5 6ca8ae1ca6e939b5951cb12789961909
BLAKE2b-256 57f87944143e98ad0df13fa1f21a31f859b109a41c4f0ccba42d5246d2217b7f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a4c2a4f418f8582da924058a7f4f5b0c8c0d1757b724dc65e73a8c59ee1bcfab
MD5 5679448f3ed870594f6cdd0db25f652a
BLAKE2b-256 832c1c01eaade955d375f10cb038f221d15af102294c7836c672024bb7c3d45a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.5-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 ea988d77a30d174d8e731d064bb7066a65380a94a01930eb98661fbdd8962af7
MD5 e29cd34290d20099d4ac462f64bb4559
BLAKE2b-256 78124fa648edde7c8af1f5bda6f676e75bfdd12c8e3c3678a1b857a8a3af0238

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.5-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a7f56cb4b5c129c6c4e629e8226ba6f43ce962f6b5efacbef306d9fe8415d719
MD5 dca843a5f46be715e14135c0c7bdbd4a
BLAKE2b-256 6e1b0074e30306bc927957fa28b3f45fb6badfac6a6d9175811df1aeb8e10352

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.5-cp310-cp310-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 ecab4a65fee994e9e76fe2625df2b9fc287e0fa8911af7fef47a2b998135ca81
MD5 6e7af93c21dc47f1ad669120b3c337be
BLAKE2b-256 d60b04649a562835770bc3724f676469f6b6bf122838adeaa95343acbf0e36e7

See more details on using hashes here.

Provenance

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