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

Uploaded CPython 3.14manylinux: glibc 2.17+ x86-64

dustr-0.1.7-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.7-cp314-cp314-macosx_11_0_arm64.whl (466.8 kB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

dustr-0.1.7-cp314-cp314-macosx_10_12_x86_64.whl (484.7 kB view details)

Uploaded CPython 3.14macOS 10.12+ x86-64

dustr-0.1.7-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (531.7 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

dustr-0.1.7-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (513.5 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ ARM64

dustr-0.1.7-cp313-cp313-macosx_11_0_arm64.whl (467.1 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

dustr-0.1.7-cp313-cp313-macosx_10_12_x86_64.whl (485.1 kB view details)

Uploaded CPython 3.13macOS 10.12+ x86-64

dustr-0.1.7-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (531.8 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

dustr-0.1.7-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (514.0 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ ARM64

dustr-0.1.7-cp312-cp312-macosx_11_0_arm64.whl (467.3 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

dustr-0.1.7-cp312-cp312-macosx_10_12_x86_64.whl (485.5 kB view details)

Uploaded CPython 3.12macOS 10.12+ x86-64

dustr-0.1.7-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (534.2 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

dustr-0.1.7-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (515.7 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64

dustr-0.1.7-cp311-cp311-macosx_11_0_arm64.whl (469.2 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

dustr-0.1.7-cp311-cp311-macosx_10_12_x86_64.whl (487.1 kB view details)

Uploaded CPython 3.11macOS 10.12+ x86-64

dustr-0.1.7-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (534.0 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

dustr-0.1.7-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (515.5 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ ARM64

dustr-0.1.7-cp310-cp310-macosx_11_0_arm64.whl (469.1 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

dustr-0.1.7-cp310-cp310-macosx_10_12_x86_64.whl (487.4 kB view details)

Uploaded CPython 3.10macOS 10.12+ x86-64

File details

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

File metadata

File hashes

Hashes for dustr-0.1.7-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d48327fb177b2fe10d53dced65ce994fc8925f186ec27197be5527b13b37f523
MD5 f5167d00ea90bdcc7597ecfb0885140d
BLAKE2b-256 d8a60f5f28401f5d9ec725a2a6a896b4282005b8b6b98d5343e72fa0a903cfe4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.7-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 30eeb489468fb2dcc1b42825d28c36102841bea6daaec9fd89d8fe73470d750c
MD5 4b0d99f44af34ef495c87167e6b70dec
BLAKE2b-256 1678687c99e1069d379d7bb6f2b6854e7846a8b5e015d346d4564cd420c6867f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.7-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 503669f8c7f90045087f799edae41d925037119131c010ff1ac0ff0897f58cfb
MD5 97a9297cd3d42dd9bc7d233c740d5e9e
BLAKE2b-256 8a1b3d4e30b29a9d8c4fa3f0fb178afade67d8c55cb51d8a1fdb41bb398c259b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.7-cp314-cp314-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 3bf878ba32b1618085ddf55fc3ca335578ed81d13fc6459ec4ab40b356cc3dde
MD5 5bdc2ef99aab3ef9fe5728af49bad473
BLAKE2b-256 9a8ee2358e9238d85c7546fea4a833fcaf5c175c583a657a0952c81109c7dca7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.7-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4aca2d6a3fc882c70d1a8b5d1bf35fd0748098c3b8ae56678181593b4034f2be
MD5 06863d1b04aba21935b866e132aacae8
BLAKE2b-256 3742b20708540768e27d29cbd2d891389574e9b49a40ce73892cc2696009ce3c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.7-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 1851c64756c44d3fa1a61929d1368153b3561f49d2edc543407d3e2b4fa08899
MD5 165d974d567041f259c41ef20abe9287
BLAKE2b-256 ddcc0f62f4d58c7a01534c6f2097ec75b00d182f2cd8ddd6fc62ee62372ee360

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.7-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 24f1a3243990298ab0f9164918d0acada0f2940e170af24416126dbf3d9ff5ac
MD5 32ea83ca521ddcc1c1f0dedd81f1f471
BLAKE2b-256 7b772980eefc6e2251a291fcfe68bd642f9cc2a66d1cc7e8512828b04655e98f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.7-cp313-cp313-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 86aaf0506f6bca4779a2e4c78d150e96b5014a992eff7de6e806fb2dd73fbcc9
MD5 0cb8cd4b36b1c2f54f42170e06cc9ca2
BLAKE2b-256 42808245e24359106891a04ee0dbb96863dc1e68379bc3cdaf2327f2fe742508

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.7-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 18b1ab3e8aff8efa03a60363e2c33bcad51b2c415c1ea72f95029e52eb9ed749
MD5 a470f979e56cb5885d218be2d92e5223
BLAKE2b-256 1c150518db9030c9a2f560fbc9c35c982b53c08f81c01f41d62979c2377be586

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.7-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 dee2ea87cf51f73afb7a13b651359c0bdf3b2becdd5ec0bac131f3cce7c9e2e4
MD5 79f59076140aa9ce374abbe91b5083d1
BLAKE2b-256 510f4af33e150e9eb23de92bafdda58877d36e1e071931c3309a0876b1fe7208

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.7-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7c90cd255bcf73ef09e2a2c3e3cae45bccc23186b5c31a84846e34e42abaaa91
MD5 22c48793db877fe871d41d5fa687217f
BLAKE2b-256 3a53772529e2842e5670c11bad12f5990d19bbc0dd646e3dfd888966bc4409b3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.7-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 00bc3cb32cf2241bb5bc42b405ddd88c6f4338faef01d0e803d75b9a587c4fca
MD5 ffe6069038bdf64c2000ecbd014dd97b
BLAKE2b-256 7a09798e181eef8f93a9280193c0df1d8559c7f26061371dbe2900d1a97ba3f3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.7-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0e5c8bad22236b87400f7db4fe4c2bd54bd6fb4f0bc30f5cca5da8903cade77c
MD5 38ee05dc64844f5f8b6d2df14a8a4034
BLAKE2b-256 e72f069841434e3e21dc7b84201ed0a9f52a5554e36accb35c3dbefce24f3711

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.7-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 6ddda07b30bd1d0a315693e5ea470ff7cac07f421782bc85bacc948b6f753bf3
MD5 a8221014cd3127cae348c21d7e821994
BLAKE2b-256 e845714887e902dc4c5ef1d698823cc4366e76fb7ed3c2b35c3e63b212704a72

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.7-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b8271d9b3061ccf13d8420d17c4eb3d3f15c665d17c212536e28c2251ab6f6e3
MD5 79c265a0e8297b2e709ac107e51e6838
BLAKE2b-256 d4a64644a50f21733537c98325cb53d5f01cbab53ec5fd880c9b241eff415fe8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.7-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 6e4ed76eabc6adb0ad5300af7f7a431e1159c9a72ca0ac5ab5a7b6702304fdb8
MD5 4a17ae624a331a702fa81a890a99eea4
BLAKE2b-256 f7c660f95612fdcc01660674175924f11b20469df7cf1e07057f60d73513142a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.7-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d2ebf659a64eec7d825deb41584aaf43686f82be895bc552630dcf93f8045cb9
MD5 6f631eaaa44b23fdea495589f3aadc7c
BLAKE2b-256 d69bd24db429f7326488a7600f1ba29973d105ca3f5900ecd48ccf87994bdf70

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.7-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 58f07f941e6808afddeb87486360d5d976baa8eaaa007bfb7a26181baeec924c
MD5 5c6b786fe54f7cec94fc67ae5bf75b3f
BLAKE2b-256 ec79a54e37b924b9f44362cf68dc131b472192adaa789776c5335072dc51a248

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.7-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 019145371e3791340768644f906c9f6f8c4b50886ece9e04e72ea7d77b04fe0e
MD5 baacb11acabba5fd896657b1a33638d8
BLAKE2b-256 f3cdace5b711c2dac477ead48d628561d5587acdcac0e60c6033c7863820d0ea

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for dustr-0.1.7-cp310-cp310-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 44e981eb577677bcc0d495a6fe9e205f935e9cc8f87318887bc569deb9606a87
MD5 8a169fe9b7c4bc269ab21b42265bf346
BLAKE2b-256 9aa37cf393e2451b48946cc7dcb8db38767284fb7965560d4452e5b3c8dc3a4d

See more details on using hashes here.

Provenance

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