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

Uploaded CPython 3.14manylinux: glibc 2.17+ x86-64

dustr-0.1.3-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (267.2 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ ARM64

dustr-0.1.3-cp314-cp314-macosx_11_0_arm64.whl (234.2 kB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

dustr-0.1.3-cp314-cp314-macosx_10_12_x86_64.whl (240.0 kB view details)

Uploaded CPython 3.14macOS 10.12+ x86-64

dustr-0.1.3-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (272.7 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

dustr-0.1.3-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (267.5 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ ARM64

dustr-0.1.3-cp313-cp313-macosx_11_0_arm64.whl (234.6 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

dustr-0.1.3-cp313-cp313-macosx_10_12_x86_64.whl (240.5 kB view details)

Uploaded CPython 3.13macOS 10.12+ x86-64

dustr-0.1.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (272.8 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

dustr-0.1.3-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (268.0 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ ARM64

dustr-0.1.3-cp312-cp312-macosx_11_0_arm64.whl (234.8 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

dustr-0.1.3-cp312-cp312-macosx_10_12_x86_64.whl (240.7 kB view details)

Uploaded CPython 3.12macOS 10.12+ x86-64

dustr-0.1.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (274.9 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

dustr-0.1.3-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (268.8 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64

dustr-0.1.3-cp311-cp311-macosx_11_0_arm64.whl (236.4 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

dustr-0.1.3-cp311-cp311-macosx_10_12_x86_64.whl (241.9 kB view details)

Uploaded CPython 3.11macOS 10.12+ x86-64

dustr-0.1.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (274.8 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

dustr-0.1.3-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (268.8 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ ARM64

dustr-0.1.3-cp310-cp310-macosx_11_0_arm64.whl (236.4 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

dustr-0.1.3-cp310-cp310-macosx_10_12_x86_64.whl (242.0 kB view details)

Uploaded CPython 3.10macOS 10.12+ x86-64

File details

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

File metadata

File hashes

Hashes for dustr-0.1.3-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5ea5edd6cbb713b16689ff7e297c000cb138ca604d9f7243ddf5d548acfe60e3
MD5 4af2a5a3aa67e3d4f4cd4721f0a600f5
BLAKE2b-256 99f80e4218fbbb46c5290b97eea65f3caba8a1216a0c593ef022ad5a708d3ae4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.3-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 8560eeb3245f378367b0075d910b2f27ca421a8b89cac0736e52346394cfe6a1
MD5 4ffeb908d468621d95f4ed85dff056c0
BLAKE2b-256 50b21f404f1628dd41c446779af8663bc5069b8e5cf8520b782f203aa3104bb9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.3-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 fea5667c63d76a39be7caa61893cdea11a7a781899f95dd10a5c1db7dffd1d31
MD5 974d49364c7a48da4bec0439f202a443
BLAKE2b-256 20cbafe24aa7f2b1401a2faf79bcd458c629979679600185d2e1df7fbceec4ef

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.3-cp314-cp314-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 2fbb3868e94c12cc9bf16b9aede3e52a44ed0da564b11131bab9092688b6c240
MD5 2fc4f0da2887221a6ed7f66a6028b4d2
BLAKE2b-256 c7ec420c4946f27c00d4493b3d9c445297a47d26282b182c4d6de0d5ef8ec5f4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.3-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 74b650db0c53e23efef881812b2fc08989c375be5e05e1fedaf4ccae4d5a1382
MD5 c74f7d591e42fd2d54d5425b9f217d49
BLAKE2b-256 027d4badc377c5bee1ed80c5157c3028f0406e4949ba06e3967ab3737eac54cd

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.3-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 2795492b7bd4b7e185458344b65a1228db593b27cd308fffb9dcd8df1751e831
MD5 d21e37312066eb31788a15d728101a39
BLAKE2b-256 93aae2cd3f429bfa78635c79c37203216dc1f3ca094a71de92702d0b2408d27b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.3-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 fa4a35740db658d5f870db655f4168719fc167df010977b6e8b3529366e35189
MD5 5e81a9043a418f176663599f9444c53f
BLAKE2b-256 1dabaade919623bd4a7a17ed3e83131f4f3c415c7e055e19800b137fc5dc0045

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.3-cp313-cp313-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 0581c5842f4e3306bd3975e451755345b9872e3b88f4d944f70a030e7f2a50f8
MD5 059f8fca84bf9a5719aaf6892f69e033
BLAKE2b-256 3cc513a95754150ee6fcb6b5b4af6206dabcf772157e1526ed7af32ceb375622

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f79d6455105cef16d68cc7b0075c1b13612e467f19c93e2198e441d887082edd
MD5 c4b5112d9b046d807f7a1e0bf97e1dc4
BLAKE2b-256 f003bb15d7ff75b9b0699d07f16a27d278fad92059b48d82082047796b1d8ce8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.3-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 f42bb4e928a98e45a4b30719f30e0e796c29c7483733a3282a05a8f098d53066
MD5 427d8035ff13c4877e55536cb33cd78d
BLAKE2b-256 e4b3eb028523fda1ec805cce22b961d003dfddc6ec71189428733786cc842132

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.3-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c71dfe0400dd790264cfd3df09883e88d7b67624fa580662512bb24b47411279
MD5 65b7ef4c4e25e6235407274a7253fc33
BLAKE2b-256 831356d14ee8491716f53be74fae0867bfbfab992f4d4f8283d298d67ae66a1f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.3-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 d6d56027bdc13afbb260465bc020d9fc5b5db812145abeca6209a2a63545ecbe
MD5 186a033a2de873d06b1422358abd024a
BLAKE2b-256 11b5bc9e069d93eb9b13a7ce79400975c0305d9b2d55a8ce957c573e525073d0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 79ae30914cbda6e1f27d24dbf65aacc4480641abd6c88f1ddc7acd8a54a7cee6
MD5 87623b32da11d9a9cc0c4eb06fbe9e8e
BLAKE2b-256 52c3d74f40daab4af930bb4ff58006870af6c6e03ec9a7836bbb96be979763b4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.3-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 bd12e149e65b7399da513cc2dffd6e4581dd42dc977a7cfbafa5b9e830d3bdda
MD5 deabf2e4b4ebf8cfef05af024baa34d6
BLAKE2b-256 3947ac80131bccf0a9c90647d6a2ac646d6073f525f0f683cc5e80c7ff41de4e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.3-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9c3d1bb56c7fac130f919ae55608fa1c43557e04a564b493db820bd0f9bf9607
MD5 e32a43b0a3fca9408c542a7962b4245d
BLAKE2b-256 e10e330808eccca08e76912b13fc80d0ec8ecee0e5a317c689de6bb2fa5cfb74

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.3-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 46d8acb70b938497e13d7ee99c2178a9d95907875f660b3a2ce61daea0d7f918
MD5 38f38554dbd02a6db1f17f51e2fe607c
BLAKE2b-256 e5648ae50ce576c1cf73e2a8ca0ed06ac610e0d505d1dcf6d9a65037f610fb7b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8883227a7e093ac770bd5a212ba8acb4dbb268681e2ad1458b611d6a28f306bd
MD5 6fb5a2d03926b42a0a50113143e7a0a3
BLAKE2b-256 a9bd61627f943474b302e9ab3569b8bfac4c4fdcbfbbe537f261c7538610b1f2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.3-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 fcec278928b68772532baa51d351972ca2a1cecf482b1f6c51d1a4ea72220710
MD5 15ebde9508bbca4ac7f10cd60cfd21f2
BLAKE2b-256 574820e943257fdda323f58340f602e2202d69ac57da89b4761a3c0d7bea63f1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.3-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 658f17a9f5000520fe82e163291c7759a1934f201968911bb1d9063db57b472d
MD5 6bbff9dc960441311b7daa719ee96792
BLAKE2b-256 ec53bab3250bfbd30e19a6742ea247727dbb00cca01c83fe8708e15cb0176508

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.3-cp310-cp310-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 d539b249258c1c2ce405994dd702bcaee76b2588e70b5dae00c5e6e05f0ff6b2
MD5 438190adcb1c8714ed9e21a88f6e7fb6
BLAKE2b-256 88ce6fcabc3a4566b04814bc08a6f1a6668289f907b754025432781a5de8fc51

See more details on using hashes here.

Provenance

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