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

Uploaded CPython 3.14manylinux: glibc 2.17+ x86-64

dustr-0.1.9-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (512.8 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ ARM64

dustr-0.1.9-cp314-cp314-macosx_11_0_arm64.whl (467.6 kB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

dustr-0.1.9-cp314-cp314-macosx_10_12_x86_64.whl (485.8 kB view details)

Uploaded CPython 3.14macOS 10.12+ x86-64

dustr-0.1.9-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (530.8 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

dustr-0.1.9-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (513.3 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ ARM64

dustr-0.1.9-cp313-cp313-macosx_11_0_arm64.whl (467.6 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

dustr-0.1.9-cp313-cp313-macosx_10_12_x86_64.whl (486.4 kB view details)

Uploaded CPython 3.13macOS 10.12+ x86-64

dustr-0.1.9-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (530.9 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

dustr-0.1.9-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (513.7 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ ARM64

dustr-0.1.9-cp312-cp312-macosx_11_0_arm64.whl (468.0 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

dustr-0.1.9-cp312-cp312-macosx_10_12_x86_64.whl (486.6 kB view details)

Uploaded CPython 3.12macOS 10.12+ x86-64

dustr-0.1.9-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (533.4 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

dustr-0.1.9-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (515.1 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64

dustr-0.1.9-cp311-cp311-macosx_11_0_arm64.whl (469.8 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

dustr-0.1.9-cp311-cp311-macosx_10_12_x86_64.whl (488.3 kB view details)

Uploaded CPython 3.11macOS 10.12+ x86-64

dustr-0.1.9-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (533.3 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

dustr-0.1.9-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (515.0 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ ARM64

dustr-0.1.9-cp310-cp310-macosx_11_0_arm64.whl (469.7 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

dustr-0.1.9-cp310-cp310-macosx_10_12_x86_64.whl (488.6 kB view details)

Uploaded CPython 3.10macOS 10.12+ x86-64

File details

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

File metadata

File hashes

Hashes for dustr-0.1.9-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1f7f12b36e12cd3d69c538d3a7a55524196a3fd477a6982f1b33a9ffc7b34724
MD5 eb6c9fb8a3356ed1789ba595d0285187
BLAKE2b-256 9b93ad4fca93c7610c9e7e75c5b31819e2794a1b8e649d511f4b146c6b44d1c9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.9-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 6847699d8c2a5a804be664935c3e0c0ce5781557b0ffba13614ccccb9865324b
MD5 f4c9e078f92bd4ff420aa2d1a2330590
BLAKE2b-256 adcbd7558371dde49bf073301ca222daddeeeecc857a0e2e2ce524da80f2b65e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.9-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c05844b768d5dfa70014b9c0bc860d4cf507aeda8251714d411a80e82be76711
MD5 cd2c74dca636375f89b0563ddd63fd59
BLAKE2b-256 e6eb96e00babe099f5a20508aef7fce2f6763e9c29e02fae768f97b5679e3d29

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.9-cp314-cp314-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 55785e446af96eaefaa249a47d432d828bbeaea4d2b4c364be64980cb2a62184
MD5 c469048f43b397df8ce6495a8fa1131a
BLAKE2b-256 815ea1c62b06d135603d746224f3ef275fb2c8fb6e1110c7d4f33cdd8dd25f26

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.9-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 fcc33a010fb2caf6c06d7d5cf6b4eab3085cbba83cd9ac98c7196599452e769b
MD5 30cf3230851124feb99c9407ebbd5609
BLAKE2b-256 725ce4009431d2f47d0c0ce65fc6c530b57cf1a763c30ce863f0a024c23eab61

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.9-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 8858434b77a0d8a60de8ef403201f3b00a7d2ce1134c86a71cc021d11f520db5
MD5 418d4643131f88df648ba4f176477783
BLAKE2b-256 82ac6d0bf5863630c4f873475155ec48a7758893ad332f9650eccecd4894b757

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.9-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f414a6aab287f35680165c8bd5b4333196ffec5f4df51178d34dd5ecd5cacfc3
MD5 0cf5db2bfa2ae26ccfa21dedd0d3db23
BLAKE2b-256 8fb6d7a742460a7fc9fd53f7d78fc50a7a3bb30f86c49e42ac1b18d9de5f8939

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.9-cp313-cp313-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 bdc12f3d358e6c8a403e9f517edaa0c116284b66ca8d213602bea3fb0931ce82
MD5 a1eab2f12bcc06776faf40cb143be387
BLAKE2b-256 bce67e587cd0c4a2a8382c3e5965fea948b9632efd6cd940673d47defedc68f9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.9-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3726774c371b2b2dd10df24de7b3a54c2b5c2a627c642557165f84e58037501f
MD5 ce9d9764c86634300d153113e3b14b85
BLAKE2b-256 4ad69d97716d7847b4dad78726783d00cdfd87140fdf5ed19fe70eca9ae1f221

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.9-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 4cf7f5f1397d099d50bf4005720f932051a67107fddc2a2673d89ba736a164ea
MD5 cc6ee6c7a1ac319d2e942a8f687301ba
BLAKE2b-256 60ae297906ddbf8411c4f16a06203325bfe288dc9de946bb71dbf20680022f9e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.9-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 73d52460e47e067112f76b58a42ee000b3af80b851ba19944e456764d4b7cac2
MD5 2de8a947d5b7e7a1b30e06b58ac9159e
BLAKE2b-256 843b1a10f85122d9906b4ceeb785b6d33a209fd77e3142ed9817a6ca8093a90c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.9-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 1732fafe1442448d4e90e686c1f7793353aef6f8af9e625008c4ad357a7ae425
MD5 286aa6dc207260d44a78288fa5e3bb8d
BLAKE2b-256 b5e9e1e5cbd137b01e85b9a3a0d9a29c2a7b2b550e5f200761f2af95bd96527e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.9-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f19e6fbc9278c0148f085791f19bbf83583bbf2e360a44fa7c1a03ed92e9596c
MD5 f71e86aaa7cc3ce5279b426c4e723a02
BLAKE2b-256 823093c2e259a9f5cc98c9efe26518cd6f2258f9afb1a88911f1e6bf96acbc54

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.9-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 6a0c1cfb2a0e15e8e9f3852dc401598f741778b1907e51516125e7c92f339bfc
MD5 67c130b6e18a227d11ad6bf7881a4091
BLAKE2b-256 5ab137decacbcd2ddadf2038d13586a3847bc8533e4e5089297788e04908939f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.9-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0369e1e64ae22f0d24fc63ea116b5e721fda5f9378197c43b37af238840134ff
MD5 96965836706ce8c63ffc2ea010eba59c
BLAKE2b-256 20c2e39a87818532a5a25fb0815cf63a068ebe5b684c24c148965e27c781e906

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.9-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 6b058e12836067c6283eaa2ebe36db358c95d13f0f7c5fcf28c65bd8a46479d8
MD5 ad7d3c21bc4abdfc21c469f4d2a690d2
BLAKE2b-256 f75fef5512bdd3e5a8968ce108f0b2453b0c0ee0e8d4c07a4bc9f72b1f63640d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.9-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 266552a726d399f955cf52d1b1497e045706db7764b3c5d3e9644daaf9bc0762
MD5 6cc691c48a7a35bde0d17e8c504366c4
BLAKE2b-256 8a6f1f6cc14a3c328e8472b2bbafe36cec8f285b0ecff498914b6a3cf0d108b8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.9-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 afb3b62d99c77abff38caff52c17296b92e1f5a6db87cf3490af03e8d4faa02b
MD5 37b17c968dfd450bac799c3bf9bf115c
BLAKE2b-256 421f6e62f362307bc3eee4eafafe292f4c7a7c270942e6c35b2df28e4270f831

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.9-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 37dd2ee75a9f4ba1ea5728871a1767bce19fb8db5bd25198790b846926646862
MD5 747e203c9b768d25f35fc73cc5b76441
BLAKE2b-256 b93cedbaefda845c6f664dd8d533e6db7c6d6247e58117e66c6579bc365ac5a8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.9-cp310-cp310-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 1421a99f577575d17bb0ca960023e093721196565350823044e5fc7cf7079414
MD5 3202fbda3c1b580aae7c7179feb096a6
BLAKE2b-256 317607c7c92e1be781ef63aaaa9238b5a9bbd727163502089e32102dbfb3851f

See more details on using hashes here.

Provenance

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