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

Size           In %   Histogram            Name
4.0 KB         1.39  #                    .gitignore
4.0 KB         1.39  #                    setup.py
4.0 KB         1.39  #                    README.md
12.0 KB        4.17  ##                   dist/
12.0 KB        4.17  ##                   dustr/
12.0 KB        4.17  ##                   build/
16.0 KB        5.56  ##                   duk.egg-info/
220.0 KB       76.39 ####################  .git/

Total directory size: 284.0 KB

Installation

From PyPI

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 [OPTIONS] [DIRECTORY]

Options:

  • -i, --inodes: Show inode count instead of size
  • -g, --nogrouping: Don't use thousand separators (for inode mode)
  • -f, --noF: Don't add file type indicators (/ for directories, @ for symlinks)
  • -j, --json: Output results as JSON

JSON output

dustr --json .
{
  "directory": ".",
  "mode": "size",
  "entries": [
    { "name": ".gitignore", "value": 4, "percentage": 1.41 },
    { "name": ".git/", "value": 220, "percentage": 77.46 }
  ],
  "total": 284
}

Differences from duk

  • Performance: Rust backend with parallel directory traversal (jwalk + rayon)
  • 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.11-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (668.1 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ x86-64

dustr-0.1.11-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (654.0 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ ARM64

dustr-0.1.11-cp314-cp314-macosx_11_0_arm64.whl (592.6 kB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

dustr-0.1.11-cp314-cp314-macosx_10_12_x86_64.whl (612.6 kB view details)

Uploaded CPython 3.14macOS 10.12+ x86-64

dustr-0.1.11-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (668.3 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

dustr-0.1.11-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (654.2 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ ARM64

dustr-0.1.11-cp313-cp313-macosx_11_0_arm64.whl (594.3 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

dustr-0.1.11-cp313-cp313-macosx_10_12_x86_64.whl (612.5 kB view details)

Uploaded CPython 3.13macOS 10.12+ x86-64

dustr-0.1.11-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (668.5 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

dustr-0.1.11-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (654.1 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ ARM64

dustr-0.1.11-cp312-cp312-macosx_11_0_arm64.whl (594.7 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

dustr-0.1.11-cp312-cp312-macosx_10_12_x86_64.whl (612.9 kB view details)

Uploaded CPython 3.12macOS 10.12+ x86-64

dustr-0.1.11-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (671.6 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

dustr-0.1.11-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (657.3 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64

dustr-0.1.11-cp311-cp311-macosx_11_0_arm64.whl (596.9 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

dustr-0.1.11-cp311-cp311-macosx_10_12_x86_64.whl (614.0 kB view details)

Uploaded CPython 3.11macOS 10.12+ x86-64

dustr-0.1.11-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (671.6 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

dustr-0.1.11-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (657.0 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ ARM64

dustr-0.1.11-cp310-cp310-macosx_11_0_arm64.whl (597.2 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

dustr-0.1.11-cp310-cp310-macosx_10_12_x86_64.whl (614.2 kB view details)

Uploaded CPython 3.10macOS 10.12+ x86-64

File details

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

File metadata

File hashes

Hashes for dustr-0.1.11-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 fb62d93a44f9388d25995476e69c428f02dbcb823bd0d661c22101ccedb6d4f1
MD5 31933cee3ef8a2aaa3b65554c57b7a61
BLAKE2b-256 0e16e82851bde54b78a9197dfd79f8836d41cb5bcfa82541a70dbf75d4f3a75b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.11-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 b1be0631e22897395f8d4c12ead23ebe0730e5e440654afb5154803095d47b36
MD5 532ddbc238bef1a422a43929993447c5
BLAKE2b-256 b2d766c62de1d47272cc15b8df6489aa0a7c1e084efb7c1e3113ff3ba35630cd

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.11-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4745bcc9b9e0462646ceb2f635851203f40caaecfee30604351dcf771de9029d
MD5 a8cfa624f497fe791bf8aba99c354f18
BLAKE2b-256 9e6682e7bdc187568eafaf773b52d7ff0386b9f22d1992ae45a06ebe9585a658

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.11-cp314-cp314-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 8ebe480700da18d0e2945d6660fc661641f92ab4f89f0d336b499f01e851906b
MD5 e8a87e8112fc8efd70f99fe9ac253a3c
BLAKE2b-256 dfd049c45952968d184074400c1c2b9ecd043ac04f551fdb48b0a9dacebdafe4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.11-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c4ac55dd967466be2f45a6a45794f1850f8b7d632a8df276bcced4d49b27741c
MD5 529c398c00b17770b04c356716f03bd1
BLAKE2b-256 4337fc11eb494fc01b2e9e3633db7585e01325b5ed19ebbcf64c64a166509c71

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.11-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 c24af46da2dda05a9b73e00ca4a238c99cb515928bcc86d3830a813abb8c5f93
MD5 f86dac0708fd5feefd2d7ae38ab5ee7e
BLAKE2b-256 3a8b69519f8813d3b458a5a669f1b42c27f8fadf4c5461db334a767cf4ed3417

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.11-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c85cf1255dec20cb04c62e1a32acb58cfccb69769be533d20148745b04be5d7c
MD5 fd1edddc4fc95b93018ccfd629e7d140
BLAKE2b-256 60b565db093e6d26fa742239391cbc9a3d2c7fd455338412d560660c7de77f14

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.11-cp313-cp313-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 123c4d4ae134ab1f44caaf4714b87c2b0c39005788283eecd78e8b36faa79c23
MD5 30d7135f7d824eb6f2ecf9b1b4857081
BLAKE2b-256 109df8e9f81830c8049c05dd737e69a90fcf4c28544860652ff4209caeecf589

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.11-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2ddbde02b8fb398e6f1d28bb8efc4fbe611fc928e33267951ab1f350fcf9796c
MD5 d76bcf873b8b82861c09efd51e29b0cd
BLAKE2b-256 bcf00550f28cce1c95c88b997ddf1a79cf1db3a846abc14456dfc85843a7ceea

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.11-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 8f2f74620eee0142aac60bbb0c0708bde7ccb8b48fae34d3689809211b10f2fc
MD5 c91a7334f02c659b06fedb7a9a720930
BLAKE2b-256 086fd4a6eb3bb65ef11d0a04212609ac07f1d4f3d1351b1e2bbab0a0536c3b11

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.11-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3766fd8c3cf7186f0c5704469b371931073b37f7cad9fddd8c42d06c1c200372
MD5 28c65cbd7fc414589fad8c9ddce9e803
BLAKE2b-256 e7d6578b70da99d2c6927aca805a1623e4f43bb527e558eeda1d706c16e4abe7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.11-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 6a2a7808e96c0b11572f49f46dec8406b9a35b027e634136f15932a4ddda48f9
MD5 a0e750bb3bb294e961fffa6a8df0e1f7
BLAKE2b-256 2a514bcb12238ef0bda1cf3883578d323cd40b824cb15ba8affdb4f8e05f2ebf

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.11-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c718e5f4d2564e67d3e2951cf73bceb5461436bbbad75b3a50f5d548d1c1cefd
MD5 b2f682c4eef373582ae45c4b7a421a08
BLAKE2b-256 1d0421b0e4ee2173e5e197d8b11125ed3abdb19160a86f51d7b99b65210b8c09

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.11-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 2e6b7a58dde4cdff45c9f0519d72f278696e8e5b3b7b78df1efe9c65bb1ade4f
MD5 bdefdb19ce2d7bc539f2e5cc7bcc844b
BLAKE2b-256 b1f4a1acc7d7e41b96d482c6fcf7b1deb7b80d48edaf4a19861643a65915d9d3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.11-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3fcb5779bdc905cd6730898cb4b427952555a2e4f24ba2dbfd3fe4e59bfc01e1
MD5 9c7ea18b01d723d5db011eab09b1cc2b
BLAKE2b-256 9902534614cf953cf55a6c99dfa81b8b6e085ca228a95e45a20327440a4067bc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.11-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 2f378dce6e754efebb7c5f5bd5f06e3abecca50819bb81397835e7e3e517f181
MD5 37aec94e52510453ea5a06e95e76564a
BLAKE2b-256 03dd72669a38e1f5bd87ce748f56f014efb26be9823b511d5d56769a94b9f240

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.11-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f5b2f707fb8717a8f0637186d7212bdb348cd7ad42269529bd1e45345d644fab
MD5 f05a0f4b77fbd38c2cce7f4b5c9064dc
BLAKE2b-256 4635734bec94edfcc0c7bcfd0d08f75d1a853f5945213a8137d19471418264dd

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.11-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 68ddf80bf7be240c1d46d470a053a077ae5c35e505ab2a9d9dd1e76f3198a677
MD5 c1fc6116bf700bf199b8a9f7e074d694
BLAKE2b-256 843597da8bc1fb1d783393182f180bc77e69dd71b6d906abcb5118f38325f259

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.11-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0b89fdbd15f81ec3a01e5d9d48c806936b47d6fd3e2f952cc27e95dc8a0eaf41
MD5 700d6d5179e66d8f13b5cf3178675cdc
BLAKE2b-256 1b653062ae7a804200d5eed86d8d013b4f9be3745f4883c4dff2fa6f67ac6b32

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.11-cp310-cp310-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 7178edd9e91cc25169d9e6ea5aab13aeffd3e36ceb95ef8a813e163d7d21fd10
MD5 1b549b68e77e48d6a1ed44aaea63247f
BLAKE2b-256 01f3e4be6526bcf053a390e18d57bf31c335e04b3ca1fc947f3f6cbece54bbe5

See more details on using hashes here.

Provenance

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