Skip to main content

Recursive directory analyzer with stats, top files and duplicate detection

Project description

Directory Analyzer

Directory Analyzer is a simple Python tool that scans a directory recursively and generates a structured report.

Features

  • Count total number of files and folders.
  • Group files by extension and calculate total size per extension.
  • Find top 10 largest files in the directory tree.
  • Detect duplicate files by comparing file content (hash).
  • Handle file access errors safely (permission denied, missing files).
  • Print report to console or save it to a file.

Command line arguments

  • path (required): path to the target directory.
  • --output (optional): path to a file where the report will be saved.

Requirements

  • Python 3.8 or newer.
  • Standard library only (os, hashlib, collections, argparse, etc.).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

directory_analyzer-0.1.0.tar.gz (2.5 kB view details)

Uploaded Source

File details

Details for the file directory_analyzer-0.1.0.tar.gz.

File metadata

  • Download URL: directory_analyzer-0.1.0.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for directory_analyzer-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c3fea95d221c26157e5982c8ffadb61de2e2fef5c11c66abcc4c79503a36e2b3
MD5 ec0998a962d2941bbd1ef58e284fe01e
BLAKE2b-256 68d77342e7e5fc0af289cd9c6d1079015829bfa7b89cabb674fabebb1f36d499

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