Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

PyDirStat

A single-file no-dependency Python program (also usable as a library module) to efficiently gather directory statistics.

Installation

Install from the Python Package Index:

pip install dirstat

Install from source repository (example on Linux):

sudo wget https://gitlab.com/ipamo/dirstat/-/raw/main/dirstat.py -O /opt/dirstat.py
sudo chmod +x /opt/dirstat.py
sudo ln -s /opt/dirstat.py /usr/local/bin/dirstat

Usage

Run as an application:

dirstat MYDIR

Use as a library:

from dirstat import DirStatOperation

with DirStatOperation(MYDIR) as op:
    op.run()

Run the following command to display available options:

dirstat --help

Contributing

Pull requests are welcome.

See contributing guidelines and roadmap.

Legal and credits

This project is licensed under the terms of the MIT license.

It is inspired from the following projects:

Metadata

Release files for dirstat 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for dirstat 0.1.2
File Interpreter ABI Platform Actions
dirstat-0.1.2-py3-none-any.whl Python 3 none any Details for dirstat-0.1.2-py3-none-any.whl

Release files / dirstat-0.1.2-py3-none-any.whl

Download URL dirstat-0.1.2-py3-none-any.whl
Size 12.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b10d22b958a2a71a689fc42b41fd0a769b60c9db1c1401a0dbde794303cd7f72
BLAKE2b-256 checksum
How to use checksums
aadf99aa1e7f67f1664bf04605445e8629b423c04c73bcfb93bd740aef968898
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.2

Security for dirstat 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page