Skip to main content

Lists contents of directories in a tree-like format with age metric indicated for each file

Project description

/’trēˌāj/

1. n. a process in which things are ranked in terms of importance or priority.
2. n. software that lists contents of directories in a tree-like format with age metric indicated for each file

treeage is typically used to shed some light on antiquated parts [1] of a codebase and identify candidates for a refactoring.

Install

treeage is written for Python 3.5+, install with pip via pip3 install treeage command.

Usage

Usage: treeage.py [OPTIONS] DIRECTORY

  Lists contents of directories in a tree-like format with age metric
  indicated for each file.

Options:
  --maxdepth LEVELS    Descend at most LEVELS (a non-negative integer) levels
                       of directories below the seed DIRECTORY

  --include GLOB       List only files whose base name matches GLOB (using
                       wildcard matching)

  --before DATE        List only files whose age is older than DATE
  --after DATE         List only files whose age is lower than DATE
  -v, --verbosity LVL  Either CRITICAL, ERROR, WARNING, INFO or DEBUG
  --version            Show the version and exit.
  -h, --help           Show this message and exit.

Examples:
  treeage --maxdepth 2 --before "01 jan 2018"../qifqif
  treeage --include "*.py" --after "3 month ago" .

Screenshot

https://github.com/Kraymer/treeage/blob/master/docs/screenshot.png

Footnotes

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

treeage-0.2.0.tar.gz (6.6 kB view details)

Uploaded Source

Built Distribution

treeage-0.2.0-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

Details for the file treeage-0.2.0.tar.gz.

File metadata

  • Download URL: treeage-0.2.0.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.1 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.6.6

File hashes

Hashes for treeage-0.2.0.tar.gz
Algorithm Hash digest
SHA256 fd5cdc171798fae25579807886229ae4d2ea7a05010379bceb14476fd802b056
MD5 bb94cb948a36bdfb0a7402a315faae7a
BLAKE2b-256 51806a4b16c213d492148902553c40ebabda2ad08ea51d9d066bac4b7d80e651

See more details on using hashes here.

File details

Details for the file treeage-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: treeage-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 7.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.1 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.6.6

File hashes

Hashes for treeage-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e8a94cc282b30014e1bef2f5f1562c10bd1f29a03af7b776dcf1e0c030a85da5
MD5 6904be83cc70cac6dfe7f431ba56625f
BLAKE2b-256 7c293c40e0593239ba52d4f64f3f501da54b15af9ddf14d42a16b68ee6c04213

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page