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.0-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.0-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.0-cp314-cp314-macosx_11_0_arm64.whl (234.3 kB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

dustr-0.1.0-cp314-cp314-macosx_10_12_x86_64.whl (240.1 kB view details)

Uploaded CPython 3.14macOS 10.12+ x86-64

dustr-0.1.0-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.0-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.0-cp313-cp313-macosx_11_0_arm64.whl (234.6 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

dustr-0.1.0-cp313-cp313-macosx_10_12_x86_64.whl (240.6 kB view details)

Uploaded CPython 3.13macOS 10.12+ x86-64

dustr-0.1.0-cp312-cp312-manylinux_2_34_x86_64.whl (272.6 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.34+ x86-64

dustr-0.1.0-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.0-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.0-cp312-cp312-macosx_11_0_arm64.whl (234.9 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

dustr-0.1.0-cp312-cp312-macosx_10_12_x86_64.whl (240.8 kB view details)

Uploaded CPython 3.12macOS 10.12+ x86-64

dustr-0.1.0-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.0-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.0-cp311-cp311-macosx_11_0_arm64.whl (236.5 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

dustr-0.1.0-cp311-cp311-macosx_10_12_x86_64.whl (242.0 kB view details)

Uploaded CPython 3.11macOS 10.12+ x86-64

dustr-0.1.0-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.0-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.0-cp310-cp310-macosx_11_0_arm64.whl (236.5 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

dustr-0.1.0-cp310-cp310-macosx_10_12_x86_64.whl (242.1 kB view details)

Uploaded CPython 3.10macOS 10.12+ x86-64

File details

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

File metadata

File hashes

Hashes for dustr-0.1.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b60ac58287e48b8c3272858d94d5f296f07ff298a3173846743376e8d9000e60
MD5 cfc41e0fc764b60d2d07ff3fa3b1f9bc
BLAKE2b-256 67644a69ebfe4a869c06c725be9080f236dfce4b4004f34518f2ec1dcd72a7cc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.0-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 6fd79249949b26ffca61a94f16617f7f9e6e1938a2bc110d3a8182b7b6a655fb
MD5 23c6f9c93923c29e55416258b4fd0ba8
BLAKE2b-256 c47f193472e2ed5efac81fb3ac74ff303a5c9c303f9f6c26b380c00235f43920

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.0-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5ddc2f93fe5ab2294ac79e013dcf2718b6a8f538e62a940a932562c6749553d7
MD5 caad5f15bbf7cf82ab12b73680d02457
BLAKE2b-256 277fa06ae351f41a00ce71ccba46ffa54d7cbe02df94b9edac713569b45398ef

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.0-cp314-cp314-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 ba4d2392a2b88beffc496c987dcb45a6983d52b336d0ba376802bd308917ca6f
MD5 9432792ca14aea7ba41e520c47143756
BLAKE2b-256 1de3349498bb471d979248e5f0750383b9226f932d932e6b36b3309e34e2d64c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 cb0579616024ab1678280eca3e2bda68991a37767569b21ffed5da20314d8414
MD5 9cb08f6791f1a8111b642efe9d860c6d
BLAKE2b-256 91398cfb948683a6634123b4b600878e4f7b4b413a163d83810287860f3cf604

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 ad527ac876e6583858d58b51a3a8637c8a6e161acd3bcd5104e4a3ed13dc657c
MD5 ee423205b98c6f88dffbc31273ff823e
BLAKE2b-256 bd857ba850e7ac00aee7bc2a562af44abfc0e64c2bdd6f182649129cc1fb38c6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.0-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0f0a7a24505217f035066618bc4abd2228baf9b5b94c00aef57654f838d2ff68
MD5 04838903773052859444b63cd1945302
BLAKE2b-256 170e01dcd8d8cc7ea535be4b57da62b51591d51f3464d3a5b4ed16697b597621

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.0-cp313-cp313-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 c04cbaf46b33cb5107a9dfd5c0ba3682eaf10388fc34db7174343d675ae32582
MD5 9c830472e8ac09fe027306938b109905
BLAKE2b-256 3170b9dcde458bad86ff47a22eac3e8f57cb8a0a9ba99db69948b5d96f67e387

See more details on using hashes here.

Provenance

The following attestation bundles were made for dustr-0.1.0-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.0-cp312-cp312-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for dustr-0.1.0-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 7165d81bf3b2d08dc7fb61695ef8974f833fb1cd16064be1b1cc8f0611d38b4e
MD5 9fe2006f59a0e3120bfbfe0a03fe2042
BLAKE2b-256 8eefc96d6469a8967411a44a06c70145b314a0209cd8445867240798a8d03dc9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5133ca607c7a46d8b499d4ae92f4221cc12de0c50ccf9e55071dd05ebaee3295
MD5 7aa50e1decf3243a8f1bf6040dd66a24
BLAKE2b-256 bc0b3f588e3758ef84f7280c00af2bfd646653daa98d19859f6fc5aec7162676

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 38b45db2e0b7e261611f3dddacf1f75fd96eefbe3c921a5625547dd69836a167
MD5 89e3c152e0a89ac1d0ddfe5427e7d239
BLAKE2b-256 c7d7b34c329941c552f7c39aa4faf0bffbf70a2c8729b27ec280234d59b945f3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 68af15ed026a7ce120b706ca4c353a23ee41f6f6a6d2be1095779d746664f798
MD5 5ac720a64a6406bfc1b648d394b65b58
BLAKE2b-256 9d8d6cf90d07189c9a3cfd792e7f74cda7ebbd74694415582ae041703420717a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.0-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 5f4f4e8e0a876291db370c0a9b131e0b6798fbda45d2f2c1b8656935366726ef
MD5 bd1f05758255f39507b8bbdc09109574
BLAKE2b-256 4ffd9c86c842c7ab46d985704c2129165d1757b371ccdd286a1ab81595d83c38

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2d688b69f591bcb2959f9a7282c36177401a690f2c4336976dcda2e292ddef59
MD5 205ab15013a0e3500e2cd6f18b6d97d6
BLAKE2b-256 daf86daeb450b53917fca39b0bb0a6ab7e269f20a32df71a5e6dfb10cf8e3e9a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 b6340ea546ce49ebcf61f705b1cac4ce7f158350af8850e5cdbb4f3b631e8d7e
MD5 d90626ea594f2396ed362b83f0ad31a2
BLAKE2b-256 ea09b8d23d80e33925d6b7bee9de7c7fd6f52adec3805d371d9e6e2927961b2d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 31c868629273c6f438d66051068f9bb6509c432863a34fa430786f716d799a6f
MD5 005935dac4285cdcd236c0d829bcf057
BLAKE2b-256 66ae3e97db8415b064965d04d9fc041ca81ed9c3dd73f1aa1cc99cecde4fe980

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.0-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 a28ca11b49c3963c10e8ecf3b1653c90924593cae663921860322dc4702fdce8
MD5 0e62b1455ba510413b0368870fd362a9
BLAKE2b-256 03bbf84dfe05a41f4c9465e43699c55e68b7a4cd5035ee8a1a94192b75c2375e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 14d47131c16303af1e989019dffc959de39d2fa58416ffa739ede95587917f6f
MD5 aed42c0b3c690a295e6b1ac81eec8b72
BLAKE2b-256 31ab83fcb642adb0360158ae157dabf52ffe6f57acf545f0ea64b82aceac3aa6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 a8832c711546c1dbbbd4b95bb59934f76547eba59c3c695c067a112b8abafbc4
MD5 f2d7d38c744fa0c797c7ae87f61709ee
BLAKE2b-256 236f59e1ea69957c9ad71efa682516593fb4101b6009a6c31d63522ed1cd2dda

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d389ebead53b5fa56273ec95b9b6e987895cd36e460e8ea8273382f6246f30ce
MD5 35deeaf82911f73e030a2b99279853de
BLAKE2b-256 c8cc0e801b0c30f057ca7fcc197c00347dc2ef812081b6c69727d438df165d38

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.0-cp310-cp310-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 e05128a3f4200148c2c5011334868b32fda390b4978eef844c542973dde475bd
MD5 9cd9d05b528c000e90f07b81a9367aa3
BLAKE2b-256 721823878c3ff5a4473fc3234dc3c22fe295cd774e69fe41f8e21c72825dae0b

See more details on using hashes here.

Provenance

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