Skip to main content

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

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

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:

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 Distribution

If you're not sure about the file name format, learn more about wheel file names.

dirstat-0.1.2-py3-none-any.whl (12.0 kB view details)

Uploaded Python 3

File details

Details for the file dirstat-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: dirstat-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 12.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.2

File hashes

Hashes for dirstat-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b10d22b958a2a71a689fc42b41fd0a769b60c9db1c1401a0dbde794303cd7f72
MD5 7332d9859d5d147aade52fe541b7662c
BLAKE2b-256 aadf99aa1e7f67f1664bf04605445e8629b423c04c73bcfb93bd740aef968898

See more details on using hashes here.

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