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

Uploaded CPython 3.14manylinux: glibc 2.17+ x86-64

dustr-0.1.6-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (301.3 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ ARM64

dustr-0.1.6-cp314-cp314-macosx_11_0_arm64.whl (266.1 kB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

dustr-0.1.6-cp314-cp314-macosx_10_12_x86_64.whl (274.6 kB view details)

Uploaded CPython 3.14macOS 10.12+ x86-64

dustr-0.1.6-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (310.3 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

dustr-0.1.6-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (302.2 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ ARM64

dustr-0.1.6-cp313-cp313-macosx_11_0_arm64.whl (266.4 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

dustr-0.1.6-cp313-cp313-macosx_10_12_x86_64.whl (275.2 kB view details)

Uploaded CPython 3.13macOS 10.12+ x86-64

dustr-0.1.6-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (310.4 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

dustr-0.1.6-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (302.4 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ ARM64

dustr-0.1.6-cp312-cp312-macosx_11_0_arm64.whl (266.5 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

dustr-0.1.6-cp312-cp312-macosx_10_12_x86_64.whl (275.4 kB view details)

Uploaded CPython 3.12macOS 10.12+ x86-64

dustr-0.1.6-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (313.1 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

dustr-0.1.6-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (304.1 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64

dustr-0.1.6-cp311-cp311-macosx_11_0_arm64.whl (268.8 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

dustr-0.1.6-cp311-cp311-macosx_10_12_x86_64.whl (276.9 kB view details)

Uploaded CPython 3.11macOS 10.12+ x86-64

dustr-0.1.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (313.0 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

dustr-0.1.6-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (304.0 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ ARM64

dustr-0.1.6-cp310-cp310-macosx_11_0_arm64.whl (268.7 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

dustr-0.1.6-cp310-cp310-macosx_10_12_x86_64.whl (277.0 kB view details)

Uploaded CPython 3.10macOS 10.12+ x86-64

File details

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

File metadata

File hashes

Hashes for dustr-0.1.6-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b9ffa9fd23ce22a4dd8ae096f71fda85819e957f8ea5eb04cea8b1e4db8477eb
MD5 c92ff3d1e5e1e8d74444a38c8d9c7ef8
BLAKE2b-256 010b5d3e2e053464e392139eabac2b1223abaa1f8acb81cdd27eccfa55ff7fed

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.6-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 c59610c9390d831b474f4967dbcfa76935c0b1d1ec43fbb2501a477e76e36727
MD5 f25acd68529d6dff599fa359dbb69f5b
BLAKE2b-256 b4c96954beba41d0a1ad505dd17dd6fdde026c3c63de33ce3dc5e9e464e8c1b6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.6-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 bbddd9fdd65a6a734af9c968d0a8a430adbaddffa7c234f479e97975e8e94cce
MD5 6074283c1a6ce25bf390af5ccaebb5e9
BLAKE2b-256 0da2284d8878f9a68a3a1688d08e44d8a46a08d272b6c2eeac3b12dd0f85e3a1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.6-cp314-cp314-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 a819d1f2fac121f01d9f370ec5ecc7b932f219622a8039d3311f0b0c7f9bfe81
MD5 6d89b9c7a9f0812988be58516c491e65
BLAKE2b-256 7cdd0293f9716ca73aae6b1224302850f5067e06236a4054290379771475b224

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.6-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c8473e4ca8665838830200402858beeebed844a3e706812724835769c17ea5ca
MD5 5ed73851fa301f494f97ebe1d89f72bd
BLAKE2b-256 14cc35b4a10fc3185bafb2a185ddd15ec61ff45f061e090854d81a63415e741a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.6-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 b2ca8db8d4e376787da2118f6f427a5e36885a5745a8fa5dd2726bb71ce58df1
MD5 40de1fb659a8b3413c57687a923226ff
BLAKE2b-256 d990eed1f933765222915dd0f11e23033463eb36d673fa56a6356fc885dc6694

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.6-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a56da130b1a3ae42a9f53770ab325ffc3914b2a3b06f161b4425ef93e3e40f1e
MD5 22ffbcc3db3eb459f21e834f45e4fa9e
BLAKE2b-256 380af98d460740b9d3c25ce1e0606f52a470a7d6e23081e37c6585aec504bf58

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.6-cp313-cp313-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 2ea44bd60727992e8f408eaa21a9de35fcc26fa102e7b3905c1c23ba60bd8644
MD5 88ed46a253143208e9fb30017ce80a73
BLAKE2b-256 9b8e5ba5dc63f7cd5130e32b5e8a92c9e64091cbe6d8af0c4f810a42f369c839

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.6-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2c2e9560fc592862a5426c1f0c00a4d25081ed444d818380118e3cb681547333
MD5 2bb9444f988cdb9ac58b26dbaf5b350d
BLAKE2b-256 a2a21ccb42ea8c9cc08c505c6aebc0b16d02bd3b8c924b1b4f0b3969bda2f9c7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.6-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 49b49b80d5e7b0a1bb6348c3eefba044929e93b05a4d736180c6599a4260e71e
MD5 830945d7e12050a250ba2c7d9253bd91
BLAKE2b-256 e5ed75ba5653beeb135a902f9613a56032ef0642df396b16573ce07f23639306

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.6-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b17b3ffa8e5fd282e20a8de9735d3fcd938bb6b07219a69ee0e35dd93bfe66bf
MD5 ef11c72e835ec36e8d2ef529d8c369fd
BLAKE2b-256 908e693676d3668ea9f4e934f060a6df2546eff1afd9d0945684d2818062481c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.6-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 98fe77ae69598e1a232883fbe98241a77277559b18fb2738073ba8d4f011a13c
MD5 f9930dcdb36cd16d9e7f79126dc64682
BLAKE2b-256 84f0fa90abd097dca611b56b4317f2f08047b60670d2b37f733b27bb4a6bdfa7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.6-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0ca69d3295f201b9ca99fdf257a57b8d364b1088dec6afda90694f3013ca6a30
MD5 d1e5c243b50f1d0dcc26459e7231d7f9
BLAKE2b-256 fd2a0fa8f77d994ec9b441ca54642330ad087c0381330b0c39b54180c1666bcf

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.6-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 599267f0063f4ab8dc2b906c91991b86df7c70ef719e800b11e38d8c1753f03f
MD5 a90224ee5768fedb6fab0dc29705ce38
BLAKE2b-256 d3fa5ce460a78d8a2ffae3e27e5a6e28ccfbed1948ea68c84fe49e7043ebe376

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.6-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0944996547b81359cedf3580102ed2c7d0f597aa6e346c3a41ab64d0d00cf5be
MD5 92e72afbb53444ba8a5f7f5e305b1e59
BLAKE2b-256 b11c5e47374ec6039acfc25636424f24156b0577f4a3892bfdf295f301b01da5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.6-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 17d3c00e24484198497116b6f4265092c71056de2ab826a4111616c88b77e347
MD5 aa44d2dd34228bfcd9a611ea63a6bce5
BLAKE2b-256 7786bf03d54983fafa0ba899449fd172436fc322b932542a36586ac93cb3ed0a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e97f8a7b56f23e1156343b990545b8045d860b8b22cc33c282f981a6bbcf42a6
MD5 c0169225283cbed57c4b572a3b144853
BLAKE2b-256 d3be569681ef0c47704c337abffbe5afb50030d1929fbbdd56cc5d700b792a61

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.6-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 67936840846182825bd0a535679e37ba4630cd856857d3a4133840e29ab0db0c
MD5 2071ef53cd8f6a541986938d1dcec9cd
BLAKE2b-256 06d36f8cdf45481e24368ef1f1cbad289777c6fec570d30eecca948b41daa2a4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.6-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f7a0a6392ba64c04e51ea460956193c2aca237b677019668e141aaa7db4772fc
MD5 a87b87eb446f93f03edd8c9dfee3ef6a
BLAKE2b-256 01d8fac5aac41b0f262bcef91020e0e53cf0db1a6f36c400eb2b74044032c5d8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.6-cp310-cp310-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 fda230896f888c97e4ba00151d888c548b9e8b47bc87478b9a8569c0563f8efd
MD5 4b95093eb328d5a46c87848723b4c732
BLAKE2b-256 f93771c3743e66c61983e30ca1364a5f817fc6c679ef3d72520fe79c489527c3

See more details on using hashes here.

Provenance

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