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

Uploaded CPython 3.14macOS 11.0+ ARM64

dustr-0.1.8-cp314-cp314-macosx_10_12_x86_64.whl (485.6 kB view details)

Uploaded CPython 3.14macOS 10.12+ x86-64

dustr-0.1.8-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (530.9 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

dustr-0.1.8-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.8-cp313-cp313-macosx_11_0_arm64.whl (467.5 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

dustr-0.1.8-cp313-cp313-macosx_10_12_x86_64.whl (486.3 kB view details)

Uploaded CPython 3.13macOS 10.12+ x86-64

dustr-0.1.8-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.8-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (513.8 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ ARM64

dustr-0.1.8-cp312-cp312-macosx_11_0_arm64.whl (467.7 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

dustr-0.1.8-cp312-cp312-macosx_10_12_x86_64.whl (486.5 kB view details)

Uploaded CPython 3.12macOS 10.12+ x86-64

dustr-0.1.8-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.8-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.8-cp311-cp311-macosx_11_0_arm64.whl (469.6 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

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

Uploaded CPython 3.11macOS 10.12+ x86-64

dustr-0.1.8-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.8-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.8-cp310-cp310-macosx_11_0_arm64.whl (469.5 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

dustr-0.1.8-cp310-cp310-macosx_10_12_x86_64.whl (488.5 kB view details)

Uploaded CPython 3.10macOS 10.12+ x86-64

File details

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

File metadata

File hashes

Hashes for dustr-0.1.8-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 cea7afe7fab0b61d64df0455a7daa65f1c8adf112ba74ee43cfe70e5fc62e428
MD5 964a0d554a85b5d63bb00eae1956bd99
BLAKE2b-256 6a53a1320e80b7f736b77d8efc4d459092f76b158236b8dace1c22bcd5a507d2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.8-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 dd56f79909e57b3720c5b65bec3c4aab8b526a426096cc8a59c93e77c5bcc90f
MD5 4e17c2d8c45c85918e1bf2899a9558d0
BLAKE2b-256 938b53bbddeda51bb8c7c340e684c3de60aea6fade9ca0ab6834511844241ff2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.8-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f59bec04b63947e1b2e78610084c91ecb9b3654367b85a644b85db6701f87205
MD5 63c35d8d56f8430a16a4da4f85d72939
BLAKE2b-256 583bcf694add7aa9cf1bb6255c2151a9a1df5d7833ab606c095e6de84ee61fc8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.8-cp314-cp314-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 115d17a26215b25c4b8597337ff6751dc48b41e5ecbf95dab50a7aff75c3fd85
MD5 35758f8991e2f72eb58e5a623fbfc40e
BLAKE2b-256 8dc4a1b9554e6d2c8478a736897021ff575c66b430941d61436dc411dc9f45ae

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.8-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 48fb6402f6ea3202e5ebad24db7c532153b6df794ee10ca5c54f4e1c57a44371
MD5 46cb3acdb27f8f00012a7933b423613f
BLAKE2b-256 d2141f3c3c38642417a1a234e78486e297e6b7c73f4fb8613c42833fd37a76ad

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.8-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 015c328fcb5a3b4fd840b819849a3aaea14ee717a5e6c946a70781d163fe5000
MD5 1644e86cb111287995ffd59cce77e427
BLAKE2b-256 e45c5ac4fd8c21284c4da923e5bd62fa83015bb5143ac03bdc289863b866da06

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.8-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 fe636921a0fc7c4141b70cf65fce41580f7118b0c3bceaceccc97a0f1c0b5f29
MD5 734ca82bfe0080b69bc9fe0ce0267071
BLAKE2b-256 3592458fc345556321abd0ab2c929cdd42b08658eca0e21ef53112c148df06a2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.8-cp313-cp313-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 b1893f1a484b14d6d94632c7d052a441628bc8aab36a5a73e1010bdd15ed70a6
MD5 6ce4cd47a342b744f6e14fdfecaf44b4
BLAKE2b-256 2a9e4749b5b76d5eaf52490c0165ba425e373ad73466ac3e228d0477fb346783

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.8-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 bfea2ed2b91b842c1146ce324bbcfc27f39043c847bb53fe31e53cae5761b1ea
MD5 f1abd1d0e29a4815adad57da2c854490
BLAKE2b-256 dbd93623279c2fb1ff8de830d86b263c0a28d939ee946ce8c5adc115870cac21

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.8-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 d24f54a0858199b2d3df2154a4de3a04c0fcb7205c3d24092f3f5b3b3b52f029
MD5 47ec22d54121e8f1e8d3611e0eca6f99
BLAKE2b-256 468ca71fec7b43ac470244f6dff21496ae217a2ad0ebb987a55e642952927fd0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.8-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ec7109718738760f3cae07e43da7b0900a35bcd3d95c7b7b4fa36e24cf2a47da
MD5 added2bf00a40db92957c188c2d89c07
BLAKE2b-256 fe961b35a900d0fc5b1f9357ebd8e02ec0b2d60fade4f54d2d4caaf1fdc42c76

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.8-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 a0fbce99632638b088e632f7c659ef83f394d3d3a74c9b1f7de0ca75af6f3f03
MD5 8d10def37ff427972167129bc2ae547a
BLAKE2b-256 e5936bd36e140e4aafa41087c5f2e677750641b2b0d372d8521e50f0e67f9373

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.8-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 597871f036bcdc6df3e7096807f2e618cf95ec1da205245b764a4b59fe19a9e7
MD5 74babb43dbc7556a04a4feaa2faa70b7
BLAKE2b-256 4799899d9c6c8803ed42eabddfc50bdf22e67a2de713dd378879034d0ad06dac

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.8-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 9f390c9aba2bbf9e833180f4904a4c0ed1871297e501732b872b4c85f14a75d0
MD5 8c10a2b2036d88db647f0200ef95d8e0
BLAKE2b-256 38a94c91926723adefac46dad328d7133c17d23117c34e67489d0e09c3d5472b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.8-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c8724b5f138ae5338a69ec10986e1c1785154c641368a889e61b9e7c4e43366b
MD5 6e16d4856fc0e3374f10cc34e7bc82b9
BLAKE2b-256 83dca041818b7ec8c765c7c7ab87bdd9a968916441f1562de98a65242b4ff66c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.8-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 d45301e97f5fa483a2581003bcc907375691d837e7fa626f5eadbd0a8feada48
MD5 4e88e1363a00814d95094cc65186bcda
BLAKE2b-256 a4525bc68c5bfb3451c0005c9fcae88bde55bd7709604a67b5cf25dbcb616181

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.8-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2e447b75ea8d848e4f7b272c0a07cdebe18929bc6d47a7a8fda2e40345fff058
MD5 3b9915e609b0cbad3e3fe2455f4474a2
BLAKE2b-256 a3c1dfe676013d95351f6ba807b8cb3d9d0e02d718e7e008c45aea1d20489f8f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.8-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 44c61c697797e691cc87c8db1d5e19c38af83ab6373657ef77cbae05f6429f9a
MD5 cb74adb3ae46fe795ce2fd90469d132b
BLAKE2b-256 7263492f61e97e410487c97515672021008b46c6605afe0ed9ec07e1d3a879fe

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.8-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 83b79a30cb6f4402a3af3e5b2ff15f200d0655407865b87b3a6d8bd1ce598706
MD5 36b8944b9fc98f6f52d7419434a70a57
BLAKE2b-256 ba26f43164c190c3faf63ad73a9b5d674ff4aad749f9e7ecf0cd34026522adc3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.8-cp310-cp310-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 3871f6d91e9c47864621727874620f20faf938f7b2a58361c5640ec27b2eb1ba
MD5 07922e4828cbc694fcde606f123eaed0
BLAKE2b-256 e09c30c1d88443a8bfddcaa3edfcdca558aaba7dcdb298152a9fd98bf7200655

See more details on using hashes here.

Provenance

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