Skip to main content

CLI tool that tracks file and folders structure of a project

Project description

🗺️ directorymap

Project directory structure tracker CLI
Lightweight. Deterministic. Automation-friendly.

directorymap scans your project, respects ignore rules, and generates a clean, reproducible snapshot of your filesystem structure.

It helps you see and track how your folders evolve over time.


✨ Features

  • Track folder structure changes
  • Ignore junk files automatically
  • Generate clean tree snapshots
  • Diff previous structure
  • File/folder statistics
  • Structural hashing
  • Watch mode (auto update)
  • CI/CD friendly

📦 Install

pip install directorymap

🚀 Quick start

directorymap init
directorymap build
directorymap diff
directorymap stats
directorymap watch

🧰 Commands

Command Description
init create .directorymap/config and first snapshot
build generate structure.ini
diff show changes vs previous snapshot
stats file/folder/size statistics
hash structural fingerprint
watch auto-update on changes

📂 Example output

project/
├─ src/
│  ├─ main.py
│  └─ utils.py
├─ tests/
└─ README.md

⚙️ Configuration

Path:

.directorymap/config

Example:

node_modules
.git
__pycache__
.DS_Store
*.log
*.tmp
dist

📊 Stats example

files: 124

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

directorymap-0.2.1.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

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

directorymap-0.2.1-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file directorymap-0.2.1.tar.gz.

File metadata

  • Download URL: directorymap-0.2.1.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.19

File hashes

Hashes for directorymap-0.2.1.tar.gz
Algorithm Hash digest
SHA256 8ecb4d989ea7ef8f7d18b534449133a17b7ddf5f9cf2188bf5b261cf1e591f44
MD5 f1d5c572b2dc396d25d1d84a9e0b3fa4
BLAKE2b-256 a5469197f7bfe96321c584e43bb2cb755955113bc50833a60914b566a4511d79

See more details on using hashes here.

File details

Details for the file directorymap-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: directorymap-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.19

File hashes

Hashes for directorymap-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b27f87752b5d5b52825c07f232973d46ca4d494fe534769b1afa467d1d3e02a9
MD5 902ff5516237b91fb4ba546f56933c00
BLAKE2b-256 e998eb47512025dc274537f616a2d01c7514d788dd9321784a9284c26924c7b1

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